]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Extract -mem-path building into its own function
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 1 Oct 2015 05:47:39 +0000 (07:47 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 2 Oct 2015 14:14:26 +0000 (16:14 +0200)
commitad8ab88c9141afb9b7541c67f3d0966d5a1b31cd
tree0b6a81b432718f0eb9fd8016f20c10e14a4c95f3
parent5f12b8444ca123177ac972a23965fa4303a9484c
qemu: Extract -mem-path building into its own function

That function is called qemuBuildMemPathStr() and will be used in
other places in the future.  The change in the test suite is proper due
to the fact that -mem-prealloc makes only sense with -mem-path (from
qemu documentation -- html/qemu-doc.html).

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-hugepages-pages6.args