Nested Virtualization: paged real mode
PATCH 5/18 Nested Virtualization: paged real mode
Signed-off-by Christoph Egger <[email protected]>
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
# HG changeset patch
# User cegger
# Date 1271330295 -7200
Allow nested guest to switch into paged realmode.
This is needed to make hvmloader work when we do nested virtualization with xen in xen.
xen/arch/x86/hvm/hvm.c +0 -3
@@ -1073,9 +1073,6 @@ int hvm_set_cr0(unsigned long value)/* ET is reserved and should be always be 1. */ value |=X86_CR0_ET ; -if ( (value & (X86_CR0_PE |X86_CR0_PG )) ==X86_CR0_PG ) - goto gpf; -if ( (value &X86_CR0_PG ) && !(old_value &X86_CR0_PG ) ) {if ( v->arch.hvm_vcpu.guest_efer &EFER_LME )
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel