Mailinglist Archive: opensuse-virtual (12 mails)

< Previous Next >
Re: [opensuse-virtual] Xl usb-attach in opensuse 13.1
  • From: Jeroen Groenewegen van der Weyden <groen692@xxxxxxxxx>
  • Date: Wed, 12 Feb 2014 14:29:51 +0100
  • Message-id: <52FB774F.3040001@grosc.com>
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-virtual+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation