[Spice-devel] [PATCH spice-gtk 7/7] usbredir: Add awareness of host/guest side filtering

Marc-André Lureau marcandre.lureau at gmail.com
Mon Feb 20 07:47:24 PST 2012


On Mon, Feb 20, 2012 at 3:29 PM, Hans de Goede <hdegoede at redhat.com> wrote:
> The purpose of spice_usb_device_manager_device_ok_with_guest is for a UI
> (like the device selection widget) to show these devices in a different
> way (ie set their widgets as not sensitive), how do you propose to
> convey the reason why the are not active to the user? Esp. when the reason
> may be different per device?

With such function:

gboolean spice_usb_device_manager_can_redirect_device
(SpiceUsbDeviceManager *self, SpiceUsbDevice *device, GError *error);

You can cover a broader range of information about whether or why the
device can be redirected.

I don't see how it would limits the UI

-- 
Marc-André Lureau


More information about the Spice-devel mailing list