[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Fix wrong memory size of nested shadow_io_bitmap
Not sure if the mistake impact the real nested guest, but it is a bug. Thx, Eddie Fix wrong memory size of nested shadow_io_bitmap. Signed-off-by: Eddie Dong <eddie.dong@xxxxxxxxx> diff -r 0de62ff0850a xen/arch/x86/hvm/nestedhvm.c --- a/xen/arch/x86/hvm/nestedhvm.c Sat May 28 19:02:38 2011 +0800 +++ b/xen/arch/x86/hvm/nestedhvm.c Sat May 28 19:24:37 2011 +0800 @@ -173,9 +173,9 @@ */ /* same format and size as hvm_io_bitmap */ -#define IOBITMAP_SIZE 3*PAGE_SIZE/BYTES_PER_LONG +#define IOBITMAP_SIZE 3*PAGE_SIZE /* same format as hvm_io_bitmap */ -#define IOBITMAP_VMX_SIZE 2*PAGE_SIZE/BYTES_PER_LONG +#define IOBITMAP_VMX_SIZE 2*PAGE_SIZE static unsigned long *shadow_io_bitmap[3]; Attachment:
patch5 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |