From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id 0E1EA5A005E for ; Thu, 9 Feb 2023 10:56:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675936600; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zVd3yn2EFW0xrE2UoSr9Cs8/aC32Yd8A4ZoixaRMoNM=; b=UDLshJzsvMlga7t4JFE36semtuYAnsk+SIk/IcI/5R6lV9qW5f5uHw3ZpIQCDqaNxdqeRh ZdbGtWL3Vca1vxxKxu0Z4QlEdijPAM2XpScOkdJQ0zlGIJdoBncld7or9pXzTLmmxQbyr9 dGyeCsG8pe4ISJuzf2muV3nLj2HwWkQ= 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-259--xErh-LEPuaf3_BTMTHrJA-1; Thu, 09 Feb 2023 04:56:39 -0500 X-MC-Unique: -xErh-LEPuaf3_BTMTHrJA-1 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 53544811E6E for ; Thu, 9 Feb 2023 09:56:39 +0000 (UTC) Received: from redhat.com (unknown [10.33.36.65]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 591F6140EBF6; Thu, 9 Feb 2023 09:56:38 +0000 (UTC) Date: Thu, 9 Feb 2023 09:56:35 +0000 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= To: Michal =?utf-8?B?UHLDrXZvem7DrWs=?= Subject: Re: [libvirt PATCH] qemu: allow passt to self-daemonize Message-ID: References: <20230208231310.1728051-1-laine@redhat.com> <41d2c66b-cb07-6e4a-4dd9-615ce46d5497@redhat.com> MIME-Version: 1.0 In-Reply-To: <41d2c66b-cb07-6e4a-4dd9-615ce46d5497@redhat.com> User-Agent: Mutt/2.2.9 (2022-11-12) X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: base64 X-MailFrom: berrange@redhat.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation Message-ID-Hash: JVXLRGFW3DTRIV6T2FRJBGZKSHVAFC6X X-Message-ID-Hash: JVXLRGFW3DTRIV6T2FRJBGZKSHVAFC6X X-Mailman-Approved-At: Thu, 09 Feb 2023 11:24:37 +0100 CC: Laine Stump , libvir-list@redhat.com, passt-dev@passt.top X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= 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: T24gVGh1LCBGZWIgMDksIDIwMjMgYXQgMDk6NTI6MDBBTSArMDEwMCwgTWljaGFsIFByw612b3pu w61rIHdyb3RlOg0KPiBPbiAyLzkvMjMgMDA6MTMsIExhaW5lIFN0dW1wIHdyb3RlOg0KPiA+IEkg aW5pdGlhbGx5IGhhZCB0aGUgcGFzc3QgcHJvY2VzcyBiZWluZyBzdGFydGVkIGluIGFuIGlkZW50 aWNhbA0KPiA+IGZhc2hpb24gdG8gdGhlIHNsaXJwLWhlbHBlciAtIGxpYnZpcnQgd2FzIGRhZW1v bml6aW5nIHRoZSBuZXcgcHJvY2Vzcw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