qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] usb-redir: Add the posibility to filter out certain devices from redirecion
Date: Wed, 25 Jan 2012 09:50:21 +0100	[thread overview]
Message-ID: <4F1FC24D.2000707@redhat.com> (raw)
In-Reply-To: <4F1D73E2.5000100@redhat.com>

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

  reply	other threads:[~2012-01-25  8:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-12 16:31 [Qemu-devel] [PATCH] usb-redir: Add the posibility to filter out certain devices from redirecion Hans de Goede
2012-01-12 16:50 ` Jan Kiszka
2012-01-13  7:43 ` Gerd Hoffmann
2012-01-23 14:51   ` Gerd Hoffmann
2012-01-25  8:50     ` Hans de Goede [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-25  8:50 Hans de Goede
2012-01-26 14:09 ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F1FC24D.2000707@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).