From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SujpV-0000sa-Pm for qemu-devel@nongnu.org; Fri, 27 Jul 2012 08:39:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SujpR-0003j2-Lz for qemu-devel@nongnu.org; Fri, 27 Jul 2012 08:39:41 -0400 Received: from mail-gg0-f173.google.com ([209.85.161.173]:65360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SujpR-0003iu-HQ for qemu-devel@nongnu.org; Fri, 27 Jul 2012 08:39:37 -0400 Received: by ggnp1 with SMTP id p1so3043910ggn.4 for ; Fri, 27 Jul 2012 05:39:37 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 27 Jul 2012 14:39:22 +0200 Message-Id: <1343392763-17308-2-git-send-email-pbonzini@redhat.com> In-Reply-To: <1343392763-17308-1-git-send-email-pbonzini@redhat.com> References: <1343392763-17308-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] virtio-scsi: add ioeventfd support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Probably due to bad merge months ago, virtio-scsi-pci did not have ioeventfd support. Fix this and enable it by default, as is the case for other virtio-pci devices. Signed-off-by: Paolo Bonzini --- hw/virtio-pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 4e03f0b..82859a5 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -1040,6 +1040,7 @@ static int virtio_scsi_exit_pci(PCIDevice *pci_dev) } static Property virtio_scsi_properties[] = { + DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags, VIRTIO_PCI_FLAG_USE_IOEVENTFD_BIT, true), DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors, 2), DEFINE_VIRTIO_SCSI_PROPERTIES(VirtIOPCIProxy, host_features, scsi), DEFINE_PROP_END_OF_LIST(), -- 1.7.10.4