qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Linhaifeng <haifeng.lin@huawei.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] vhost-user:how to notify the guest?
Date: Tue, 16 Sep 2014 14:21:10 +0800	[thread overview]
Message-ID: <5417D6D6.7030702@huawei.com> (raw)

Hi,

I write the data to the rx-ring and write the fd to notify the guest but there is no interrupts in the guest.

my notify code:

uint64_t kick_it = 1;
write(vring[0]->kickfd, &kick_it, sizeof(kick_it));

cat /proc/interrupts in the guest:
41:	0	PCI-MSI-EDGE	virtio0-input
42:	0	PCI-MSI-EDGE	virtio0-output

                 reply	other threads:[~2014-09-16  6:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5417D6D6.7030702@huawei.com \
    --to=haifeng.lin@huawei.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 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).