[virt-tools-list] [PATCH 0/2] add USB redirection support in virt-manager
Cole Robinson
crobinso at redhat.com
Mon Jun 24 16:51:31 UTC 2013
On 06/24/2013 06:11 AM, Guannan Ren wrote:
>
> This two patch use spicy-client python binding to add USB redirection
> support in virt-manager if guests use spice viewer.
>
> Add "Select USB devices to redirect" option in console viewer
> Initialize and embed UsbDeviceWidget object from SpiceClientGtk into
> a dialog to let user choose available USB devices for redirection.
> Throw an error message if USB connection failed.
>
> These feature works well if running virt-manager application with
> super root privilege. But if running it with non-root user, libusb
> will report Permission problem as follows.
>
> libusbx: error [op_open] libusbx couldn't open USB device /dev/bus/usb/002/010: Permission denied.
> libusbx: error [op_open] libusbx requires write access to USB device nodes.
>
> I am not sure about this, the error explains itself. In this case virt-manager
> will popup a dialog to show related error from spice-client library.
>
I think that's expected, my guess is that this feature is more likely to be
used by things that the user owns like a usb stick rather than a staticly
attached USB device.
- Cole
More information about the virt-tools-list
mailing list