From patchwork Fri Jan 30 08:35:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Nicholas A. Bellinger" X-Patchwork-Id: 5747901 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 97717BF440 for ; Fri, 30 Jan 2015 09:09:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CD00A2025A for ; Fri, 30 Jan 2015 09:09:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 873832024D for ; Fri, 30 Jan 2015 09:09:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754056AbbA3JIx (ORCPT ); Fri, 30 Jan 2015 04:08:53 -0500 Received: from mail-ob0-f169.google.com ([209.85.214.169]:41791 "EHLO mail-ob0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752619AbbA3JIr (ORCPT ); Fri, 30 Jan 2015 04:08:47 -0500 Received: by mail-ob0-f169.google.com with SMTP id va8so22842747obc.0 for ; Fri, 30 Jan 2015 01:08:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=thmEJv3MGCVuHGjpacnH2Mg/r6a+nXhSCViz8CojT+Q=; b=DprlBcfMVyMMab7d81CFUC9AbAcGxSyQxfwQbpiAsQSufexVXs8HTVEgsMP1eTmadx GaC/xMneOHzBW8HRNCGxgAOdxlKHTzfBfSLugX/A9bpBE8IxHjgSe0wLOfnUrp6C0K8Y IRmikYSgICEhzA48bPItuLQPg9wcAcblhieXiGhiKXnAEh9xk1vjbF9ZJCYTrXTOKhpW EG5ix8Xx+77mbikHoTV3ijG3Mq9YChJHyev3Xa1XwBCgMXEJB6PNEUHmDkMK41IEralq mxW+kWN1XqZ6KO2v3mHXNP2JzI5x9U6bgEFcZVzYLnbHwpVC5yBBuFBO7aAo6+69Su/H 6UVg== X-Gm-Message-State: ALoCoQnHECcZnI+jR9VbCvUtzmxuHCPkgF23P3TUos7w8SkTzBPJDG3WzOFfvTSSzoHLM6ySGCD8 X-Received: by 10.182.56.165 with SMTP id b5mr3237172obq.4.1422608926713; Fri, 30 Jan 2015 01:08:46 -0800 (PST) Received: from localhost.localdomain (mail.linux-iscsi.org. [67.23.28.174]) by mx.google.com with ESMTPSA id o5sm5069911obz.9.2015.01.30.01.08.46 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 30 Jan 2015 01:08:46 -0800 (PST) From: "Nicholas A. Bellinger" To: target-devel , qemu-devel Cc: kvm-devel , Paolo Bonzini , "Michael S. Tsirkin" , Nicholas Bellinger Subject: [PATCH 1/3] vhost/scsi: Add VIRTIO_SCSI_F_HOTPLUG host_feature bit Date: Fri, 30 Jan 2015 08:35:48 +0000 Message-Id: <1422606950-25291-2-git-send-email-nab@daterainc.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1422606950-25291-1-git-send-email-nab@daterainc.com> References: <1422606950-25291-1-git-send-email-nab@daterainc.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(), };