[IA64][VMX] Fix 3G memory limit for VTi domain.

Signed-off-by : Zhang xiantao <xiantao.zhang@intel.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2006-11-09 13:28:45 +00:00
1 parent 625b3409d2
commit adf5b4e341
1 file changed
+5 -5
+5 -5
View File
@@ -6390,6 +6390,11 @@ int main(int argc, char **argv)
exit(1);
}
#if defined (__ia64__)
if (ram_size > MMIO_START)
ram_size += 1 * MEM_G; /* skip 3G-4G MMIO, LEGACY_IO_SPACE etc. */
#endif
/* init the memory */
phys_ram_size = ram_size + vga_ram_size + bios_size;
@@ -6397,11 +6402,6 @@ int main(int argc, char **argv)
xc_handle = xc_interface_open();
#if defined (__ia64__)
if (ram_size > MMIO_START)
ram_size += 1 * MEM_G; /* skip 3G-4G MMIO, LEGACY_IO_SPACE etc. */
#endif
nr_pages = ram_size/PAGE_SIZE;
tmp_nr_pages = nr_pages;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.