[ovirt-users] USB Modem in a VM

Alon Bar-Lev alonbl at redhat.com
Tue Jan 13 16:46:34 UTC 2015



----- Original Message -----
> From: "VONDRA Alain" <AVONDRA at unicef.fr>
> To: users at ovirt.org
> Sent: Tuesday, January 13, 2015 5:55:01 PM
> Subject: [ovirt-users]  USB Modem in a VM
> 
> 
> 
> Hi,
> 
> Can you tell me if I can use an USB modem through one of the hypervisor hosts
> to a Windows VM ?
> 
> I’d like to install a Windows Fax Server.
> 
> Thank you for your answers.


should be possible using qemu args: -usbdevice host:vendor_id:product_id

in libvirt replace @VENDOR@ and @DEVICE@ to device specific properties:

<domain type='kvm'>
  <name>...</name>
  …
  <devices>
    …
    <hostdev mode='subsystem' type='usb'>
      <source>
        <vendor id='0x at VENDOR@'/>
        <product id='0x at DEVICE@'/>
      </source>
    </hostdev>
  </devices>
</domain>

if this option is not exposed in ui you can use vdsm-hooks[1] to modify the libvirt configuration and inject such device.

Regards,
Alon

[1] http://www.ovirt.org/VDSM-Hooks



More information about the Users mailing list