Hi
I'm trying to hotplug an usb device into kvm but the device is not attached
this is the definition:
cat kingston.xml
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<vendor id='0x1131' />
<product id='0x1001' />
</source>
</hostdev>
the attach and detach commands
virsh attach-device ShadowFax kingston.xml
El dispositivo fue asociado exitosamente
virsh detach-device ShadowFax kingston.xml
El dispositivo fue desmontado exitosamente
which means the device is succesfully attached but is never seen in the vm
The records in /var/log/messages:
Sep 30 21:34:57 Balrog libvirtd: 21:34:57.288: warning : qemudParsePCIDeviceStrs:1411 :
Unexpected exit status '1', qemu probably failed
Sep 30 21:35:07 Balrog libvirtd: 21:35:07.803: warning : qemudParsePCIDeviceStrs:1411 :
Unexpected exit status '1', qemu probably failed
Sep 30 21:35:07 Balrog libvirtd: 21:35:07.805: error :
qemuSecurityDACRestoreSecurityFileLabel:84 : cannot resolve symlink /dev/bus/usb/000/000:
No such file or directory
Sep 30 21:35:07 Balrog libvirtd: 21:35:07.806: warning :
SELinuxRestoreSecurityFileLabel:371 : cannot resolve symlink /dev/bus/usb/000/000: No such
file or directory
Sep 30 21:35:07 Balrog libvirtd: 21:35:07.806: warning : qemudDomainDetachHostDevice:8930
: Failed to restore host device labelling
from /var/log/libvirt/qemu/vm.log
husb: open device 1.7
husb: config #1 need -1
husb: 3 interfaces claimed for configuration 1
husb: grabbed usb device 1.7
this one keeps repeating even after the device is detached that is today but yesterday
showed only once or twice at each try and when detaching this came out:
Warning: tried to detach unattached usb device USB Host Device
Im using fedora 13 with:
libvirt-0.8.2-1.fc13.x86_64
libvirt-client-0.8.2-1.fc13.x86_64
qemu-system-x86-0.12.5-1.fc13.x86_64
Can someone help me please
Thanks
Show replies by date