From nobody Mon Feb 9 17:23:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=126.com ARC-Seal: i=1; a=rsa-sha256; t=1590069637; cv=none; d=zohomail.com; s=zohoarc; b=Nrs3CfmKGplfFxhGLxfxVO7ueCKilYcUuFVceEeEGBlCFQBQSILAm1eERp92an8r3u2xL4soCYvwXjklHX5HFhkEm1ac7ihKQpQYTxCn+mJBmzA7hGQ0c1wvv5HdP7CDcM7hLyLqMeoOC5zPjcbSa++tgRY2+KMoFNd4QqbmrSw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590069637; h=Content-Type:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=+8mJ6Ls15oL/WeMhRRV+9psPSplpo0287+N3VqjyT50=; b=Bs32NePGXUGwtvrjx6GbukD5lApxCpY38pqAcxtgI5QLjHJLV21ET8YIrMg/UO5nntu5qx+dFplPlE1HU5GD1cGhoNws9Riia/TcclVt2Q+Tk4drS47+w60Nkdtbo+dNrZzHfCc4kZ5vhZ2TGo/8F4IUOfo8T/lX/Je6fygOiCY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1590069637275464.83566330930216; Thu, 21 May 2020 07:00:37 -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-344-WR7BLNEXNy2yxK449c066g-1; Thu, 21 May 2020 10:00:30 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B3536107ACCA; Thu, 21 May 2020 14:00:24 +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 825B170909; Thu, 21 May 2020 14:00:23 +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 C65CE1809543; Thu, 21 May 2020 14:00:18 +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 04LE0HtD002359 for ; Thu, 21 May 2020 10:00:17 -0400 Received: by smtp.corp.redhat.com (Postfix) id F2E452156A59; Thu, 21 May 2020 14:00:16 +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 B75232156A4F for ; Thu, 21 May 2020 14:00:14 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (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 133051801233 for ; Thu, 21 May 2020 14:00:14 +0000 (UTC) Received: from mail-m963.mail.126.com (mail-m963.mail.126.com [123.126.96.3]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-148-lqAUhFIkPhGzsElEYjbicw-1; Thu, 21 May 2020 10:00:10 -0400 Received: from bogon.localdomain (unknown [112.80.215.163]) by smtp8 (Coremail) with SMTP id NORpCgBXd0hXicZeL+4iFQ--.246S5; Thu, 21 May 2020 22:00:06 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590069633; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=+8mJ6Ls15oL/WeMhRRV+9psPSplpo0287+N3VqjyT50=; b=S6WgfmJ+8buJJMKEvsU3wq89nYEmYdcWwGUOJXMuPm1s/2EZgSSNzhUDNRZ27y7hVsQR+T N71ibp0WXhyh49vphgfD1+7S/SIdXAl6KRTn+jzE+b25/YpiVDfAoAIPT7NsC2l3xjCqqr 8CW2xzcybq5UW/17SwULQrTKBERGfME= X-MC-Unique: WR7BLNEXNy2yxK449c066g-1 X-MC-Unique: lqAUhFIkPhGzsElEYjbicw-1 From: Chen Hanxiao To: libvir-list@redhat.com Subject: [PATCH 3/3] doc: downscript: updating the documentation Date: Thu, 21 May 2020 09:59:51 -0400 Message-Id: <1590069591-1946-4-git-send-email-chen_han_xiao@126.com> In-Reply-To: <1590069591-1946-1-git-send-email-chen_han_xiao@126.com> References: <1590069591-1946-1-git-send-email-chen_han_xiao@126.com> X-CM-TRANSID: NORpCgBXd0hXicZeL+4iFQ--.246S5 X-Coremail-Antispam: 1Uf129KBjvdXoW7Xw48GF18Wr4kXw1kJrW8Zwb_yoWkuFb_Gr Wqq3y0yw4UXFyfKayav3yYvrZ3W3yxZayxJFs5Kr1kt3s0vws8X3ZFga4kJr1fXrZIvryf tF1DXa45tw4vgjkaLaAFLSUrUUUUbb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU8fcTPUUUUU== X-Originating-IP: [112.80.215.163] X-CM-SenderInfo: xfkh0spkdqs5xldrqiyswou0bp/1tbiEwkrrlpD9c0kJgAAs8 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 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.13 X-Mimecast-Spam-Score: 2 X-Mimecast-Originator: redhat.com X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" We can give a postscript for some netdev. Signed-off-by: Chen Hanxiao --- docs/formatdomain.html.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 23eb029234..4e2320d537 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -5879,7 +5879,10 @@

After creating/opening the tap device, an optional shell script (given in the path attribute of - the <script> element) will be run; this can + the <script> element) will be run; + Also, after detaching/closing the tap device, an optional shell + script (given in the path attribute of + the <downscript> element) will be run; this can be used to do whatever extra host network integration is required.

@@ -5889,6 +5892,7 @@ <devices> <interface type=3D'ethernet'> <script path=3D'/etc/qemu-ifup-mynet'/> + <downscript path=3D'/etc/qemu-ifdown-mynet'/> </interface> ... <interface type=3D'ethernet'> --=20 2.23.0