From nobody Wed May 14 02:50:29 2025 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1527515655237936.9404316318111; Mon, 28 May 2018 06:54:15 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0CC7C30B8400; Mon, 28 May 2018 13:54:13 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8AFFF5D6B5; Mon, 28 May 2018 13:54:12 +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 745684CA81; Mon, 28 May 2018 13:54:11 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w4SDs9rB012995 for ; Mon, 28 May 2018 09:54:09 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4E4992166BB6; Mon, 28 May 2018 13:54:09 +0000 (UTC) Received: from icr.brq.redhat.com (unknown [10.43.2.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id E71002166BB2 for ; Mon, 28 May 2018 13:54:08 +0000 (UTC) From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Date: Mon, 28 May 2018 15:54:02 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 1/4] vmx: add VIR_DOMAIN_DEF_FEATURE_NO_BOOT_ORDER 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: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Mon, 28 May 2018 13:54:13 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Further patches will introduce validation and a default setting of def->os.bootDevs in postParse. Introduce a feature flag to opt out of this and set it in the vmx driver. Signed-off-by: J=C3=A1n Tomko --- src/conf/domain_conf.h | 1 + src/vmx/vmx.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index b7e52a1e03..e10206b358 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -2557,6 +2557,7 @@ typedef enum { VIR_DOMAIN_DEF_FEATURE_NAME_SLASH =3D (1 << 3), VIR_DOMAIN_DEF_FEATURE_INDIVIDUAL_VCPUS =3D (1 << 4), VIR_DOMAIN_DEF_FEATURE_USER_ALIAS =3D (1 << 5), + VIR_DOMAIN_DEF_FEATURE_NO_BOOT_ORDER =3D (1 << 6), } virDomainDefFeatures; =20 =20 diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c index df6a58a474..bdc27b15b0 100644 --- a/src/vmx/vmx.c +++ b/src/vmx/vmx.c @@ -550,7 +550,8 @@ static virDomainDefParserConfig virVMXDomainDefParserCo= nfig =3D { .devicesPostParseCallback =3D virVMXDomainDevicesDefPostParse, .domainPostParseCallback =3D virVMXDomainDefPostParse, .features =3D (VIR_DOMAIN_DEF_FEATURE_WIDE_SCSI | - VIR_DOMAIN_DEF_FEATURE_NAME_SLASH), + VIR_DOMAIN_DEF_FEATURE_NAME_SLASH | + VIR_DOMAIN_DEF_FEATURE_NO_BOOT_ORDER), }; =20 struct virVMXDomainDefNamespaceData { --=20 2.16.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list