[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:
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.
you can use: virsh attach-device and: virsh detach-device Yet there is no xl command to do that. regards. Antoine
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
-- 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:
Jeroen Groenewegen van der Weyden:
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. you can use: virsh attach-device Well virsh does not seem to function properly either, the output of virsh list is empty.
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
and: virsh detach-device
Yet there is no xl command to do that.
regards. Antoine
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
-- 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:
Antoine Ginies schreef op 12-2-2014 10:57:
Jeroen Groenewegen van der Weyden:
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. you can use: virsh attach-device Well virsh does not seem to function properly either, the output of virsh list is empty.
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
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:
Jeroen Groenewegen van der Weyden:
Antoine Ginies schreef op 12-2-2014 10:57:
Jeroen Groenewegen van der Weyden:
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. you can use: virsh attach-device Well virsh does not seem to function properly either, the output of virsh list is empty.
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 Usage of virsh implies you have created your domain with libvirt framework. If not, then virsh won't list any domain. I see, fixed that. now I get host: virsh attach-device 71 usb-crossair2.xml error: Failed to attach device from usb-crossair2.xml error: unsupported configuration: device type 'hostdev' cannot be attached
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 Ginies schreef op 12-2-2014 10:57:
Jeroen Groenewegen van der Weyden:
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. you can use: virsh attach-device Well virsh does not seem to function properly either, the output of virsh list is empty.
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:
Jeroen Groenewegen van der Weyden:
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.
you can use: virsh attach-device
and: virsh detach-device
Yet there is no xl command to do that.
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