|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] vmcs GUEST_CR0 unused?
On 1/2/07 21:49, "Robert Phillips" <rsp.vi.xen@xxxxxxxxx> wrote:
The same argument applies to hvm_vmx.cup_cr4 and GUEST_CR4.
Am I missing something?
Yes. GUEST_CR0 and GUEST_CR4 are the actual control-register values loaded into the processor when running in VMX context. This can be different from either the value the guest thinks it’s running with, and also different from the value loaded into the processor when running in root context (i.e., in Xen). They are cached in software structures because it can save a vmread in some situations, which is worth around 50 cycles even on Core 2.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|