Xu, Anthony
2006-Nov-14 08:30 UTC
[Xen-devel][HVM][IPF][PATCH] A small fix about guest 3G memory
When configuring more than 3G memory to VTI domain, Sometimes it behaves weirdly. This patch fixes this bug. Signed-off-by, Anthony Xu < anthony.xu@intel.com > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Aron Griffis
2006-Nov-15 21:04 UTC
Re: [Xen-devel][HVM][IPF][PATCH] A small fix about guest 3G memory
Nice catch. Xu, Anthony wrote: [Tue Nov 14 2006, 03:30:59AM EST]> - for (i = 0 ; i < MEM_G >> PAGE_SHIFT; i++) > - page_array[MMIO_START >> PAGE_SHIFT + i] > - page_array[IO_PAGE_START >> PAGE_SHIFT + 1]; > + for (i = 0 ; i < (MEM_G >> PAGE_SHIFT); i++) > + page_array[(MMIO_START >> PAGE_SHIFT) + i] > + page_array[(IO_PAGE_START >> PAGE_SHIFT) + 1];_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel