USB passthrough: flexible configuration in XML-file needed

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

 



Hi,

I need a flexible USB passthrough of a USB-device. If the device is turned off
by the current switch (230Volt) the VM should start and not claim that the 
USB device is left. 

Using: 

 <devices>
    …
    <hostdev mode='subsystem' type='usb'>
      <source>
        <vendor id='0x152a'/>
        <product id='0x8180'/>
      </source>
    </hostdev>
  </devices>
</domain>


in libvirt XML-config file the boot process is stopped if the device is switched 
off. How can I configure the xml-file to make ich more flexible? 

Another possibility would be to passthrough USB-Slot No1 (or No 2, ...) to 
the VM. So an arbitrary USB-device that is plugged in to USB-Slot1 
would be recognized by the VM. In another forum I got the hint to 
start the VM by: 

-usb -usbdevice host:0.* -usbdevice host:1.* 

to passthrough USB-Slot No1 and No 2. How can I configure that in libvirt 
xml-file? 

tia
Eckard

_______________________________________________
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