Hi,
On 01/23/2012 03:51 PM, Gerd Hoffmann wrote:
On 01/13/12 08:43, Gerd Hoffmann wrote:
On 01/12/12 17:31, Hans de Goede wrote:
This patch adds the posibility to filter out certain devices from redirecion.
To use this pass the filter property to -device usb-redir. The filter
property takes a string consisting of filter rules, the format for a rule is:
<class>:<vendor>:<product>:<version>:<allow>
Hmm, what is the point of having this filter in qemu?
I'd expect the other end of the network connection which talks to the
actual usb device (i.e. the tcp standalone server or spice client) doing
the filtering ...
The admin of the vm may want to allow only certain devices to be redirected
to the vm. And while he has administrative control over the vm, he does not
necessarily have administrative control over the client.
Also fails checkpatch:
WARNING: line over 80 characters
#75: FILE: usb-redir.c:898:
+ qerror_report(QERR_INVALID_PARAMETER_VALUE, "filter", "a
usb device filter string");
Oops, I'll send a new version.
Regards,
Hans