[libvirt] Unable to start a VM with USB device

Laurent Léonard laurent at open-minds.org
Sat Mar 6 22:26:15 UTC 2010


Le vendredi 05 mars 2010 à 20:25, Daniel P. Berrange a écrit :
> On Fri, Mar 05, 2010 at 01:31:15PM -0500, Cole Robinson wrote:
> > On 03/05/2010 12:33 PM, Laurent Léonard wrote:
> > > Hi,
> > >
> > > I just packaged libvirt 0.7.7 for Debian.
> > >
> > > But I can't start a VM with an USB device attached:
> > > # virsh start test-vm
> > > error: Failed to start domain test-vm
> > > error: unable to set security context '107:113' on
> > > '/dev/bus/usb/000/000': No such file or directory
> > >
> > > I know there were changes about USB passthrough so I suppose it's a
> > > bug.
> > >
> > > Thank you,
> >
> > Can you provide the VM XML?
>
> No need, I screwed up.  On domain startup, the security driver code is
> running before my code which resolves product/vendor to bus/device. I
> missed this because my test machine had the security drivers disabled.

How can I disable the security drivers for my virtual machine ? Could you send 
a patch to fix that issue ?

Thank you,
-- 
Laurent Léonard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100306/0844bf62/attachment-0001.sig>


More information about the libvir-list mailing list