From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBPVH-0007in-4o for qemu-devel@nongnu.org; Tue, 11 Sep 2012 08:23:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBPV7-0001sG-Mc for qemu-devel@nongnu.org; Tue, 11 Sep 2012 08:23:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBPV7-0001s9-EQ for qemu-devel@nongnu.org; Tue, 11 Sep 2012 08:23:33 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8BCNWVQ024799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 11 Sep 2012 08:23:32 -0400 Message-ID: <504F2D42.7020502@redhat.com> Date: Tue, 11 Sep 2012 14:23:30 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1325808533.33053564.1347365025414.JavaMail.root@redhat.com> <504F2BB7.1060509@redhat.com> In-Reply-To: <504F2BB7.1060509@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/3] hw/qxl: support client monitor configuration via device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hans de Goede Cc: Alon Levy , qemu-devel@nongnu.org Hi, > This will need spice-server <-> qemu/hw/qxl.c coordination, but I assume we > will need some changes there anyway to set > QXL_INTERRUPT_CLIENT_MONITORS_CONFIG, > the qemu/hw/qxl.c function patching the MonitorsConfig into the romspace, > and setting the irq in int_pending, could return whether or not the flag > was > set in int_mask for example. Yes, interface_client_monitors_config() can return whenever the guest has masked the interrupt or not, and based on that spice-server can send the message to the agent or not. cheers, Gerd