From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34546 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2hTb-0001cH-On for qemu-devel@nongnu.org; Thu, 24 Mar 2011 06:09:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2hTa-0006uI-Ry for qemu-devel@nongnu.org; Thu, 24 Mar 2011 06:09:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2hTa-0006ty-Gu for qemu-devel@nongnu.org; Thu, 24 Mar 2011 06:09:10 -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 p2OA98PN004767 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 24 Mar 2011 06:09:08 -0400 Received: from shalem.localdomain.com (vpn2-10-55.ams2.redhat.com [10.36.10.55]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p2OA97jg004461 for ; Thu, 24 Mar 2011 06:09:07 -0400 From: Hans de Goede Date: Thu, 24 Mar 2011 11:12:01 +0100 Message-Id: <1300961524-6205-1-git-send-email-hdegoede@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] spicevmc -> chardev: restore guest open / close (v2) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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. 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