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

Guido Günther agx at sigxcpu.org
Thu Jul 20 09:59:27 UTC 2017


Hi,
On Thu, Jul 20, 2017 at 10:32:49AM +0200, Pavel Matěja wrote:
> 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?

I'm not sure if I'll be able to look into this soonish but can you
please attache the failing domain's XML.
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list