]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Destroy whole memory tree
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Nov 2017 15:03:40 +0000 (16:03 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Nov 2017 09:17:11 +0000 (10:17 +0100)
commitbb3de478a66edafd130ecca9a45a4d506ca727a0
treec33e059199960a82c694b263eb628b2e701e483d
parenteff2b2edb147572b6d8f701f4b4f4a69580e17c8
qemu: Destroy whole memory tree

When removing path where huge pages are call virFileDeleteTree
instead of plain rmdir(). The reason is that in the near future
there's going to be more in the path than just files - some
subdirs. Therefore plain rmdir() is not going to be enough.

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