[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qxl: qxl's event named "QXL_INTERRUPT_DISPLAY"
From: |
Alon Levy |
Subject: |
Re: [Qemu-devel] qxl: qxl's event named "QXL_INTERRUPT_DISPLAY" |
Date: |
Mon, 25 Mar 2013 05:45:23 -0400 (EDT) |
> 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.
>
>