WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] vmx: fix getvcpucontext about segment registers

To: Kouya Shimura <kouya@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] vmx: fix getvcpucontext about segment registers in real mode
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 11 Nov 2008 08:29:59 +0000
Cc:
Delivery-date: Tue, 11 Nov 2008 00:30:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7kbpwmemor.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclD168C7XNOqK/KEd2QTgAWy6hiGQ==
Thread-topic: [Xen-devel] [PATCH] vmx: fix getvcpucontext about segment registers in real mode
User-agent: Microsoft-Entourage/11.4.0.080122
On 11/11/08 07:39, "Kouya Shimura" <kouya@xxxxxxxxxxxxxx> wrote:

> In VMX real mode, the return value of segment register from
> getvcpucontext is corrupt.
> 
> Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
> Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

This isn't unique to VMX realmode. The code you added is actually
HVM-generic and belongs directly in arch_get_info_guest() for all SVM and
VMX execution modes.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>