From patchwork Mon Oct 24 20:10:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Corey Minyard X-Patchwork-Id: 79071 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp2767057qge; Mon, 24 Oct 2016 13:15:51 -0700 (PDT) X-Received: by 10.107.141.72 with SMTP id p69mr13957291iod.98.1477340151336; Mon, 24 Oct 2016 13:15:51 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id k3si2625196iti.17.2016.10.24.13.15.51 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 24 Oct 2016 13:15:51 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Received: from localhost ([::1]:49662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bylew-0000oG-2I for patch@linaro.org; Mon, 24 Oct 2016 16:15:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bylZr-0005QT-22 for qemu-devel@nongnu.org; Mon, 24 Oct 2016 16:10:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bylZq-0001il-4E for qemu-devel@nongnu.org; Mon, 24 Oct 2016 16:10:35 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:36666) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bylZp-0001i5-Qq for qemu-devel@nongnu.org; Mon, 24 Oct 2016 16:10:34 -0400 Received: by mail-pf0-x243.google.com with SMTP id r16so17354611pfg.3 for ; Mon, 24 Oct 2016 13:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rIPFIlDJD4+J1TL2f6jrsg/Qbknr1+oLFSAbr3TbO8Q=; b=erLbrz6ADMV4QCmi8UoiRBiJWqDiaG0yuib3FuBaGwtLdH5n6pYv0gBAXU/aQyuiiv rtdGoZn1X6pnsZZLsfvribGc4q3l8dW3EWXLHYt3JwOf5ZBppEBWPxnqOTx8a8nbo9cP XhSZH0DLULjo9rperZBe2DvylgyuRO2HnbECOgqzyDGGEAGDnhQ6InTpqEKmht+5zaBR B+VOnVzrhiBUVtLVmMcJItyuxMJMdQ7wHrEBBsztYv3Kmh1puHOqnacjOmivFJbdvQz4 Pg8wVrbv2ZtgdZS7bM0La+PCBxIJtx8HyD7QodZLj9ITyJl+x6FcaUXkfZoltRGuW5gD Q6kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=rIPFIlDJD4+J1TL2f6jrsg/Qbknr1+oLFSAbr3TbO8Q=; b=OnDMC57S9Wyox/oR9uek/5SlSfp6DQpfddWInqu+zXlNkwfk8TnJFZ7oJ8FYCPY+pa XKXhWJChyoS0qYQlaY9WXwASMSFr/ChztBwJ+rEDO2oujJYLJj5FNi5dZjP6QWeDIEg2 wAYEl4gnbLv3j8JubPjc5MhQfTmcTk8WUD7vhUvXpp0KyQHAPoPjPKagMs4222VyxVtb ntSZyFcOMqlCdtPz4psZFq/RcamEUPnszfKGeldZV4y+nWTNSarIDD7jYAMtDVMia7/a lbThORmGSJymZb9zIeAB9/9VMiV5gfcKTY+LwXBOgGWQU+i7CvSj4WaPlJgYjfuSaxRE NWhQ== X-Gm-Message-State: ABUngvcz7KNXE21LgGXSYTW65n0U7di2tB4EtXxzV3BmAljbHdPrQkY2wzWkl6np4duzWA== X-Received: by 10.99.219.81 with SMTP id x17mr26725080pgi.138.1477339832315; Mon, 24 Oct 2016 13:10:32 -0700 (PDT) Received: from serve.minyard.net (serve.minyard.net. [2001:470:b8f6:1b::1]) by smtp.gmail.com with ESMTPSA id 5sm489383pfv.59.2016.10.24.13.10.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2016 13:10:29 -0700 (PDT) Received: from t430.minyard.net (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPA id B906713F8; Mon, 24 Oct 2016 15:10:27 -0500 (CDT) Received: by t430.minyard.net (Postfix, from userid 1000) id 33A1230006F; Mon, 24 Oct 2016 15:10:24 -0500 (CDT) From: minyard@acm.org To: Igor Mammedov , "Michael S . Tsirkin" , Paolo Bonzini , qemu-devel@nongnu.org, minyard@acm.org, cminyard@mvista.com Date: Mon, 24 Oct 2016 15:10:15 -0500 Message-Id: <1477339821-11782-2-git-send-email-minyard@acm.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477339821-11782-1-git-send-email-minyard@acm.org> References: <1477339821-11782-1-git-send-email-minyard@acm.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::243 Subject: [Qemu-devel] [PATCH 1/7] ipmi: Remove hotplug from IPMI BMCs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Corey Minyard No hotplug support, make sure it doesn't happen. Signed-off-by: Corey Minyard Reviewed-by: Marc-André Lureau --- hw/ipmi/ipmi_bmc_extern.c | 1 + hw/ipmi/ipmi_bmc_sim.c | 1 + 2 files changed, 2 insertions(+) -- 2.7.4 diff --git a/hw/ipmi/ipmi_bmc_extern.c b/hw/ipmi/ipmi_bmc_extern.c index 4b310e5..d30b286 100644 --- a/hw/ipmi/ipmi_bmc_extern.c +++ b/hw/ipmi/ipmi_bmc_extern.c @@ -512,6 +512,7 @@ static void ipmi_bmc_extern_class_init(ObjectClass *oc, void *data) bk->handle_command = ipmi_bmc_extern_handle_command; bk->handle_reset = ipmi_bmc_extern_handle_reset; + dc->hotpluggable = false; dc->realize = ipmi_bmc_extern_realize; dc->props = ipmi_bmc_extern_properties; } diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c index 17c7c0e..a0282cb 100644 --- a/hw/ipmi/ipmi_bmc_sim.c +++ b/hw/ipmi/ipmi_bmc_sim.c @@ -1791,6 +1791,7 @@ static void ipmi_sim_class_init(ObjectClass *oc, void *data) DeviceClass *dc = DEVICE_CLASS(oc); IPMIBmcClass *bk = IPMI_BMC_CLASS(oc); + dc->hotpluggable = false; dc->realize = ipmi_sim_realize; bk->handle_command = ipmi_sim_handle_command; }