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.133.124]) by passt.top (Postfix) with ESMTP id BC1115A0082 for ; Thu, 16 Feb 2023 17:37:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676565464; 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=egKU5MYSYj9VK9/wLtFG0BZJ1EbpRA7gDXlzgF5Ufhk=; b=TwECzjS/WGCRMo4n1e4f788ByjejWz/VbbWLr7uoeUzkEiAGjpmLB+tDe/4mUKJ9F4PTyD DAt4IbXaATB84eoklSVzIaewd4Xdv+hreOPlqG3tbPeEdsacq3bx3WALgv2FdbrdO9zkjy FJ/7cwtrUuxHiNqiN+wsVbri+ApRACE= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-640-JenAH4EnMD6nkL-L-YA1eg-1; Thu, 16 Feb 2023 11:37:41 -0500 X-MC-Unique: JenAH4EnMD6nkL-L-YA1eg-1 Received: by mail-qv1-f71.google.com with SMTP id i7-20020a056214020700b004ffce246a2bso1376158qvt.3 for ; Thu, 16 Feb 2023 08:37:41 -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:organization: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=egKU5MYSYj9VK9/wLtFG0BZJ1EbpRA7gDXlzgF5Ufhk=; b=x03mAE1HnFA18mNh+GA6RMI8+VgnHa6T2mbfW3GKWsm0W3DIhLpdnk/GR9Pw4jbD52 udnunNuCUAEhan4ZH1KxvKxQityN0ht4KFfuZxsUqXBMQPCPlzsGEVeIHsgY3pTEne1a OCk+dmI0Mfi0kIaABPd4cf8oNX/BBVXnvQTUF9Trd9F0drwRJSCuTaZx9gx2Dd7v/nYS iX3m37L3Bagp/4JAiemV6FQSH5Y6lwCQgAlzMN8PCUy/xetulabgBReq+YZhb1N//B8P Zt7LjX+ExkoqZcLHp3TAop8S933WR2yz7A+GlT+mS7KApvfjWrBE8HNESv8cR7dc7Gik KLww== X-Gm-Message-State: AO0yUKXUHvstvdZztppbUu2B8/I30aI7QAzj2D2ZGGEaymMgylZoGzDo 21Kt1Lacjckiw0+pVUOsiqt0eIpeaGbtRGhDs2i7p22a59cGj2you4U8BguoRiWNYBppYHJZDgb 4dOK8iKS4ralF X-Received: by 2002:a05:6214:caf:b0:56e:b966:4086 with SMTP id s15-20020a0562140caf00b0056eb9664086mr12479900qvs.29.1676565461447; Thu, 16 Feb 2023 08:37:41 -0800 (PST) X-Google-Smtp-Source: AK7set8Og98Gw74PQCewKJ3SJJxoxmKn5vwgevivthduBonRrW42o9QjfH7h9Ap4/L2a8LgF+d7SNg== X-Received: by 2002:a05:6214:caf:b0:56e:b966:4086 with SMTP id s15-20020a0562140caf00b0056eb9664086mr12479881qvs.29.1676565461205; Thu, 16 Feb 2023 08:37:41 -0800 (PST) Received: from ?IPV6:2600:8805:3a00:3:3b4f:6d3c:92c4:a5c7? ([2600:8805:3a00:3:3b4f:6d3c:92c4:a5c7]) by smtp.gmail.com with ESMTPSA id i187-20020a3786c4000000b006fc2f74ad12sm1453614qkd.92.2023.02.16.08.37.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Feb 2023 08:37:40 -0800 (PST) Message-ID: Date: Thu, 16 Feb 2023 11:37:39 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v2 3/5] qemu_passt: Make passt report errors to stderr whenever possible To: Stefano Brivio References: <20230216170702.3ad76aeb@elisabeth> From: Laine Stump Organization: Red Hat In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 Message-ID-Hash: 7B4I3CDANJNJBW7BOVC2TLVUBPP5XVQE X-Message-ID-Hash: 7B4I3CDANJNJBW7BOVC2TLVUBPP5XVQE X-MailFrom: laine@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: libvir-list@redhat.com, passt-dev@passt.top, =?UTF-8?B?TWljaGFsIFByw612b3puw61r?= 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: T24gMi8xNi8yMyAxMToyNyBBTSwgTWljaGFsIFByw612b3puw61rIHdyb3RlOg0KPiBPbiAyLzE2 LzIzIDE3OjA3LCBTdGVmYW5vIEJyaXZpbyB3cm90ZToNCj4+IE9uIFRodSwgMTYgRmViIDIwMjMg MTQ6MzI6NTAgKzAxMDANCj4+IE1pY2hhbCBQcml2b3puaWsgPG1wcml2b3puQHJlZGhhdC5jb20+ IHdyb3RlOg0KPj4NCj4+PiBQYXNzdCBoYXMgJy0tc3RkZXJyJyBhcmd1bWVudCB3aGljaCBtYWtl cyBpdCByZXBvcnQgZXJyb3Igb250bw0KPj4+IHN0ZGVyciByYXRoZXIgdG8gc3lzdGVtIGxvZy4g VW5mb3J0dW5hdGVseSwgaXQncyBjdXJyZW50bHkNCj4+PiBpbXBvc3NpYmxlIHRvIHVzZSBib3Ro ICctLWxvZy1maWxlJyBhbmQgJy0tc3RkZXJyJywgc28gcGFzcyB0aGUNCj4+PiBsYXR0ZXI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