From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH7ZN-0006vI-SA for qemu-devel@nongnu.org; Fri, 30 Jan 2015 04:08:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YH7ZH-0002gW-4J for qemu-devel@nongnu.org; Fri, 30 Jan 2015 04:08:53 -0500 Received: from mail-oi0-f51.google.com ([209.85.218.51]:60863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH7ZG-0002gR-Vb for qemu-devel@nongnu.org; Fri, 30 Jan 2015 04:08:47 -0500 Received: by mail-oi0-f51.google.com with SMTP id x69so33814477oia.10 for ; Fri, 30 Jan 2015 01:08:46 -0800 (PST) From: "Nicholas A. Bellinger" Date: Fri, 30 Jan 2015 08:35:48 +0000 Message-Id: <1422606950-25291-2-git-send-email-nab@daterainc.com> In-Reply-To: <1422606950-25291-1-git-send-email-nab@daterainc.com> References: <1422606950-25291-1-git-send-email-nab@daterainc.com> Subject: [Qemu-devel] [PATCH 1/3] vhost/scsi: Add VIRTIO_SCSI_F_HOTPLUG host_feature bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: target-devel , qemu-devel Cc: Paolo Bonzini , Nicholas Bellinger , kvm-devel , "Michael S. Tsirkin" From: Nicholas Bellinger Cc: Michael S. Tsirkin Cc: Paolo Bonzini Signed-off-by: Nicholas Bellinger --- hw/virtio/virtio-pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index dde1d73..5127efb 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c @@ -1198,6 +1198,8 @@ static const TypeInfo virtio_scsi_pci_info = { static Property vhost_scsi_pci_properties[] = { DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors, DEV_NVECTORS_UNSPECIFIED), + DEFINE_PROP_BIT("hotplug", VirtIOPCIProxy, host_features, + VIRTIO_SCSI_F_HOTPLUG, true), DEFINE_PROP_END_OF_LIST(), }; -- 1.9.1