Re: [libvirt] Unable to start a VM with USB device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/06/2010 05:26 PM, Laurent Léonard wrote:
> 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 ? 

Set security_driver='none' and user/group to 'root' in
/etc/libvirt/qemu.conf

Could you send
> a patch to fix that issue ?
> 

Dan is offline this week, I'll take a stab at fixing this.

- Cole

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]