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 DADCA5A005E for ; Thu, 9 Feb 2023 11:10:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675937425; 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=NExIxjl/ga8QlCU3hAPFrcs9tSh07SjyDxrDfyO7n3c=; b=VRb8y/lCjDp169Lov9E3GJRoaDqkj5sxhfuv4Q23TGaa6AWjE9OyG3p+oH+78QnqMxGdzq /I3i501j0nDJNrpWByCmuAQ7/DLCyQFGH+x2fwWbmvjPVsyConE/9B0l125CJaX+B1RE6/ AhiYvWiqRX87L8OUBW2nAiq3diEAuto= 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-449-_R23PYUAN-ijX7tuO2vIxw-1; Thu, 09 Feb 2023 05:10:23 -0500 X-MC-Unique: _R23PYUAN-ijX7tuO2vIxw-1 Received: by mail-ej1-f71.google.com with SMTP id qn8-20020a170907210800b0088eda544bd6so1215903ejb.11 for ; Thu, 09 Feb 2023 02:10:23 -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=NExIxjl/ga8QlCU3hAPFrcs9tSh07SjyDxrDfyO7n3c=; b=3G6wHywE0jji1UYOggTEJ7y4HXnwPeBWXJ5gHgLo28FZO28sHfJ1nOP//2TfBBesqO 3sPh3oJ22F/BEwkNNUJugPi6sK/gDiiDKyY69pnt4xKI6XPEfkCyJAcQ5Bd56UCbZRjK LOJuND/+XqhN0ti3FBS2lX5IiVcOz8N4JbMT07rOHQsUi1kdfWND7JcDNciCxfLGMdZ0 3D65TvtKJ8o6h5sOML0MuEmyDCWRuvkCI8a64/Nioqx8ykirZ8QxyDusaF5dct35A/G7 3D/ly8ZgPdQyewYH6zOr900HTtIPi1Fr1LqFKhO61i5/dpUeSNUYo6EjJ4wivqS/xlnk MbYA== X-Gm-Message-State: AO0yUKXiUlAI7iN7mNi5B8F2sOt3ZNGwaClJWO7EUuogqDgV6ZqBBYWI 66x1pawsIb70Jn1uFWkr6XkO6exThbyfyZKkLgSEk6Y4R/6U8wW1JySNiH521qKVOilTpFW9Hse i9vCLk6yzoJoE X-Received: by 2002:a50:9eee:0:b0:49d:9ff4:d82b with SMTP id a101-20020a509eee000000b0049d9ff4d82bmr11986189edf.15.1675937422509; Thu, 09 Feb 2023 02:10:22 -0800 (PST) X-Google-Smtp-Source: AK7set8MJzsCObnXWRiySyvWVyWCYYqMBEMoZtm5Y20q3KKLsYFJboIkKsBNPe1nDWEMmtXnq1zXoQ== X-Received: by 2002:a50:9eee:0:b0:49d:9ff4:d82b with SMTP id a101-20020a509eee000000b0049d9ff4d82bmr11986182edf.15.1675937422341; Thu, 09 Feb 2023 02:10:22 -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 e5-20020a50d4c5000000b004873927780bsm550300edj.20.2023.02.09.02.10.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Feb 2023 02:10:22 -0800 (PST) Message-ID: Date: Thu, 9 Feb 2023 11:10:21 +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: =?UTF-8?Q?Daniel_P=2e_Berrang=c3=a9?= References: <20230208231310.1728051-1-laine@redhat.com> <41d2c66b-cb07-6e4a-4dd9-615ce46d5497@redhat.com> From: =?UTF-8?B?TWljaGFsIFByw612b3puw61r?= In-Reply-To: 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: 6G4QAXRL4KF7QRIKVWSTBTTI3DLA76XS X-Message-ID-Hash: 6G4QAXRL4KF7QRIKVWSTBTTI3DLA76XS 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 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: T24gMi85LzIzIDEwOjU2LCBEYW5pZWwgUC4gQmVycmFuZ8OpIHdyb3RlOg0KPiBPbiBUaHUsIEZl YiAwOSwgMjAyMyBhdCAwOTo1MjowMEFNICswMTAwLCBNaWNoYWwgUHLDrXZvem7DrWsgd3JvdGU6 DQo+PiBPbiAyLzkvMjMgMDA6MTMsIExhaW5lIFN0dW1wIHdyb3RlOg0KPj4+IEkgaW5pdGlhbGx5 IGhhZCB0aGUgcGFzc3QgcHJvY2VzcyBiZWluZyBzdGFydGVkIGluIGFuIGlkZW50aWNhbA0KPj4+ IGZhc2hpb24gdG8gdGhlIHNsaXJwLWhlbHBlciAtIGxpYnZpcnQgd2FzIGRhZW1vbml6aW5nIHRo ZSBuZXcgcHJvY2Vzcw0KPj4+IGFuZCByZWNvcmRpbmcgaXRzIHBpZCBpbiBhIHBpZGZpbGUuIFRo ZSBwcm9ibGVtIHdpdGggdGhpcyBpcyB0aGF0L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