
On Tue, 2012-06-12 at 11:02 -0700, Dale Amon wrote:
I tunneled the USB device to it:
<hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x055f'/> <product id='0x040b'/> <address bus='3' device='8'/> </source> <alias name='hostdev0'/> </hostdev>
That works fine... until I have to go into the office. Once I disconnected the USB go away for 10 hours and come back, it fails to re-engage. The USB seems to get grabbed up by the laptop itself instead of the VM. The only way to get it to work again is to halt the VM and do a cold boot of it. This is annoying to say the least because I lose 'state' when I boot, ie the set of windows and files open that remind me of where I left off on a project before going to work.
Any suggestions how to get around this annoying issue?
I could be wrong. But I believe you want managed='yes' so that libvirtd detaches the device from the host automatically. Dax Kelson