qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] vhost-user:how to notify the guest?


From: Linhaifeng
Subject: [Qemu-devel] vhost-user:how to notify the guest?
Date: Tue, 16 Sep 2014 14:21:10 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.1.0

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 via email to

[Prev in Thread] Current Thread [Next in Thread]