[Spice-devel] [PATCH] server/reds: add "usbredir" to recognized channel names

Alon Levy alevy at redhat.com
Mon May 7 05:24:07 PDT 2012


On Mon, May 07, 2012 at 02:19:43PM +0200, Marc-André Lureau wrote:
> On Mon, May 7, 2012 at 1:37 PM, Alon Levy <alevy at redhat.com> wrote:
> > RHBZ: 819484
> >
> > Signed-off-by: Alon Levy <alevy at redhat.com>
> > ---
> >  server/reds.c |    1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/server/reds.c b/server/reds.c
> > index 1696fbc..26d6f89 100644
> > --- a/server/reds.c
> > +++ b/server/reds.c
> > @@ -3971,6 +3971,7 @@ SPICE_GNUC_VISIBLE int spice_server_set_channel_security(SpiceServer *s, const c
> >  #ifdef USE_SMARTCARD
> >         [ SPICE_CHANNEL_SMARTCARD] = "smartcard",
> >  #endif
> > +        [ SPICE_CHANNEL_USBREDIR ] = "usbredir",
> >     };
> >     int i;
> 
> Why do we have a ifdef for smartcard but not for usbredir?
> 
> Otherwise looks trivial, ack.

I don't think we compile out usbredir in any case, since it doesn't add
any requirements.

> 
> 
> -- 
> Marc-André Lureau


More information about the Spice-devel mailing list