]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Utilize virFileFindHugeTLBFS
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 23 Jul 2014 15:37:18 +0000 (17:37 +0200)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 29 Jul 2014 10:58:35 +0000 (11:58 +0100)
commit725a211fc0c04568acdd3737da867684ada09c03
treebf4fc1ff249789037fcd23ea2663128c11344895
parentbe0782e199243bdeb0f1bf85028fb0e7267f28b0
qemu: Utilize virFileFindHugeTLBFS

Use better detection of hugetlbfs mount points. Yes, there can be
multiple mount points each serving different huge page size.

Since we already have ability to override the mount point in the
qemu.conf file, this crazy backward compatibility code is brought in.
Now we allow multiple mount points, so the "hugetlbfs_mount" option
must take an list of strings (mount points). But previously, it was
just a string, so we must accept both types now.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu.conf
src/qemu/qemu_command.c
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
src/qemu/qemu_driver.c
src/qemu/qemu_process.c
tests/qemuxml2argvtest.c