K.C. Lee
2010-Oct-07 09:42 UTC
[Xen-devel] fewer CPUID instructions is monitored/emulated in xen 4.0.1 than in xen 3.1.0?
Hi, In the function vmx_do_cpuid() of xen 4.0.1, it calls vmx_cpuid_intercept() which deal with the case where eax is 0x80000001 only, much less than the cases in vmx_do_cpuid() of xen 3.1.0. Does that mean fewer instructions is monitored in xen 4.0.1? Why? Thank you. Sincerely, K.C. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Oct-07 12:40 UTC
Re: [Xen-devel] fewer CPUID instructions is monitored/emulated in xen 4.0.1 than in xen 3.1.0?
Guest CPUID information gets pushed into the hypervisor from the toolstack now. See tools/libxc/xc_cpuid_x86.c. -- Keir On 07/10/2010 10:42, "K.C. Lee" <kcl.joseph@gmail.com> wrote:> Hi, > > In the function vmx_do_cpuid() of xen 4.0.1, it calls vmx_cpuid_intercept() > which > deal with the case where eax is 0x80000001 only, > much less than the cases in vmx_do_cpuid() of xen 3.1.0. > > Does that mean fewer instructions is monitored in xen 4.0.1? Why? > > Thank you. > > Sincerely, > > K.C. > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel