Received: from eggs.gnu.org ([2001:4830:134:3::10]:33725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvR6U-0003CB-A8 for qemu-devel@nongnu.org; Fri, 13 Jun 2014 09:01:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvR6P-0002FJ-GN for qemu-devel@nongnu.org; Fri, 13 Jun 2014 09:01:10 -0400 Received: from smtp.citrix.com ([66.165.176.89]:40592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvR6P-0002F3-Cf for qemu-devel@nongnu.org; Fri, 13 Jun 2014 09:01:05 -0400 Date: Fri, 13 Jun 2014 14:00:59 +0100 From: Anthony PERARD Message-ID: <20140613130059.GA1635@perard.uk.xensource.com> References: <1402647923-12300-1-git-send-email-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1402647923-12300-1-git-send-email-kraxel@redhat.com> Subject: Re: [Qemu-devel] [PATCH] vnc: fix screen updates List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org, Anthony Liguori On Fri, Jun 13, 2014 at 10:25:23AM +0200, Gerd Hoffmann wrote: > Bug was added by 38ee14f4f33f8836fc0e209ca59c6ae8c6edf380. > vnc_jobs_join call is missing in one code path. > > Reported-by: Anthony PERARD > Signed-off-by: Gerd Hoffmann I've tested the patch, it works. Thanks! > --- > ui/vnc.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/ui/vnc.c b/ui/vnc.c > index 6c9d4f3..aac93f0 100644 > --- a/ui/vnc.c > +++ b/ui/vnc.c > @@ -935,6 +935,9 @@ static int vnc_update_client(VncState *vs, int has_dirty, bool sync) > } > > vnc_job_push(job); > + if (sync) { > + vnc_jobs_join(vs); > + } > vs->force_update = 0; > return n; > } -- Anthony PERARD