[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 3/9] x86/pvh: Properly initialize PVH guest's CR3
.. based on whether the guest is 32- or 64-bit Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> CC: Keir Fraser <keir@xxxxxxx> CC: Jan Beulich <jbeulich@xxxxxxxx> CC: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/arch/x86/domain.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index c7ef1e6..ba28f38 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -828,7 +828,7 @@ int arch_set_info_guest( cr3_page = get_page_from_gfn(d, cr3_gfn, NULL, P2M_ALLOC); v->arch.cr3 = page_to_maddr(cr3_page); - v->arch.hvm_vcpu.guest_cr[3] = c.nat->ctrlreg[3]; + v->arch.hvm_vcpu.guest_cr[3] = c(ctrlreg[3]); v->arch.guest_table = pagetable_from_page(cr3_page); ASSERT(paging_mode_enabled(d)); -- 1.7.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |