[Pkg-libvirt-maintainers] Bug#869069: VMs with hugepages can't start after upgrade to stretch

Pavel Matěja pavel at verotel.cz
Thu Jul 20 08:32:49 UTC 2017


Package: libvirt-daemon
Version: 3.0.0-4

After upgrade from jessie to stretch I was unable to start VMs which are using hugepages.
The error message is:
qemu-system-x86_64: can't open backing store /dev/hugepages/libvirt/qemu for guest RAM: Permission denied

In jessie were permissions of the directory:
drwxr-xr-x libvirt-qemu libvirt-qemu
while in stretch they are
drwxr-xr-x root root

Workaround is to set
user = "root"
in /etc/libvirt/qemu.conf

But I kind of liked the VMs were running as non root processes.
I guess the directory is created by the libvirtd.
Is there any way to change the owner back to libvirt-qemu?



More information about the Pkg-libvirt-maintainers mailing list