[libvirt-users] The USB passthrough that refuses to die

In trying to find out why my usb passthrough is not working, I decided to edit (virsh edit) the config file for the vm client, removing the following lines <hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x051d'/> <product id='0x0002'/> </source> </hostdev> checking with "virsh dumpxml" that the lines went away, and then restarting [root@vmhost ~]# virsh start nagios error: Failed to start domain nagios error: internal error Did not find USB device 51d:2 bus:2 device:3 [root@vmhost ~]# As you can see, it is still acting like the usb device is defined. What am I missing here?

On Fri, Oct 24, 2014 at 4:05 PM, Mauricio Tavares <raubvogel@gmail.com> wrote:
In trying to find out why my usb passthrough is not working, I decided to edit (virsh edit) the config file for the vm client, removing the following lines
<hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x051d'/> <product id='0x0002'/> </source> </hostdev>
checking with "virsh dumpxml" that the lines went away, and then restarting
[root@vmhost ~]# virsh start nagios error: Failed to start domain nagios error: internal error Did not find USB device 51d:2 bus:2 device:3
[root@vmhost ~]#
As you can see, it is still acting like the usb device is defined. What am I missing here?
Update: I undefined the vm. Then I recreated it, configuring it to use the same MAC but did not add the USB passthrough yet. It started fine. I will later on add the usb stuff. Thanks for all the help!
participants (1)
-
Mauricio Tavares