From nobody Thu Apr 25 07:36:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1531145700599781.7564927522093; Mon, 9 Jul 2018 07:15:00 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AD12A308625E; Mon, 9 Jul 2018 14:14:58 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7349A3001647; Mon, 9 Jul 2018 14:14:58 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 075F018037ED; Mon, 9 Jul 2018 14:14:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w69EEtML002284 for ; Mon, 9 Jul 2018 10:14:55 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9E15291A2D; Mon, 9 Jul 2018 14:14:55 +0000 (UTC) Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.29]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 965299F6C0 for ; Mon, 9 Jul 2018 14:14:55 +0000 (UTC) Received: from mx.conquex.com (mx.conquex.com [87.120.9.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6B62A36A5C0 for ; Mon, 9 Jul 2018 14:14:52 +0000 (UTC) Received: from [94.156.238.70] (helo=localhost.localdomain) by mx.conquex.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1fcWwF-00027Q-E6; Mon, 09 Jul 2018 17:14:52 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=conquex.com; s=rsa1; h=Subject:To:From; bh=efOcUMUtzztNwiZcVEvMuL4Lzae9QyiNodDMujCoiUg=; b=Jvq19QJZKYIjQUiD+KIqPOAER7Guybc3FtjoThrN6tDiooJFRDwGAqHyYjHfDA37dTFuMq+6KBxl7mNW19ObK5JrACXyGsakIa81w19ATgEzOkbTj3jwamjBhXStv0+pqf5jg0z2awGWxiSls3F9S+RfyVCzGag0dIsht6VyqV4=; From: Ivan Mishonov To: libvir-list@redhat.com Date: Mon, 9 Jul 2018 17:14:35 +0300 Message-Id: <20180709141435.1857-1-ivan@conquex.com> X-Sender-cnX: ivan@conquex.com X-Spam-Score-Int: -9 X-Greylist: Sender passed SPF test, ACL 227 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 09 Jul 2018 14:14:53 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 09 Jul 2018 14:14:53 +0000 (UTC) for IP:'87.120.9.15' DOMAIN:'mx.conquex.com' HELO:'mx.conquex.com' FROM:'ivan@conquex.com' RCPT:'' X-RedHat-Spam-Score: -0.101 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS) 87.120.9.15 mx.conquex.com 87.120.9.15 mx.conquex.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.29 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.27 X-loop: libvir-list@redhat.com Cc: Ivan Mishonov Subject: [libvirt] [PATCH] Changed LPC slot from 1 to 31 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Mon, 09 Jul 2018 14:14:59 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Reviewed-by: Daniel P. Berrang=C3=A9 --- src/bhyve/bhyve_command.c | 2 +- src/bhyve/bhyve_device.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bhyve/bhyve_command.c b/src/bhyve/bhyve_command.c index 802997bd2d..e595b3d6c1 100644 --- a/src/bhyve/bhyve_command.c +++ b/src/bhyve/bhyve_command.c @@ -329,7 +329,7 @@ static int bhyveBuildLPCArgStr(const virDomainDef *def ATTRIBUTE_UNUSED, virCommandPtr cmd) { - virCommandAddArgList(cmd, "-s", "1,lpc", NULL); + virCommandAddArgList(cmd, "-s", "31,lpc", NULL); return 0; } =20 diff --git a/src/bhyve/bhyve_device.c b/src/bhyve/bhyve_device.c index 03aa6c93bd..2ed3013552 100644 --- a/src/bhyve/bhyve_device.c +++ b/src/bhyve/bhyve_device.c @@ -48,9 +48,9 @@ bhyveCollectPCIAddress(virDomainDefPtr def ATTRIBUTE_UNUS= ED, if (addr->domain =3D=3D 0 && addr->bus =3D=3D 0) { if (addr->slot =3D=3D 0) { return 0; - } else if (addr->slot =3D=3D 1) { + } else if (addr->slot =3D=3D 31) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", - _("PCI bus 0 slot 1 is reserved for the implici= t " + _("PCI bus 0 slot 31 is reserved for the implic= it " "LPC PCI-ISA bridge")); return -1; } --=20 2.18.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list