On Mon, Feb 12, 2018 at 6:57 PM, Jon bae <jonba...@gmail.com> wrote: > A little update: > I found out that I have to activate *Hostdev Passthrough* (is this really > necessary for USB devices?). Now I see all the devices and I can add also > an USB device. >
Theoretically, no, it is not needed. Practically, it is needed in previous versions of 4.2 due to a bug that would be solved in the upcoming version of 4.2 [1]. > But I'm still not able to disconnect the USB from the old VM. > Yep, that's another bug that would be solved in the upcoming version of 4.2 [2]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1548344 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1557777 > > ---------- Forwarded message ---------- > From: Jon bae <jonba...@gmail.com> > Date: 2018-02-12 16:14 GMT+01:00 > Subject: Can't add/remove usb device to VM > To: users <users@ovirt.org> > > > Hello, > I run oVirt 4.2.1, in 4.1 I added a USB device to a VM and now I wanted to > change this device to a different VM. > But I found out, that I'm not able to remove this device nor I'm able to > add any device to any VM. The device list is empty. > > I found a bug report, what describe this error: > https://bugzilla.redhat.com/show_bug.cgi?id=1531847 > > Is there a solution for that? > > The USB device is a hardware dongle and it is very impotent for us to > change this. > > Any workaround is welcome! > If you can't wait for the upcoming version of 4.2 you can try removing it manually by manipulating the database (assuming there is only one host device attached to the VM): (1) delete from vm_device where vm_id in (select vm_guid from vm_static where vm_name='<vm name>') and type='hostdev'; (2) update host_device set vm_id = NULL where vm_id in (select vm_guid from vm_static where vm_name='<vm name>'); > > Regards > > Jonathan > > > _______________________________________________ > 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