From nobody Sat May 18 13:16:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1673584985; cv=none; d=zohomail.com; s=zohoarc; b=Wx7HwVyRcFE0oxB6Xiqu72VIBNpmdogNsTo3d+nUYwCzLcoy/NUdUnLd+IqOAPiw9Z1b4lCBxoE3hf+EIpFOkqg6QYAGy2FQjzGtsObs85uvif0EFy6mPrrsPGblH65HWGlC9NdIyOWt5JlXJeLab01sqSBlejqtRCkIpm6q9NU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673584985; 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=Td5qGWc0Y0bRiNOkEjQQaV0ueB68+jKytaj5jJNrpO0=; b=JrA6KDVsfLFU9Umt3i2UrwWu+Guq4ZebM2ixXKklIA0CaYCbIYc7FGjrhxxTg+uHne9D/KWhvnwnxj2bjC4qy46CeZVgjNaCA5bSCyKy4uDcxZN1ze+Aw+XwV/dko0G2cVJ1q78B780nKRuR2CDcA55Gsg8L7v6U3Gq1imNQ6wE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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.133.124]) by mx.zohomail.com with SMTPS id 1673584985931958.1465011161733; Thu, 12 Jan 2023 20:43:05 -0800 (PST) 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-538-ShGYtKkZOzOkNo2ihSrrVw-1; Thu, 12 Jan 2023 23:42:26 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3514C280BCAE; Fri, 13 Jan 2023 04:42:23 +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 E329E492D8A; Fri, 13 Jan 2023 04:42:21 +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 8EF4D194705E; Fri, 13 Jan 2023 04:42:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A3A1B1946A78 for ; Fri, 13 Jan 2023 04:42:18 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 871D32166B29; Fri, 13 Jan 2023 04:42:18 +0000 (UTC) Received: from vhost3.router.laine.org (unknown [10.2.16.63]) by smtp.corp.redhat.com (Postfix) with ESMTP id 67E4B2166B26 for ; Fri, 13 Jan 2023 04:42:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673584985; 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=Td5qGWc0Y0bRiNOkEjQQaV0ueB68+jKytaj5jJNrpO0=; b=caIxI0m436/6urdThEkWLWZQNuYw6Ac0ZTmkxARj5j+IjJYAO3geN8uUc/1RiFkKsfXZmi EtG/taR9DsBrts+wZoK84dtCGHTz/03ugAjJdc0mq94jPGdx1r1PgpOXvbFKhmZzK7EW99 DKoYNHDhHwjDZq8vC5E9Umc1VJyRDZY= X-MC-Unique: ShGYtKkZOzOkNo2ihSrrVw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Laine Stump To: libvir-list@redhat.com Subject: [libvirt PATCH 1/3] conf: remove attribute Date: Thu, 12 Jan 2023 23:42:16 -0500 Message-Id: <20230113044218.719810-2-laine@redhat.com> In-Reply-To: <20230113044218.719810-1-laine@redhat.com> References: <20230113044218.719810-1-laine@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 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.10 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: 1673584987037100004 Content-Type: text/plain; charset="utf-8"; x-default="true" This attribute was added to support setting the --interface option for passt, but in a post-push/pre-9.0-release review, danpb pointed out that it would be better to use the existing attribute to set --interface rather than creating a new attribute (in the wrong place). So we remove backend/upstream, and change the passt commandline creation to grab the name for --interface from source/dev. Signed-off-by: Laine Stump Reviewed-by: Jiri Denemark --- docs/formatdomain.rst | 9 +++++---- src/conf/domain_conf.c | 15 +++++++++++++-- src/conf/domain_conf.h | 1 + src/conf/schemas/domaincommon.rng | 13 ++++++++----- src/qemu/qemu_passt.c | 4 ++-- tests/qemuxml2argvdata/net-user-passt.xml | 3 ++- 6 files changed, 31 insertions(+), 14 deletions(-) diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst index 2c44f77ab6..490a954745 100644 --- a/docs/formatdomain.rst +++ b/docs/formatdomain.rst @@ -4821,9 +4821,9 @@ destined for the host toward the guest instead. =20 When the passt backend is used, the ```` attribute ``logFile`` can be used to tell the passt process for this interface -where to write its message log, and the ```` attribute -``upstream`` can tell it to restrict upstream traffic to a particular -host interface. +where to write its message log, and the ```` attribute ``dev`` +can tell it to use a particular host interface to derive the routes +given to the guest for forwarding traffic upstream. =20 Additionally, when passt is used, multiple ```` elements can be added to forward incoming network traffic for the host to this @@ -4855,8 +4855,9 @@ ports **with the exception of some subset**. ... - + + diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index e43dee1a60..5379204f89 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -9038,7 +9038,6 @@ virDomainNetBackendParseXML(xmlNodePtr node, } =20 def->backend.logFile =3D virXMLPropString(node, "logFile"); - def->backend.upstream =3D virXMLPropString(node, "upstream"); =20 if (tap) def->backend.tap =3D virFileSanitizePath(tap); @@ -9464,6 +9463,9 @@ virDomainNetDefParseXML(virDomainXMLOption *xmlopt, break; =20 case VIR_DOMAIN_NET_TYPE_USER: + def->sourceDev =3D virXMLPropString(source_node, "dev"); + break; + case VIR_DOMAIN_NET_TYPE_NULL: case VIR_DOMAIN_NET_TYPE_LAST: break; @@ -23277,6 +23279,9 @@ virDomainActualNetDefContentsFormat(virBuffer *buf, return -1; } virBufferAsprintf(buf, " mode=3D'%s'", mode); + } else if (actualType =3D=3D VIR_DOMAIN_NET_TYPE_USER) { + + virBufferEscapeString(buf, " dev=3D'%s'", def->sourceDev); } =20 virBufferAddLit(buf, "/>\n"); @@ -23487,7 +23492,6 @@ virDomainNetBackendFormat(virBuffer *buf, virBufferEscapeString(&attrBuf, " tap=3D'%s'", backend->tap); virBufferEscapeString(&attrBuf, " vhost=3D'%s'", backend->vhost); virBufferEscapeString(&attrBuf, " logFile=3D'%s'", backend->logFile); - virBufferEscapeString(&attrBuf, " upstream=3D'%s'", backend->upstream); virXMLFormatElement(buf, "backend", &attrBuf, NULL); } =20 @@ -23752,6 +23756,13 @@ virDomainNetDefFormat(virBuffer *buf, } =20 case VIR_DOMAIN_NET_TYPE_USER: + if (def->backend.type =3D=3D VIR_DOMAIN_NET_BACKEND_PASST && + def->sourceDev) { + virBufferEscapeString(buf, "sour= ceDev); + sourceLines++; + } + break; + case VIR_DOMAIN_NET_TYPE_NULL: case VIR_DOMAIN_NET_TYPE_LAST: break; diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 60fc7c4eb2..3e4985a67d 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -1192,6 +1192,7 @@ struct _virDomainNetDef { virNetDevIPInfo hostIP; char *ifname_guest_actual; char *ifname_guest; + char *sourceDev; virNetDevIPInfo guestIP; size_t nPortForwards; virDomainNetPortForward **portForwards; diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincom= mon.rng index bd2e789327..6cb0a20e1e 100644 --- a/src/conf/schemas/domaincommon.rng +++ b/src/conf/schemas/domaincommon.rng @@ -3318,6 +3318,14 @@ user + + + + + + + + @@ -3643,11 +3651,6 @@ - - - - - diff --git a/src/qemu/qemu_passt.c b/src/qemu/qemu_passt.c index a7ee841af7..b1215a1bba 100644 --- a/src/qemu/qemu_passt.c +++ b/src/qemu/qemu_passt.c @@ -167,8 +167,8 @@ qemuPasstStart(virDomainObj *vm, virCommandAddArgFormat(cmd, "%u", net->mtu); } =20 - if (net->backend.upstream) - virCommandAddArgList(cmd, "--interface", net->backend.upstream, NU= LL); + if (net->sourceDev) + virCommandAddArgList(cmd, "--interface", net->sourceDev, NULL); =20 if (net->backend.logFile) virCommandAddArgList(cmd, "--log-file", net->backend.logFile, NULL= ); diff --git a/tests/qemuxml2argvdata/net-user-passt.xml b/tests/qemuxml2argv= data/net-user-passt.xml index b82eebd089..20c9f50542 100644 --- a/tests/qemuxml2argvdata/net-user-passt.xml +++ b/tests/qemuxml2argvdata/net-user-passt.xml @@ -27,6 +27,7 @@ + @@ -46,7 +47,7 @@ - +
--=20 2.38.1 From nobody Sat May 18 13:16:18 2024 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=1673584956; cv=none; d=zohomail.com; s=zohoarc; b=X9hlgbkKcw1pPzHJflWfUDs5qs8GQVST1EayBrIR+L7BuhmxQWqjFNht5j3toxYR3Jvknz+3IiYFaAotTfszhaK5HRGUVzcm2caTfubZUIlFo31S0b8WIEea+p6G6pTDMNDH43m9VX/q7CzR20aY0fvTLcTt+FKIEuvVrMju/18= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673584956; 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=aThxMVJ+EZIeDAXhYPVgj9P0xNlJJieZSuHuuizlbds=; b=jOIpOXp5b6NsKUpb45IHbZwtuRV44VLmHwWFz9mI5vQGpajJfwbmAUPC4QuIw/T2yz3OrEibi0zlvnsFh1geYYT12ODtGOEpxDWQCBlwHkXwHvF8w8m9D+5/SyrkkKw8/LxLeuh0b4M+xdwl+TT57uTmoQsSIrZE99PLTY+ilWo= 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 1673584956408577.1794818512368; Thu, 12 Jan 2023 20:42:36 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-203-9cgsv03xPL-wQb6XkIjvHg-1; Thu, 12 Jan 2023 23:42:29 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3709D857AA1; Fri, 13 Jan 2023 04:42:23 +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 14920140EBF6; Fri, 13 Jan 2023 04:42:23 +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 093C8194707D; Fri, 13 Jan 2023 04:42:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id C2B431946A78 for ; Fri, 13 Jan 2023 04:42:18 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id A86032166B2B; Fri, 13 Jan 2023 04:42:18 +0000 (UTC) Received: from vhost3.router.laine.org (unknown [10.2.16.63]) by smtp.corp.redhat.com (Postfix) with ESMTP id 91D402166B26 for ; Fri, 13 Jan 2023 04:42:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673584954; 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=aThxMVJ+EZIeDAXhYPVgj9P0xNlJJieZSuHuuizlbds=; b=h+5sh3VmaFdibnBbc7obQOIG3PZceQXit4tK48RJIhTpa9TK/d/UGjvFUexEAyJh+DcRB3 YY8cSXZSEm4FQH0551sHYG+0uhSca2Msq/eCVeDHc04H8GuP+WYOrHCCH+v0NerEBs1iLG ti0F1em7Izu4boAA59+1JlilOYG1JN8= X-MC-Unique: 9cgsv03xPL-wQb6XkIjvHg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Laine Stump To: libvir-list@redhat.com Subject: [libvirt PATCH 2/3] qemu: remove commented-out option in passt qemu commandline setup Date: Thu, 12 Jan 2023 23:42:17 -0500 Message-Id: <20230113044218.719810-3-laine@redhat.com> In-Reply-To: <20230113044218.719810-1-laine@redhat.com> References: <20230113044218.719810-1-laine@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 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.7 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: 1673584956937100001 Content-Type: text/plain; charset="utf-8"; x-default="true" This commented-out option was pointed out by jtomko during review, but I missed taking it out when addressing his comments. Signed-off-by: Laine Stump Reviewed-by: Jiri Denemark --- src/qemu/qemu_passt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qemu/qemu_passt.c b/src/qemu/qemu_passt.c index b1215a1bba..0f09bf3db8 100644 --- a/src/qemu/qemu_passt.c +++ b/src/qemu/qemu_passt.c @@ -95,7 +95,6 @@ qemuPasstAddNetProps(virDomainObj *vm, "s:type", "stream", "a:addr", &addrprops, "b:server", false, - /* "u:reconnect", 5, */ NULL) < 0) { return -1; } --=20 2.38.1 From nobody Sat May 18 13:16:18 2024 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=1673584984; cv=none; d=zohomail.com; s=zohoarc; b=l4c6DCaSav6ePkulYPnTO3iOplq5zjjzJ8tYS+W5AuS1T9tVwzFSMV3/fWY6exT48MAqGU6kFq4zLhaHiqdUPffsaXKa5eRXaLKn4JBonBeykXfEzG3Hi0fmbHSCb7oKhKFD+fQ151Y4pxNEK6Z7u5sDgs1LPv1TQRyDHms2Y28= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673584984; 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=eyRkU94SgEedhMM4N/1jmvRSVixOYOM1aF3mpSg+U0w=; b=JV3yA4iVEmIuhjFHpa+UJFXitoSG6gMgS4QiSiSl49sYf1IEW2t7873zTzxlvbsClH2oyIShJczVglLYW5ltrFKHuHwF4pHkC7ybb5lySFLkImiV0VWM+c1yhLcsqH03waGM3C/DCDACHlA5zYaxfb6NJPG4qMsGmEymxagdc6Q= 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 1673584984386435.6502252175459; Thu, 12 Jan 2023 20:43:04 -0800 (PST) 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-433-coGk7jI8PeKJtdTeqzlsSg-1; Thu, 12 Jan 2023 23:42:26 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3565738123C2; Fri, 13 Jan 2023 04:42:23 +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 7F315112131E; Fri, 13 Jan 2023 04:42:22 +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 C5D68194706E; Fri, 13 Jan 2023 04:42:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id E5A951946A78 for ; Fri, 13 Jan 2023 04:42:18 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id CB4D02166B29; Fri, 13 Jan 2023 04:42:18 +0000 (UTC) Received: from vhost3.router.laine.org (unknown [10.2.16.63]) by smtp.corp.redhat.com (Postfix) with ESMTP id B4E172166B26 for ; Fri, 13 Jan 2023 04:42:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673584983; 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=eyRkU94SgEedhMM4N/1jmvRSVixOYOM1aF3mpSg+U0w=; b=UtQCAmQPqDDZReCXK8k38S6RaeJ8BK/kmkN6nIMHq23Ajub1dNkEywiZt3kWY45b3+UU1H 0szqhGiL/aleeqj9HVZ3Bd1LqC0XCtXgNizxVvvCbaFgWjx3mwpFTEpDB3djkKN1j/rafV 5lNHBijNOpf1TMM+vInTQmNRS/CmSBc= X-MC-Unique: coGk7jI8PeKJtdTeqzlsSg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Laine Stump To: libvir-list@redhat.com Subject: [libvirt PATCH 3/3] tests: remove unused qemu .args file Date: Thu, 12 Jan 2023 23:42:18 -0500 Message-Id: <20230113044218.719810-4-laine@redhat.com> In-Reply-To: <20230113044218.719810-1-laine@redhat.com> References: <20230113044218.719810-1-laine@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 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.3 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: 1673584985035100001 Content-Type: text/plain; charset="utf-8"; x-default="true" net-user-passt.args was generated early during testing of the passt qemu commandline, when qemuxml2argvtest was using DO_TEST("net-user-passt"). This was later changed to DO_TEST_CAPS_LATEST(), so the file net-user-passt.x86_64-latest.args is used instead, but the original (now unused) test file was accidentally added to the original patch. This patch removes it. Signed-off-by: Laine Stump Reviewed-by: Jiri Denemark --- tests/qemuxml2argvdata/net-user-passt.args | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 tests/qemuxml2argvdata/net-user-passt.args diff --git a/tests/qemuxml2argvdata/net-user-passt.args b/tests/qemuxml2arg= vdata/net-user-passt.args deleted file mode 100644 index 8c887ca210..0000000000 --- a/tests/qemuxml2argvdata/net-user-passt.args +++ /dev/null @@ -1,34 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/tmp/lib/domain--1-QEMUGuest1 \ -USER=3Dtest \ -LOGNAME=3Dtest \ -XDG_DATA_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.local/share \ -XDG_CACHE_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.cache \ -XDG_CONFIG_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.config \ -/usr/bin/qemu-system-x86_64 \ --name guest=3DQEMUGuest1,debug-threads=3Don \ --S \ --object secret,id=3DmasterKey0,format=3Draw,file=3D/tmp/lib/domain--1-QEMU= Guest1/master-key.aes \ --machine pc,usb=3Doff,dump-guest-core=3Doff \ --accel tcg \ --m 214 \ --overcommit mem-lock=3Doff \ --smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,fd=3D1729,server=3Don,wait=3Doff \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --boot strict=3Don \ --blockdev '{"driver":"host_device","filename":"/dev/HostVG/QEMUGuest1","no= de-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ --blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"raw= ","file":"libvirt-1-storage"}' \ --device ide-hd,bus=3Dide.0,unit=3D0,drive=3Dlibvirt-1-format,id=3Dide0-0-0= ,bootindex=3D1 \ --netdev stream,addr.path=3D/var/run/libvirt/qemu/passt/UUID-net0.socket,se= rver=3Doff,reconnect=3D5,id=3Dhostnet0 \ --device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:11:22:33:44:55,bus=3D= pci.0,addr=3D0x2 \ --audiodev '{"id":"audio1","driver":"none"}' \ --msg timestamp=3Don --=20 2.38.1