And I think this is the last patch I hadn't looked at (let me know if I missed some in this series :)
On Mon, Dec 19, 2011 at 12:24:36PM +0100, Hans de Goede wrote: > A usbredir channel must always be bi-directional. spice-server > allows only one client to connect even when in multi-client mode. Since > usually there are multiple usb channels available, it is allowed for one > client > to use one channel, while another client uses another usb channel. > > Signed-off-by: Hans de Goede <hdego...@redhat.com> > --- > gtk/channel-usbredir.c | 3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/gtk/channel-usbredir.c b/gtk/channel-usbredir.c > index 06d80d5..6574e32 100644 > --- a/gtk/channel-usbredir.c > +++ b/gtk/channel-usbredir.c > @@ -350,9 +350,6 @@ void spice_usbredir_channel_do_write(SpiceUsbredirChannel > *channel) > { > SpiceUsbredirChannelPrivate *priv = channel->priv; > > - if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) > - return; > - Even with this removed, won't msg_check_read_only from spice-channel.c trigger on these messages and spice_channel_write_msg refuse to send the message? Apart from this, the patch kind of makes sense to me, but it would be better if Marc-André could give the final ACK/NACK. Christophe
pgpdEAHjHOTlA.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel