
On Thu, Jan 07, 2010 at 05:31:59PM +0000, Daniel P. Berrange wrote:
On Thu, Jan 07, 2010 at 02:53:20PM +0100, Daniel Veillard wrote:
The -mem-prealloc flag should be used when using large pages This ensures qemu tries to allocate all required memory immediately, rather than when first used. The latter mode will crash qemu if hugepages aren't available when accessed, while the former should gracefully fallback to non-hugepages.
* src/qemu/qemu_conf.c: add -mem-prealloc flag to qemu command line when using large pages
ACK, definitely don't want VMs crashing when attempting to page in huge pages which don't exist anymore
okay, pushed, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/