[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] vmx: Setting of VMCS IO_BITMAP_B must take account of fact that
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1206092734 0 # Node ID 76c9cf11ce23540b6016116a972bb4f0e0480a14 # Parent c8c8b5c5f6d77a47bfa1869ac60e4975fa764ad6 vmx: Setting of VMCS IO_BITMAP_B must take account of fact that hvm_io_bitmap is now a long[] rather than a char[]. Bug spotted by Dexuan Cui <dexuan.cui@xxxxxxxxx> Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/hvm/vmx/vmcs.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r c8c8b5c5f6d7 -r 76c9cf11ce23 xen/arch/x86/hvm/vmx/vmcs.c --- a/xen/arch/x86/hvm/vmx/vmcs.c Thu Mar 20 18:28:52 2008 +0000 +++ b/xen/arch/x86/hvm/vmx/vmcs.c Fri Mar 21 09:45:34 2008 +0000 @@ -473,8 +473,8 @@ static int construct_vmcs(struct vcpu *v } /* I/O access bitmap. */ - __vmwrite(IO_BITMAP_A, virt_to_maddr(hvm_io_bitmap)); - __vmwrite(IO_BITMAP_B, virt_to_maddr(hvm_io_bitmap + PAGE_SIZE)); + __vmwrite(IO_BITMAP_A, virt_to_maddr((char *)hvm_io_bitmap + 0)); + __vmwrite(IO_BITMAP_B, virt_to_maddr((char *)hvm_io_bitmap + PAGE_SIZE)); /* Host GDTR base. */ __vmwrite(HOST_GDTR_BASE, GDT_VIRT_START(v)); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |