Message ID | 1512682489-4474-7-git-send-email-minyard@acm.org |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="pAkcwFj7"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yt88F3Yjtz9s81 for <incoming@patchwork.ozlabs.org>; Fri, 8 Dec 2017 08:42:04 +1100 (AEDT) Received: from localhost ([::1]:34468 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1eN3vd-0008O8-QN for incoming@patchwork.ozlabs.org; Thu, 07 Dec 2017 16:42:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1eN3ot-0001w1-H5 for qemu-devel@nongnu.org; Thu, 07 Dec 2017 16:35:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1eN3oq-00053n-CG for qemu-devel@nongnu.org; Thu, 07 Dec 2017 16:35:03 -0500 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:45766) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1eN3oq-00053I-5W for qemu-devel@nongnu.org; Thu, 07 Dec 2017 16:35:00 -0500 Received: by mail-pf0-x242.google.com with SMTP id u19so5641408pfa.12 for <qemu-devel@nongnu.org>; Thu, 07 Dec 2017 13:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=uRSobrHjxqieEnAdlolrJj1OZXyQ6+ruX8a9cfbGsE0=; b=pAkcwFj7GUPsMSWQ8qeOKKJvZpKhfHXBrQ3iMVizumWRx4R0y2Jx29vPjmhmpipnZD CNmaCxbF0WCjrSQpMbYDIQ+GOZrGeZKz/HRPoV0gNzKJh7ljy8B8/XwVaFe4XOdFFRnX iAEi+Ukzd319M540pIpqVRaBKjtDMvet4HvCTIXURQOtoqjM1xEzIjPthL3bAxiHyBH/ mC6xWHHuyvKiPPjC9srmjCt2XLgPRKstvavuEeBNVJC2wnKDMCKihooZbZMTUCVJi1Ze EZVoF+8X8ZoLafQuRU8NoXTJ2LBERLSSof1ijdjTkh5Pi9P2abCG4tyEu+eEOjDL7Oie ke6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=uRSobrHjxqieEnAdlolrJj1OZXyQ6+ruX8a9cfbGsE0=; b=GFgTewNmfWd0eosLCfXnViIARN3SiUj9II+uE1HZnXxHtpRZDF+0tDRYWHLMcdTVD/ FZYLWWecgiNk845t2zSnboW/m9BqcmV3ftkUcFLEgbSMYE8Y6enaL3TV+AmKjzRzV4/S jk0rEOaxG/s22P0xy2VO55pcH3x/oBCebfwrKiGMRT7RLQhOe/svbmjyM9cLfXjjQGqo o1pmBK0ZrXk2AjYxetM23fgeOeAyDFZW4+YatTYF3a3c4sZuZjC7LoDAkVuNGltbhppp XJZhfLMsSW/Prz0V1cknWbBPBvVGI+NOGMUbkorAbJeqrPg8YhPi7YYUo2VHx7+1A9Uh vp5A== X-Gm-Message-State: AJaThX5O1h2OvlJLuIoV9YWrZrx0IIvVdKxUcH59LlC9QAOJCMIUHxwE Mz7BE1zDYZ+NiwVwsdNgdudJvJ8= X-Google-Smtp-Source: AGs4zMY/4SmegZkMy9sHGEvvBiG4UFvicVUhMdOzNB7kTy1uY+LmrWzocVmtvFsHdMo90Q0VxN5hJg== X-Received: by 10.101.101.208 with SMTP id y16mr26974073pgv.159.1512682499106; Thu, 07 Dec 2017 13:34:59 -0800 (PST) Received: from serve.minyard.net ([47.184.168.85]) by smtp.gmail.com with ESMTPSA id u18sm10965021pgn.72.2017.12.07.13.34.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2017 13:34:57 -0800 (PST) Received: from t430.minyard.net (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPA id CF89EDF0; Thu, 7 Dec 2017 15:34:53 -0600 (CST) Received: by t430.minyard.net (Postfix, from userid 1000) id 4F9CE302366; Thu, 7 Dec 2017 15:34:52 -0600 (CST) From: minyard@acm.org To: qemu-devel@nongnu.org Date: Thu, 7 Dec 2017 15:34:48 -0600 Message-Id: <1512682489-4474-7-git-send-email-minyard@acm.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512682489-4474-1-git-send-email-minyard@acm.org> References: <1512682489-4474-1-git-send-email-minyard@acm.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::242 Subject: [Qemu-devel] [PATCH 6/7] smbios:ipmi: Ignore IPMI devices with no fwinfo function X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Corey Minyard <cminyard@mvista.com> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
Add PCI IPMI interfaces
|
expand
|
diff --git a/hw/smbios/smbios_type_38.c b/hw/smbios/smbios_type_38.c index 56e8609..5475323 100644 --- a/hw/smbios/smbios_type_38.c +++ b/hw/smbios/smbios_type_38.c @@ -95,6 +95,9 @@ static void smbios_add_ipmi_devices(BusState *bus) ii = IPMI_INTERFACE(obj); iic = IPMI_INTERFACE_GET_CLASS(obj); memset(&info, 0, sizeof(info)); + if (!iic->get_fwinfo) { + continue; + } iic->get_fwinfo(ii, &info); smbios_build_one_type_38(&info); continue;