From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from imap.gmail.com [2a00:1450:400c:c06::6c] by localhost with POP3 (fetchmail-6.3.26) for (single-drop); Sat, 08 Oct 2022 15:41:34 +0200 (CEST) Received: by 2002:a05:7108:1c13:0:0:0:0 with SMTP id a19csp1278720gdo; Sat, 8 Oct 2022 06:41:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4TRsIU4mIzlJwQhuIcQbD6/6xrL1GsN/E1iSgqezaZjMVdIrfaLDirzgWOW0Zt7EXjhhyy X-Received: by 2002:a05:622a:1354:b0:390:f741:aae with SMTP id w20-20020a05622a135400b00390f7410aaemr8298173qtk.487.1665236489349; Sat, 08 Oct 2022 06:41:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665236489; cv=none; d=google.com; s=arc-20160816; b=U0RV5cyPPfHp7ulsldCm4cl3Zdi2ojtgvIDJULZlBNpJmKZESP9fbcQgWvrAgScs1G Mf9obid4ABH285GC1lBYzSvx0anC4C9p5PygMQj+b1Z4dLGTj8Stvs+WrxWgIRS6cADX oAhC4yL0puXIwDTH8lczqJt1WtVgFSLbQjZmdjpeqpz4DDxllNTX3rid3EoKF1tX8R6Z sNQbCaa7NgVy4LqvTbZZaxgtcI1WX0f4zVATgT8iw6OKiJqj7S92S1MSi60zBPODTQkM 3OebFXwv9anszxWZHn5FqWEWaPO2k9JkJuGxN6ZiPwZqOX73cPE3/YX0MjYz7Asq5SAH L5jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:list-unsubscribe:list-subscribe:list-post :list-owner:list-help:list-archive:list-archive:archived-at :archived-at:list-id:precedence:cc:message-id-hash:mime-version :organization:references:in-reply-to:message-id:subject:to:from:date :delivered-to; bh=1XiYst6WaxQVoOAV22UkNxE/D5EHKftANlrYdVxVGns=; b=pg9qlz1SRMQJtzmr4ShpL9j3oE3mNnx5UbDBYjswy8GpGnoN2mBcz+guj3Epg5IJUR aXdoF9P59vxUzYjjzPRrUlL9XMkjjOhr0LFJZjksQP129AvmQ0kG/gaXcPB6+hiye/XM PJe9ceEJhLdjvR3TPFWU16dN3A3ywC/vwIGlK9GIcdUCiSrp+4Lg1zhpCnCeiR+LbXH7 LiL5QCwRWFxb3kDStlxoFuB9ds/CStTsYHgl2ZDU/+IR1od0Np0YIVVWzt3AOZ9Z1LFD +JU8UMlYVBuE+hVjiqYFDsl8Sh9125gBS6ur8ZQRFIBpmN1ckJdNCYdZUi9odL7UclCl Sczg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of passt-dev-bounces@passt.top designates 88.198.0.164 as permitted sender) smtp.mailfrom=passt-dev-bounces@passt.top Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com. [207.211.31.81]) by mx.google.com with ESMTPS id b22-20020ac85bd6000000b0031f0cfa7680si962589qtb.219.2022.10.08.06.41.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Oct 2022 06:41:29 -0700 (PDT) Received-SPF: pass (google.com: domain of passt-dev-bounces@passt.top designates 88.198.0.164 as permitted sender) client-ip=88.198.0.164; Authentication-Results: mx.google.com; spf=pass (google.com: domain of passt-dev-bounces@passt.top designates 88.198.0.164 as permitted sender) smtp.mailfrom=passt-dev-bounces@passt.top 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-599-0KA_71BlNIO-L7g3vGErDQ-1; Sat, 08 Oct 2022 09:41:27 -0400 X-MC-Unique: 0KA_71BlNIO-L7g3vGErDQ-1 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 25BAF85A583 for ; Sat, 8 Oct 2022 13:41:27 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 23214C68E33; Sat, 8 Oct 2022 13:41:27 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1AED7C68E25 for ; Sat, 8 Oct 2022 13:41:26 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7CDEC800186 for ; Sat, 8 Oct 2022 13:41:26 +0000 (UTC) Received: from passt.top (passt.top [88.198.0.164]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-148-1uNvrAP7OyyL0DzCBa-xDg-1; Sat, 08 Oct 2022 09:41:24 -0400 X-MC-Unique: 1uNvrAP7OyyL0DzCBa-xDg-1 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by passt.top (Postfix) with ESMTP id 7215A5A0265; Sat, 8 Oct 2022 15:41:23 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id BA1CB5A0265 for ; Sat, 8 Oct 2022 15:41:20 +0200 (CEST) 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-310-CXK1212YNvKFN-tV0cHSUQ-1; Sat, 08 Oct 2022 09:41:16 -0400 X-MC-Unique: CXK1212YNvKFN-tV0cHSUQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id F0E6429AA3B1; Sat, 8 Oct 2022 13:41:15 +0000 (UTC) Received: from maya.cloud.tilaa.com (unknown [10.40.208.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AA2C84A9255; Sat, 8 Oct 2022 13:41:15 +0000 (UTC) Date: Sat, 8 Oct 2022 15:41:02 +0200 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH] conf, tap: Add option to quit once the client closes the connection Message-ID: <20221008154102.59e0af92@elisabeth> In-Reply-To: References: <20221007071641.1969102-1-sbrivio@redhat.com> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 Message-ID-Hash: QXKYGART3JJJTQTZ25ZQWKJSHZMJWJR6 X-Message-ID-Hash: QXKYGART3JJJTQTZ25ZQWKJSHZMJWJR6 X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.3 Precedence: list List-Id: Development discussion and patches for passt Archived-At: <> Archived-At: List-Archive: <> List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition;Similar Internal Domain=false;Similar Monitored External Domain=false;Custom External Domain=false;Mimecast External Domain=false;Newly Observed Domain=false;Internal User Name=false;Custom Display Name List=false;Reply-to Address Mismatch=false;Targeted Threat Dictionary=false;Mimecast Threat Dictionary=false;Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: passt.top Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 8 Oct 2022 14:55:53 +1100 David Gibson wrote: > On Fri, Oct 07, 2022 at 09:16:41AM +0200, Stefano Brivio wrote: > > This is practical to avoid explicit lifecycle management in users, > > e.g. libvirtd, and is trivial to implement. > > > > Signed-off-by: Stefano Brivio > > Reviewed-by: David Gibson > > I actually wonder if this should be the default/only behaviour. I also think it might make sense to have it as default behaviour: if one runs another guest, quite likely they won't want to touch that dirty, filthy process from the guest before. On the other hand, what if one day we try and add the capability to qemu to reconnect? I would check back later on this topic once we make more progress with libvirt integration -- we should have more clarity then. -- Stefano