From nobody Mon Feb 9 10:48:35 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.74 as permitted sender) client-ip=63.128.21.74; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-74.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1585120402; cv=none; d=zohomail.com; s=zohoarc; b=IHeUkaOwY1mmRipGtm9BTnVLaLJj7CN4bOLWPHihcdeWYZxMr5YMkCAxbWZEaDwxfgyi9wlA4cOBhy64Cpauf5lpj4l9hrvZmd05QVVx1hhplkin6anWVmjTZBpudjHmS+XK2azxHGQuuW8t4MSJXH0OnSzc/6Ln/bxu+iVErPU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585120402; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=ldG12NfCfzqVPdNgGir75WPVx38Rv6hfWasm0VQDCw4=; b=c2mD6AM1RU6hLJfnc0PF9JysRtDGPKD7YpYoiCD8WnD2WHfqEODKZzgMS7E//Su1LWM+jtQlmp8g6d1ZcIihj+8absqYNK+ejaEijKiPB7HWp8TwN/8x0m2AbWid63FK1w66sKrvrKSrOPDwBDVGWAOOKgGTFa6tpE5OKyF3P6M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by mx.zohomail.com with SMTPS id 1585120402296109.27009111902873; Wed, 25 Mar 2020 00:13:22 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-474-4M5Y391POLyzoyxeNGA7mQ-1; Wed, 25 Mar 2020 03:13:17 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 85F09108592F; Wed, 25 Mar 2020 07:13:12 +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 5805DA0A92; Wed, 25 Mar 2020 07:13: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 BA667863B9; Wed, 25 Mar 2020 07:13:11 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02P7CTlO023868 for ; Wed, 25 Mar 2020 03:12:30 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9B35B2037E57; Wed, 25 Mar 2020 07:12:29 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 969502037E45 for ; Wed, 25 Mar 2020 07:12:28 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1A6D4185A78E for ; Wed, 25 Mar 2020 07:12:28 +0000 (UTC) Received: from mail-m24147.qiye.163.com (mail-m24147.qiye.163.com [220.194.24.147]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-275-p45gZpPYOHGQZhUI5skfOA-1; Wed, 25 Mar 2020 03:12:24 -0400 Received: from localhost.localdomain (unknown [123.232.151.103]) by smtp4 (Coremail) with SMTP id JedpCgD3ftNNBHtey+koAw--.408S14; Wed, 25 Mar 2020 15:12:21 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585120401; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=ldG12NfCfzqVPdNgGir75WPVx38Rv6hfWasm0VQDCw4=; b=C79oxSMnN9fCpRMiWdF10EKGZsUlHg5iO2p23NhrrGMwskCJswHPqSQ+AfSuz0cs0wtqT+ rrl0+RlC0u5HGqqLQE249tLpNNJw5wRlH/zOYjk1T8WKqp89zpaWr0OjQjq79q8FSaxdVR g0CLLnAXzs6dT9z7e6yDn8ZHyK+kcTQ= X-MC-Unique: 4M5Y391POLyzoyxeNGA7mQ-1 X-MC-Unique: p45gZpPYOHGQZhUI5skfOA-1 From: Shi Lei To: libvir-list@redhat.com Subject: [RFC 12/29] conf: Replace virNetworkDNSForwarder(hardcoded) with namesake(generated) Date: Wed, 25 Mar 2020 15:11:52 +0800 Message-Id: <20200325071209.20841-13-shi_lei@massclouds.com> In-Reply-To: <20200325071209.20841-1-shi_lei@massclouds.com> References: <20200325071209.20841-1-shi_lei@massclouds.com> X-CM-TRANSID: JedpCgD3ftNNBHtey+koAw--.408S14 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUU8529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvj4iQeOhDUUUU X-Originating-IP: [123.232.151.103] X-CM-SenderInfo: pvklsz1hl6ztxvvfz0xxgvhudrp/1tbiTRXxT1dqAN0iHwAAs7 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 02P7CTlO023868 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 2 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Shi Lei --- docs/schemas/network.rng | 4 ++++ src/conf/network_conf.h | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/schemas/network.rng b/docs/schemas/network.rng index c83a796..0034c4f 100644 --- a/docs/schemas/network.rng +++ b/docs/schemas/network.rng @@ -270,6 +270,10 @@ + diff --git a/src/conf/network_conf.h b/src/conf/network_conf.h index d4d3c01..1f96999 100644 --- a/src/conf/network_conf.h +++ b/src/conf/network_conf.h @@ -104,13 +104,6 @@ struct _virNetworkDHCPHostDef { virSocketAddr ip; }; =20 -typedef struct _virNetworkDNSForwarder virNetworkDNSForwarder; -typedef virNetworkDNSForwarder *virNetworkDNSForwarderPtr; -struct _virNetworkDNSForwarder { - virSocketAddr addr; - char *domain; -}; - typedef struct _virNetworkDNSDef virNetworkDNSDef; typedef virNetworkDNSDef *virNetworkDNSDefPtr; struct _virNetworkDNSDef { --=20 2.17.1