qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] vhost-user:how to notify the guest?
@ 2014-09-16  6:21 Linhaifeng
  0 siblings, 0 replies; only message in thread
From: Linhaifeng @ 2014-09-16  6:21 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-16  6:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-16  6:21 [Qemu-devel] vhost-user:how to notify the guest? Linhaifeng

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