[Spice-devel] [usbredir PATCH] usbredirfilter_check: block device if all its interfaces skipped

Hans de Goede hdegoede at redhat.com
Wed Jul 8 10:43:00 PDT 2015


Hi,

Thinking more about this I think I've a good solution.

If we end up skipping all interfaces, then do not return
-ENOENT, but rerun the filter with the
usbredirfilter_fl_dont_skip_non_boot_hid flag or-ed
into the flags argument.

That shhold fix the use case on hand while not overriding
the users intent if the user actually wants hid devices
to pass the filter.

Regards,

Hans


More information about the Spice-devel mailing list