From nobody Mon Feb 9 05:00:49 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1663577751; cv=none; d=zohomail.com; s=zohoarc; b=chC0tGipwv8UbEt61hMBi3xDoG9b8IK0+q9mVqcvEXWL+g6zg5piYybxVB5c5/7U1LAQ908kQ0lv5e8g/LHIS8kWQjnn4nP/zxhq6D4taRNXdVpWcpKdDVbv/QAddlrpqHWeKwZe93ocnoUENc3pGrc+7LUNHmFnLaP7zkBAnjs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663577751; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=+PlrNl3owq9+AZ1RytMjRI6DNW78EPr687u6Z7FXiak=; b=JYj82yH5l4pj8jkyMdmWm0QnK4pm3+WPQSLVi26VyHap3sdlubHrSGpXPP0yxcgIGC3bWbbqp+hxMEijoyk0btVhkuuvdIc45ixMbiZ24JDjRoAPh6tlvyZVl8e+K5b/oiR70yWpPdTKLEpYgm7NNpPRUeA3SMlGJMkpoweL3O4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1663577751503646.1573013779649; Mon, 19 Sep 2022 01:55:51 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-397-q8rJQd_QMXGyiEOjmeA0_w-1; Mon, 19 Sep 2022 04:55:47 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4205A1C0CE77; Mon, 19 Sep 2022 08:55:45 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2AA8FC15BB9; Mon, 19 Sep 2022 08:55:45 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 0C9E91946597; Mon, 19 Sep 2022 08:55:45 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 64E3219465B3 for ; Mon, 19 Sep 2022 08:55:43 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 343C9414A809; Mon, 19 Sep 2022 08:55:43 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id A437840C6EC3 for ; Mon, 19 Sep 2022 08:55:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663577750; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=+PlrNl3owq9+AZ1RytMjRI6DNW78EPr687u6Z7FXiak=; b=E3duO0H88jvvSp+LNNNmf3xREjrxT0U8V6SFP4dMn23pv1Q8k6YxP6CZ4vnaHJWbLzoFdm 5OLrzX5QhnDJYEaxCV/zSoaGNzhyU5k9SRJhlVw9aV5v9ja3z0AJC1ug0QPYr/1X+qbCJ+ bOSrZOlm5lfE31fQpgxrvsKK/oQBhq4= X-MC-Unique: q8rJQd_QMXGyiEOjmeA0_w-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 21/37] conf: domain: Convert 'mode' field of the 'direct' type of virDomainNetDef to proper type Date: Mon, 19 Sep 2022 10:55:06 +0200 Message-Id: <4512ab645db155b215486aa9c288631e8e0df702.1663577578.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1663577753119100003 Content-Type: text/plain; charset="utf-8" Use 'virNetDevMacVLanMode'. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- src/conf/domain_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 3d13c7a3de..8fecf0566c 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -1130,7 +1130,7 @@ struct _virDomainNetDef { } internal; struct { char *linkdev; - int mode; /* enum virMacvtapMode from util/macvtap.h */ + virNetDevMacVLanMode mode; } direct; struct { virDomainHostdevDef def; --=20 2.37.1