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 B45B55A0082 for ; Tue, 14 Feb 2023 12:13:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676373211; h=from:from: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=Sr3s46LrZMUMmzwgi1A3UHNYf1Yof90AnXtjcmCqs3I=; b=PUDmyQOlR7kAHDzZ7kV9WxYRedFtOVDt5Ad4r9UQFsG1MZp1znR2zSZt0cBsl+doSulo7x QUwbHZjzctZVTstd55MLZmVueBojuAvhAPtxH3FfQYq4cEZCHxnzegi25QlI1ghEHH5BPU ouYGVz+V+if8ouqvsvTUi48HK8Y7HO0= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-311-AHH6P3_sOnCLoA0YuOGv9Q-1; Tue, 14 Feb 2023 06:13:30 -0500 X-MC-Unique: AHH6P3_sOnCLoA0YuOGv9Q-1 Received: by mail-ej1-f71.google.com with SMTP id ti11-20020a170907c20b00b00886244203fcso9592489ejc.2 for ; Tue, 14 Feb 2023 03:13:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Sr3s46LrZMUMmzwgi1A3UHNYf1Yof90AnXtjcmCqs3I=; b=YAF2/iSTUbmbEafUjSyc18LZJy5VRUGJXj8SxZuLwBr7scBnGAoNNaBwTmyah+K0Gw edXI6Qp/xS5UulBjXFQhYN0jdD8SsoAKvV/Q1swFnicxg0Z2yAF+8jseocED/NLzfc7/ w5BV6VA1Xcin8nZzY7zlm6YHCdih/gUdhvEphGavgejpNQvcYUYDdeSkcGYGvFGQnPmT 9J3V4IyqErh9NcvqOB4JddFeOjTR7pxmWB0ZaXmaJO5rN6MhU2EMExzeN4B3M35V1Bn1 VdGD/fNLAKvoB5pXur9lSCaPoIouwKiE1mtMToJRdlDEG0/C1jgR9jL4y5ujNkATB76n 2tEQ== X-Gm-Message-State: AO0yUKXUHGGIIsDn9+oB8B3EqL7YEULElkhCjIkClcjcLFekFIWjCI19 PsCN5Oa0/ds8gDmDXuOXSJvSHS12R4P6+3+grokMRigkLFGm2lYG7odSAPiZVy+GzdbfTissgwB ZXA9YetoMr2un X-Received: by 2002:a17:906:730b:b0:886:50d:be8d with SMTP id di11-20020a170906730b00b00886050dbe8dmr4426354ejc.13.1676373209384; Tue, 14 Feb 2023 03:13:29 -0800 (PST) X-Google-Smtp-Source: AK7set8scJ0RZVr967yxjpx3P4toDMsQ8cDrGp4a/MpWFb+5woGxpmdoEyjypFvqBC4Unmk+p5VFTQ== X-Received: by 2002:a17:906:730b:b0:886:50d:be8d with SMTP id di11-20020a170906730b00b00886050dbe8dmr4426331ejc.13.1676373209152; Tue, 14 Feb 2023 03:13:29 -0800 (PST) Received: from [10.43.2.39] (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id rs1-20020a170907036100b008b12c318622sm844720ejb.29.2023.02.14.03.13.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Feb 2023 03:13:28 -0800 (PST) Message-ID: <218df103-ef4b-7329-bf87-4e77c8de3e3f@redhat.com> Date: Tue, 14 Feb 2023 12:13:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [libvirt PATCH] qemu: allow passt to self-daemonize To: Stefano Brivio References: <20230208231310.1728051-1-laine@redhat.com> <20230214110813.5a6a568c@elisabeth> From: =?UTF-8?B?TWljaGFsIFByw612b3puw61r?= In-Reply-To: <20230214110813.5a6a568c@elisabeth> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-MailFrom: mprivozn@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: TB3DAB54ADOT5WILHCAVUIRFLXQE5AKE X-Message-ID-Hash: TB3DAB54ADOT5WILHCAVUIRFLXQE5AKE X-Mailman-Approved-At: Tue, 14 Feb 2023 14:06:27 +0100 CC: Laine Stump , libvir-list@redhat.com, =?UTF-8?Q?J=c3=a1n_Tomko?= , 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: T24gMi8xNC8yMyAxMTowOCwgU3RlZmFubyBCcml2aW8gd3JvdGU6DQo+IE9uIFR1ZSwgMTQgRmVi IDIwMjMgMDk6MDE6MzkgKzAxMDANCj4gTWljaGFsIFByw612b3puw61rIDxtcHJpdm96bkByZWRo YXQuY29tPiB3cm90ZToNCj4gDQo+PiBPbiAyLzkvMjMgMDA6MTMsIExhaW5lIFN0dW1wIHdyb3Rl Og0KPj4+IEkgaW5pdGlhbGx5IGhhZCB0aGUgcGFzc3QgcHJvY2VzcyBiZWluZyBzdGFydGVkIGlu IGFuIGlkZW50aWNhbA0KPj4+IGZhc2hpb24gdG8gdGhlIHNsaXJwLWhlbHBlciAtIGxpYnZpcnQg d2FzIGRhZW1vbml6aW5nIHRoZSBuZXcgcHJvY2Vzcw0KPj4+IGFuZCByZWNvcmRpbmcgaXRzIHBp ZCBpbiBhIHBpZGZpbGUu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