Mailing List Archive

[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 >
Re: [HVM][IPF][PATCH] A small fix about guest 3G memory [ In reply to ]
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