]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: reflect any memory rounding back to xml
authorEric Blake <eblake@redhat.com>
Fri, 30 Mar 2012 15:40:09 +0000 (09:40 -0600)
committerEric Blake <eblake@redhat.com>
Sat, 31 Mar 2012 15:17:35 +0000 (09:17 -0600)
commit095b0bc46ab32df3f95a5cd8f163ce55aab1a787
treec551328888d7640d7dfd8fafcafb3fc8f9552593
parent4a86c2bb4b2d8183b76ba44659bb6d2eab1f1573
qemu: reflect any memory rounding back to xml

If we round up a user's memory request, we should update the XML
to reflect the actual value in use by the VM, rather than giving
an artificially small value back to the user.

* src/qemu/qemu_command.c (qemuBuildNumaArgStr)
(qemuBuildCommandLine): Reflect rounding back to XML.
src/qemu/qemu_command.c