]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't try to use hugepages if not enabled
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 14 Jun 2017 08:40:20 +0000 (10:40 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 14 Jun 2017 14:47:14 +0000 (16:47 +0200)
commit1e8d6c6ef07a33ab338c2bf38fa017d4f2123335
treeb26d81cdb34f8f920a32e6da03a4249f9595592c
parent5e9ca5508d27798b8b90b0dd46553aa927b5788c
qemu: Don't try to use hugepages if not enabled

https://bugzilla.redhat.com/show_bug.cgi?id=1214369

My fix 671d18594f4 was incomplete. If domain doesn't have
hugepages enabled, because of missing condition we would still be
putting hugepages path onto qemu cmd line. Clean up the
conditions so that it's more visible next time.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-cpu-numa-memshared.args [new file with mode: 0644]
tests/qemuxml2argvtest.c