<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi<br>I'm trying to hotplug an usb device into kvm but the device is not attached<br>this is the definition:<br><br>cat kingston.xml<br><hostdev mode='subsystem' type='usb' managed='yes'><br>        <source><br>                <vendor id='0x1131' /><br>                <product id='0x1001' /><br>        </source><br></hostdev><br><br>the attach and detach commands<br><br>virsh attach-device ShadowFax kingston.xml<br>El dispositivo fue asociado exitosamente<br><br>virsh detach-device ShadowFax kingston.xml<br>El dispositivo fue desmontado exitosamente<br><br>which means the device is succesfully attached but is never seen in the vm<br><br>The records in /var/log/messages:<br><br>Sep 30 21:34:57 Balrog libvirtd: 21:34:57.288: warning : qemudParsePCIDeviceStrs:1411 : Unexpected exit status '1', qemu probably failed<br>Sep 30 21:35:07 Balrog libvirtd: 21:35:07.803: warning : qemudParsePCIDeviceStrs:1411 : Unexpected exit status '1', qemu probably failed<br>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<br>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<br>Sep 30 21:35:07 Balrog libvirtd: 21:35:07.806: warning : qemudDomainDetachHostDevice:8930 : Failed to restore host device labelling<br><br>from /var/log/libvirt/qemu/vm.log<br><br>husb: open device 1.7<br>husb: config #1 need -1<br>husb: 3 interfaces claimed for configuration 1<br>husb: grabbed usb device 1.7<br><br>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:<br><br>Warning: tried to detach unattached usb device USB Host Device<br><br>Im using fedora 13 with:<br>libvirt-0.8.2-1.fc13.x86_64<br>libvirt-client-0.8.2-1.fc13.x86_64<br>qemu-system-x86-0.12.5-1.fc13.x86_64<br><br>Can someone help me please<br><br>Thanks<br>                                    </body>
</html>