Skip to contentSkip to conversation

vhost-user:how to notify the guest?

Qemu-devel Linhaifeng 1 participant 1 message Sep 16, 2014

lore
Share & tools
lore

Linhaifeng

author
#0 lore 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