Re: LXC + USB passthrough = Operation not permitted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 14, 2014 at 10:56:42AM -0700, Filip Maj wrote:
> I'd also like to point out that, when setting up a linux container with
> _just_ the lxc tools available in ubuntu, all that was needed to be done
> was whitelist the appropriate cgroups for the Android devices. The lxc
> tools seem to create the appropriate character devices when you
> detach/attach the Android device via USB, and the Android `adb` tool
> recognized the devices.
> 
> So, a tangential question would be, what libvirt domain XML ends up
> "converting" into a cgroup whitelist line in the LXC configuration file?
> (see
> https://wiki.archlinux.org/index.php/Linux_Containers#Host_device_access_settingsfor
> examples of cgroups configuration in a vanilla LXC config file).

You don't need to specify anything related to cgroups in libvirt. We will
automatically set the device ACL correctly to allow any devices listed
in the XML config.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux