From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=TSXJv5m7; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id 751835A0274 for ; Tue, 01 Apr 2025 13:38:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1743507504; 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=OebnWAGDfT1YlkIzU/oKuqV7vhXlaPAH7v2KMVxtwxw=; b=TSXJv5m7/85eP1rpG4julctz9QK1wJDichBlgbmWpG87HM6+gm6lmx0kzJyW20g/SFSQzZ CTOLMamXM6DTHbquzZav3zehZ3Q329EH+Do8y/iRaf/ZigMU8hB35G+YuDJFGgTY5fk6HA 2xVhcDRhFGUQ/yRa+U/ycnDPSv1qrUU= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-526-R5j0w2SkO7-i761HepMU3Q-1; Tue, 01 Apr 2025 07:38:23 -0400 X-MC-Unique: R5j0w2SkO7-i761HepMU3Q-1 X-Mimecast-MFC-AGG-ID: R5j0w2SkO7-i761HepMU3Q_1743507502 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6BC7D1800262 for ; Tue, 1 Apr 2025 11:38:22 +0000 (UTC) Received: from eperezma-thinkpadt480s.rmtes.csb (unknown [10.45.225.39]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 4D4B51801747; Tue, 1 Apr 2025 11:38:19 +0000 (UTC) From: =?UTF-8?q?Eugenio=20P=C3=A9rez?= To: passt-dev@passt.top Subject: [PATCH 3/3] tap: add die() on vhost error Date: Tue, 1 Apr 2025 13:38:09 +0200 Message-ID: <20250401113809.1765282-4-eperezma@redhat.com> In-Reply-To: <20250401113809.1765282-1-eperezma@redhat.com> References: <20250401113809.1765282-1-eperezma@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 9fF3VBeGkPOU8EY7dNTGihuQ-nnx4134ER_hfCMUUAY_1743507502 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Message-ID-Hash: E3ZUQYWR7BKFRQICWHKO5FPPVKRQN3YS X-Message-ID-Hash: E3ZUQYWR7BKFRQICWHKO5FPPVKRQN3YS X-MailFrom: eperezma@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: jmaloy@redhat.com, sbrivio@redhat.com, lvivier@redhat.com, dgibson@redhat.com X-Mailman-Version: 3.3.8 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: SW4gY2FzZSB0aGUga2VybmVsIG5lZWRzIHRvIHNpZ25hbCBhbiBlcn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