From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTm94-00014c-Gz for qemu-devel@nongnu.org; Tue, 16 Sep 2014 02:21:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTm8y-0004tP-6A for qemu-devel@nongnu.org; Tue, 16 Sep 2014 02:21:46 -0400 Received: from szxga01-in.huawei.com ([119.145.14.64]:35214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTm8x-0004pm-9n for qemu-devel@nongnu.org; Tue, 16 Sep 2014 02:21:40 -0400 Message-ID: <5417D6D6.7030702@huawei.com> Date: Tue, 16 Sep 2014 14:21:10 +0800 From: Linhaifeng MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] vhost-user:how to notify the guest? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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