Re: [libvirt] [PATCH RESEND V2 1/1] Add hw random number generator (/dev/hwrng) to cgroup ACL

2014-01-27 Thread Pradipta Kumar Banerjee
On 01/27/2014 10:21 PM, Eric Blake wrote: > On 01/16/2014 06:41 AM, Pradipta Kr. Banerjee wrote: >> From: "Pradipta Kr. Banerjee" >> >> Creating a qemu VM with /dev/hwrng as backend RNG device throws the >> following error - "Could not open '/dev/hwrng': Permission denied" >> This patch fixes the

Re: [libvirt] [PATCH RESEND V2 1/1] Add hw random number generator (/dev/hwrng) to cgroup ACL

2014-01-27 Thread Eric Blake
On 01/16/2014 06:41 AM, Pradipta Kr. Banerjee wrote: > From: "Pradipta Kr. Banerjee" > > Creating a qemu VM with /dev/hwrng as backend RNG device throws the > following error - "Could not open '/dev/hwrng': Permission denied" > This patch fixes the issue > > Signed-off-by: Pradipta Kr. Banerjee

[libvirt] [PATCH RESEND V2 1/1] Add hw random number generator (/dev/hwrng) to cgroup ACL

2014-01-16 Thread Pradipta Kr. Banerjee
From: "Pradipta Kr. Banerjee" Creating a qemu VM with /dev/hwrng as backend RNG device throws the following error - "Could not open '/dev/hwrng': Permission denied" This patch fixes the issue Signed-off-by: Pradipta Kr. Banerjee --- v2: Added acl code as part of per-VM cgroup setup src/qemu/q