[opensuse-virtual] Xl usb-attach in opensuse 13.1

Hello, I updated my machines recently from opensuse 12.3 to 13.1. Which made us switch from xm to xl. However there is no command available for xl to attach on usb device to a running domain. In other words, does anyone know what the xl variant is of the old xm usb-add/usb-del command? BR, Jeroen. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Jeroen Groenewegen van der Weyden:
you can use: virsh attach-device and: virsh detach-device Yet there is no xl command to do that. regards. Antoine
-- Antoine Ginies <aginies@suse.com> Project Manager SUSE France -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Antoine Ginies schreef op 12-2-2014 10:57:
host:~ # virsh list --all Id Name State ---------------------------------------------------- and: host:~ # virsh version Compiled against library: libvirt 1.1.2 Using library: libvirt 1.1.2 Using API: Xen 1.1.2 Running hypervisor: Xen 4.3.0
-- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Jeroen Groenewegen van der Weyden:
Usage of virsh implies you have created your domain with libvirt framework. If not, then virsh won't list any domain. -- Antoine Ginies <aginies@suse.com> Project Manager SUSE France -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Antoine Ginies schreef op 12-2-2014 12:40:
where the xml files contains <hostdev mode='subsystem' type='usb' managed='yes'> <source> <address bus='002' device='003'/> </source> </hostdev> -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Jeroen Groenewegen van der Weyden wrote:
Antoine already gave a hint, but thought I'd point out a blog post about libvirt's use of the new Xen toolstack. It mentions some differences between the old libvirt Xen driver and the new libxl one http://jfehlig.wordpress.com/2014/01/05/libvirt-support-for-xens-new-libxenl... Regards, Jim -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Antoine Ginies wrote:
There are no xl commands because there is no support in libxl. libvirt also uses libxl, so this wont work in libvirt either. scsi-{attach,detach,list} is also missing from the libxl stack. Regards, Jim -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Jeroen Groenewegen van der Weyden:
you can use: virsh attach-device and: virsh detach-device Yet there is no xl command to do that. regards. Antoine
-- Antoine Ginies <aginies@suse.com> Project Manager SUSE France -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Antoine Ginies schreef op 12-2-2014 10:57:
host:~ # virsh list --all Id Name State ---------------------------------------------------- and: host:~ # virsh version Compiled against library: libvirt 1.1.2 Using library: libvirt 1.1.2 Using API: Xen 1.1.2 Running hypervisor: Xen 4.3.0
-- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Jeroen Groenewegen van der Weyden:
Usage of virsh implies you have created your domain with libvirt framework. If not, then virsh won't list any domain. -- Antoine Ginies <aginies@suse.com> Project Manager SUSE France -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Antoine Ginies schreef op 12-2-2014 12:40:
where the xml files contains <hostdev mode='subsystem' type='usb' managed='yes'> <source> <address bus='002' device='003'/> </source> </hostdev> -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Jeroen Groenewegen van der Weyden wrote:
Antoine already gave a hint, but thought I'd point out a blog post about libvirt's use of the new Xen toolstack. It mentions some differences between the old libvirt Xen driver and the new libxl one http://jfehlig.wordpress.com/2014/01/05/libvirt-support-for-xens-new-libxenl... Regards, Jim -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org

Antoine Ginies wrote:
There are no xl commands because there is no support in libxl. libvirt also uses libxl, so this wont work in libvirt either. scsi-{attach,detach,list} is also missing from the libxl stack. Regards, Jim -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
participants (3)
-
Antoine Ginies
-
Jeroen Groenewegen van der Weyden
-
Jim Fehlig