All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alon Levy <alevy@redhat.com>
To: 楼正伟 <lzw19860818@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qxl: qxl's event named "QXL_INTERRUPT_DISPLAY"
Date: Mon, 25 Mar 2013 05:45:23 -0400 (EDT)	[thread overview]
Message-ID: <1880888129.13962715.1364204723919.JavaMail.root@redhat.com> (raw)
In-Reply-To: <CACN2QMWWXwAsqgXtrJDMcFMSkwxjHt+6ajO94CNMdcZ4HpMYBw@mail.gmail.com>

> 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.
> 
> 

      reply	other threads:[~2013-03-25  9:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25  7:53 [Qemu-devel] qxl: qxl's event named "QXL_INTERRUPT_DISPLAY" 楼正伟
2013-03-25  9:45 ` Alon Levy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1880888129.13962715.1364204723919.JavaMail.root@redhat.com \
    --to=alevy@redhat.com \
    --cc=lzw19860818@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.