Received: from [140.186.70.92] (port=42314 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2i2N-0005ZO-N5 for qemu-devel@nongnu.org; Thu, 24 Mar 2011 06:45:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2i2M-0004lB-EA for qemu-devel@nongnu.org; Thu, 24 Mar 2011 06:45:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2i2M-0004kr-4r for qemu-devel@nongnu.org; Thu, 24 Mar 2011 06:45:06 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p2OAj49D031093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 24 Mar 2011 06:45:04 -0400 Date: Thu, 24 Mar 2011 12:44:26 +0200 From: Alon Levy Subject: Re: [Qemu-devel] [PATCH 0/3] spicevmc -> chardev: restore guest open / close (v2) Message-ID: <20110324104426.GI16926@playa.redhat.com> References: <1300961524-6205-1-git-send-email-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1300961524-6205-1-git-send-email-hdegoede@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hans de Goede Cc: qemu-devel@nongnu.org On Thu, Mar 24, 2011 at 11:12:01AM +0100, Hans de Goede wrote: > Hi All, > > When we moved from the spicevmc device (which directly implemented a virtio > serial port) to doing spicevmc as a chardev backend we lost the notification > of the guest opening / closing the port to spice server. This causes the > server to not fall back to server mouse mode when the agent inside the > guest stops / dies (for what ever reason). Which causes the mouse to > stop working in this scenario. This patch set fixes this regression. Reviewed-by: Alon Levy > > Changes since v1: > -Replace "return qemu_chr_guest_open(vcon->chr);" with just > "qemu_chr_guest_open(vcon->chr);", since this is a void func. idem for close. > > Regards, > > Hans >