qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Amit Shah <amit.shah@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: "Marc-André Lureau" <marcandre.lureau@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 2/2] spice-char: notify the server when chardev is writable
Date: Mon, 4 May 2015 15:01:56 +0530	[thread overview]
Message-ID: <20150504093156.GF6965@grmbl.mre> (raw)
In-Reply-To: <1414411077.9909.12.camel@nilsson.home.kraxel.org>

Hi Gerd,

On (Mon) 27 Oct 2014 [12:57:57], Gerd Hoffmann wrote:
> On Mo, 2014-10-27 at 12:45 +0100, Marc-André Lureau wrote:
> > Hi
> > 
> > 
> > On Mon, Oct 27, 2014 at 9:08 AM, Gerd Hoffmann <kraxel@redhat.com>
> > wrote:
> >         > +static void spice_chr_accept_input(struct CharDriverState
> >         *chr)
> >         > +{
> >         > +    SpiceCharDriver *s = chr->opaque;
> >         > +
> >         > +    spice_server_char_device_wakeup(&s->sin);
> >         
> >         
> >         Does this build on older spice versions?  I'd suspect this
> >         needs #if
> >         SPICE_SERVER_VERSION too ...
> > 
> > 
> > There is already a spice_server_char_device_wakeup() call there. On
> > older servers, this additional call will trigger just a read try. With
> > the proposed patch in Spice server, it will do read & write try (I
> > didn't see the need to create a new function to do only read or write,
> > both should be fine)
> 
> Ok then.  Added to spice queue.  Fails to build, but that looks like
> just being the dependency on amits patch and should go away once that
> one is upstream.

The dependency patch is now in tree, please pick this series up.

Thanks,


		Amit

  reply	other threads:[~2015-05-04  9:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24  9:00 [Qemu-devel] [PATCH 1/2] virtio-console: notify chardev when writable Marc-André Lureau
2014-10-24  9:00 ` [Qemu-devel] [PATCH 2/2] spice-char: notify the server when chardev is writable Marc-André Lureau
2014-10-27  8:08   ` Gerd Hoffmann
2014-10-27 11:45     ` Marc-André Lureau
2014-10-27 11:57       ` Gerd Hoffmann
2015-05-04  9:31         ` Amit Shah [this message]
2015-05-05  9:45           ` Gerd Hoffmann
2014-10-27 12:43   ` Amit Shah
2014-10-27 16:32     ` Marc-André Lureau
2014-10-28 14:51       ` Amit Shah
  -- strict thread matches above, loose matches on Subject: below --
2015-05-05 14:58 [Qemu-devel] [PATCH 1/2] virtio-console: notify chardev when writable Marc-André Lureau
2015-05-05 14:58 ` [Qemu-devel] [PATCH 2/2] spice-char: notify the server when chardev is writable Marc-André Lureau

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=20150504093156.GF6965@grmbl.mre \
    --to=amit.shah@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=marcandre.lureau@gmail.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).