[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] p2m: hap enabled/supported fix
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1205852623 0 # Node ID 64b19db801b6ab63588e8fc767aa9c57bfc5a4aa # Parent c978ecfc4f41a1dced268ff31f377156d392aaf2 p2m: hap enabled/supported fix Check for per domain hap_enabled rather than hvm_funcs hap_supported, in case hap has been disabled. Alleviates problem booting >=4Gig shadow HVM guests on PAE hypervisor on AMD-V platforms. Signed-off-by: Tom Woller <thomas.woller@xxxxxxx> --- xen/arch/x86/mm/p2m.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r c978ecfc4f41 -r 64b19db801b6 xen/arch/x86/mm/p2m.c --- a/xen/arch/x86/mm/p2m.c Tue Mar 18 15:00:33 2008 +0000 +++ b/xen/arch/x86/mm/p2m.c Tue Mar 18 15:03:43 2008 +0000 @@ -229,7 +229,7 @@ set_p2m_entry(struct domain *d, unsigned if ( !p2m_next_level(d, &table_mfn, &table, &gfn_remainder, gfn, L3_PAGETABLE_SHIFT - PAGE_SHIFT, ((CONFIG_PAGING_LEVELS == 3) - ? (hvm_funcs.hap_supported ? 4 : 8) + ? (d->arch.hvm_domain.hap_enabled ? 4 : 8) : L3_PAGETABLE_ENTRIES), PGT_l2_page_table) ) goto out; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |