]> xenbits.xensource.com Git - libvirt.git/commit
qemuProcessBuildDestroyHugepagesPath: create path more frequently
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 7 Jun 2017 11:38:14 +0000 (13:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Jun 2017 14:38:53 +0000 (16:38 +0200)
commit055c7c48f715f984e1070a5a9a9db3e7a7e271bc
treeab7d8c798b831749925ad41dab53aede5bff31a7
parentba81c4ee4f6cbbe0be7565e00fe7eb3546db728c
qemuProcessBuildDestroyHugepagesPath: create path more frequently

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

Currently, the per-domain path for huge pages mmap() for qemu is
created iff domain has memoryBacking and hugepages in it
configured. However, this alone is not enough because there can
be a DIMM module with hugepages configured too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_process.c