From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK3y3-00030R-B7 for qemu-devel@nongnu.org; Mon, 25 Mar 2013 05:45:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK3y1-0005G4-QS for qemu-devel@nongnu.org; Mon, 25 Mar 2013 05:45:27 -0400 Received: from mx3-phx2.redhat.com ([209.132.183.24]:45209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK3y1-0005Fy-IS for qemu-devel@nongnu.org; Mon, 25 Mar 2013 05:45:25 -0400 Date: Mon, 25 Mar 2013 05:45:23 -0400 (EDT) From: Alon Levy Message-ID: <1880888129.13962715.1364204723919.JavaMail.root@redhat.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qxl: qxl's event named "QXL_INTERRUPT_DISPLAY" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?5qW85q2j5Lyf?= Cc: qemu-devel@nongnu.org > Hi, I'm learning about qxl device in KVM VM. I got a problem and asks > for help. Thanks. > > The qemu's command is: > qemu-system-x86_64 -spice port=5900,disable-ticketing -vga > qxl > --enable-kvm ... > > The code in function 'interface_get_command' is followed: > SPICE_RING_POP(ring, notify); > if (notify) { > qxl_send_events(qxl, QXL_INTERRUPT_DISPLAY); > } > > What is the meaning about 'QXL_INTERRUPT_DISPLAY' ? > Does it means sending a 'QXL_INTERRUPT_DISPLAY' irq to vm? Yes. > If so, what's the irq's handler? It's in the driver code: http://cgit.freedesktop.org/~airlied/linux/tree/drivers/gpu/drm/qxl/qxl_irq.c?h=qxl-upstream&id=1a401a749cb1f06e637ef0e91fb8c120963aa356#n28 > > Thanks. > >