mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
d823a05aef
Add option to domain XML for <memoryBacking> <hugepages/> </memoryBacking> * configure.in: Add check for mntent.h * qemud/libvirtd_qemu.aug, qemud/test_libvirtd_qemu.aug, src/qemu.conf Add 'hugetlbfs_mount' config parameter * src/qemu_conf.c, src/qemu_conf.h: Check for -mem-path flag in QEMU, and pass it when hugepages are requested. Load hugetlbfs_mount config parameter, search for mount if not given. * src/qemu_driver.c: Free hugetlbfs_mount/path parameter in driver shutdown. Create directory for QEMU hugepage usage, chowning if required. * docs/formatdomain.html.in: Document memoryBacking/hugepages elements * docs/schemas/domain.rng: Add memoryBacking/hugepages elements to schema * src/util.c, src/util.h, src/libvirt_private.syms: Add virFileFindMountPoint helper API * tests/qemuhelptest.c: Add -mem-path constants * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Add tests for hugepage handling * tests/qemuxml2argvdata/qemuxml2argv-hugepages.xml, tests/qemuxml2argvdata/qemuxml2argv-hugepages.args: Data files for hugepage tests |
||
---|---|---|
.. | ||
.gitignore | ||
default-network.xml | ||
dispatch.c | ||
dispatch.h | ||
event.c | ||
event.h | ||
libvirtd_qemu.aug | ||
libvirtd.aug | ||
libvirtd.conf | ||
libvirtd.init.in | ||
libvirtd.logrotate.in | ||
libvirtd.policy-0 | ||
libvirtd.policy-1 | ||
libvirtd.sasl | ||
libvirtd.sysconf | ||
Makefile.am | ||
mdns.c | ||
mdns.h | ||
qemud.c | ||
qemud.h | ||
remote_dispatch_args.h | ||
remote_dispatch_prototypes.h | ||
remote_dispatch_ret.h | ||
remote_dispatch_table.h | ||
remote_generate_stubs.pl | ||
remote_protocol.c | ||
remote_protocol.h | ||
remote_protocol.x | ||
remote.c | ||
remote.h | ||
rpcgen_fix.pl | ||
test_libvirtd_qemu.aug | ||
test_libvirtd.aug | ||
THREADING.txt |