[libvirt] cgroups and USB passthrough devices don't work together
Daniel P. Berrange
berrange at redhat.com
Thu Oct 28 11:32:52 UTC 2010
On Tue, Oct 26, 2010 at 07:47:58PM +0200, Diego Elio Pettenò wrote:
> Hi all,
>
> beside the problem with USB devices I sent the patch for earlier, there
> is another problem that I'm not sure how to fix: the QEmu cgroup is
> _not_ allowed to access the device when adding it to the virtual
> machine.
>
> Basically it'd need a call to virCgroupAllowDevicePath() when adding the
> device…
Yep, looks like the qemudSetupCgroup method forgot about adding the
ACLs for USB device nodes.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list