Kouya Shimura
2008-Nov-11 07:39 UTC
[Xen-devel] [PATCH] vmx: fix getvcpucontext about segment registers in real mode
In VMX real mode, the return value of segment register from getvcpucontext is corrupt. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com> Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Nov-11 08:29 UTC
Re: [Xen-devel] [PATCH] vmx: fix getvcpucontext about segment registers in real mode
On 11/11/08 07:39, "Kouya Shimura" <kouya@jp.fujitsu.com> wrote:> In VMX real mode, the return value of segment register from > getvcpucontext is corrupt. > > Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com> > Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>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@lists.xensource.com http://lists.xensource.com/xen-devel
Kouya Shimura
2008-Nov-11 09:30 UTC
Re: [Xen-devel] [PATCH] vmx: fix getvcpucontext about segment registers in real mode
Keir Fraser writes:> On 11/11/08 07:39, "Kouya Shimura" <kouya@jp.fujitsu.com> wrote: > > > In VMX real mode, the return value of segment register from > > getvcpucontext is corrupt. > > > 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 >Okay. Revised patch attached. Actually I''m not familiar with SVM. Thanks, Kouya x86: fix getvcpucontext about segment registers in real mode Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com> Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel