----- Original Message ----- > From: "Nisim Simsolo" <nsims...@redhat.com> > To: biholc...@l1049h.com > Cc: users@ovirt.org > Sent: Sunday, May 15, 2016 1:40:07 PM > Subject: Re: [ovirt-users] USB > > Hi > > You can attach host device directly from virtual machines tab -> select VM > -> host devices sub tab -> "add device" button. > > But first you need to verify your BIOS is supporting intel VT-d or AMD vi. > And you also need to activate it in the kernel. The next link describes how > to do it: > https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/chap-Guest_virtual_machine_device_configuration.html#sect-Guest_virtual_machine_device_configuration-PCI_devices > > note: Instead of adding "intel_iommu=pt" in the grub cmdline, add > "intel_iommu=on" or "amd_iommu=on". > > Another thing worth mentioning, USB hotplug is not supported yet, so if > your programmable device is resetting the USB connection each time you > program it, the USB will be detached from the VM and you will have to > attach it again in order to see it.
USB passthrough does not require IOMMU, only PCI devices do. The docs need improvement in that regard. > On Sun, May 15, 2016 at 8:34 AM, Brett I. Holcomb <biholc...@l1049h.com> > wrote: > > > How do I get a VM to see USB devices? If I understand it correctly I > > have to go to Edit VM -> Console and enable USB native. I have the > > console options set to use usb. However, I'm finding conflicting > > information. Supposedly libvirt will allow sharing of a USB device > > over a network but to start with I'd be happy just being able to > > connect a usb device to the host and having it detected. I have some > > programmable devices I'd like to program in Linux using my VM. > > > > Has anyone uses usbip and if so how well does it work? > > > > > > _______________________________________________ > > Users mailing list > > Users@ovirt.org > > http://lists.ovirt.org/mailman/listinfo/users > > > > > > -- > Nisim Simsolo > QE -Testing Engineer > IRC: nsimsolo > int phone - 8272305 > mobile - 054-4779934 > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users