* [Qemu-devel] qxl: qxl's event named "QXL_INTERRUPT_DISPLAY"
@ 2013-03-25 7:53 楼正伟
2013-03-25 9:45 ` Alon Levy
0 siblings, 1 reply; 2+ messages in thread
From: 楼正伟 @ 2013-03-25 7:53 UTC (permalink / raw)
To: qemu-devel
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?
If so, what's the irq's handler?
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] qxl: qxl's event named "QXL_INTERRUPT_DISPLAY"
2013-03-25 7:53 [Qemu-devel] qxl: qxl's event named "QXL_INTERRUPT_DISPLAY" 楼正伟
@ 2013-03-25 9:45 ` Alon Levy
0 siblings, 0 replies; 2+ messages in thread
From: Alon Levy @ 2013-03-25 9:45 UTC (permalink / raw)
To: 楼正伟; +Cc: qemu-devel
> 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.
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-25 9:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-25 7:53 [Qemu-devel] qxl: qxl's event named "QXL_INTERRUPT_DISPLAY" 楼正伟
2013-03-25 9:45 ` Alon Levy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).