From patchwork Fri Jul 22 18:25:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Delevoryas X-Patchwork-Id: 12926731 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 83BE1C433EF for ; Fri, 22 Jul 2022 18:28:00 +0000 (UTC) Received: from localhost ([::1]:53836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oExNX-0003wg-Jb for qemu-devel@archiver.kernel.org; Fri, 22 Jul 2022 14:27:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oExKt-0000QK-B7 for qemu-devel@nongnu.org; Fri, 22 Jul 2022 14:25:15 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:58179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oExKq-0006WS-SY for qemu-devel@nongnu.org; Fri, 22 Jul 2022 14:25:14 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 295D6580AF1; Fri, 22 Jul 2022 14:25:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 22 Jul 2022 14:25:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pjd.dev; h=cc:cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1658514312; x=1658517912; bh=eY43z7V+xP SqseBkqisHqO0bop4505Xg8bYZOIpraBU=; b=G1nalh6t7+LtR1ig01ybmRb7/t Z2zjJmIqKfOzgPwAtAcPTVJQPvF1WJf1VCTyl50kDu7CJyM2A2ZByMRgmmkRsuiM kWikze6xsZLwIaMav8q4GT5AQjbDRaK0q38uLkZeF1q2qrek0/7fbDrOjqecu6N2 aWBotE3zPj+q+Sog00D3S+ZPPNWWW05zilhwb1M8KSVlbYXmx/MG2+EZlpufS9xo 8/HgU73Q4M7ut76AVC8dPoWnjPbgQXOz5L8gdCj0irxwck6u4zhTzIfy2qb2edpj 5c/THK8WHG3QzlMggw4dq2PL58Zc42dUmxQFkMIXuTjzrtIw7Ca7s+RHOWDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1658514312; x=1658517912; bh=eY43z7V+xPSqs eBkqisHqO0bop4505Xg8bYZOIpraBU=; b=rZmb9Id6SeV3m4Adt8JpBncf5si8w QRB/vibN9IeS058/vmIfY6CDED2XTwrCLRFRckI08bjvHEK9dVdSrkgMjIRDqyrE D+TxpVYqxRps8rSIuAj9yc4abnxIxbSMXqwmU0R9xZnifPcrqnzcq3OiElnv6Tps ta1vL0YiS88tEnkk0q5IGMol9yAfnmfSO4n5+xXgo694u7dGQIi0d65eVyzhJ/BL TeP545cV5SFKJdvN/sGzwZ8UHuTIa9W3xRPq4EVK+O8jXsyKXHu7P98cmapAzRFk XuW0LhR3zgt281Famss3TnxwBPubG3Eex3F0WptWt2mQhlEdj8TAqeqcw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddtvddguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecumhhishhsihhnghcuvffquchfihgvlhguucdlfe dtmdenucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomheprfgv thgvrhcuffgvlhgvvhhorhihrghsuceophgvthgvrhesphhjugdruggvvheqnecuggftrf grthhtvghrnhepteffjeetjeeggfffvdeuhfegledugfefudeuledtfefgudfhteduteeu ueejueeknecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrsehpjhgurdguvghv X-ME-Proxy: Feedback-ID: i9e814621:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 22 Jul 2022 14:25:11 -0400 (EDT) From: Peter Delevoryas To: Cc: jsnow@redhat.com, crosa@redhat.com, bleal@redhat.com, f4bug@amsat.org, wainersm@redhat.com, qemu-devel@nongnu.org, berrange@redhat.com, peter@pjd.dev Subject: [PATCH v3 0/1] python/machine: Fix AF_UNIX path too long on macOS Date: Fri, 22 Jul 2022 11:25:07 -0700 Message-Id: <20220722182508.89761-1-peter@pjd.dev> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 Received-SPF: pass client-ip=66.111.4.224; envelope-from=peter@pjd.dev; helo=new2-smtp.messagingengine.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_FMBLA_NEWDOM28=0.798, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" v1: https://lore.kernel.org/qemu-devel/20220705214659.73369-1-peter@pjd.dev/ v2: https://lore.kernel.org/qemu-devel/20220716173434.17183-1-peter@pjd.dev/ v3: - Changed QEMUMachine._name to f"{id(self):x}". Suggestion was to do f"{id(self):02x}", but the id's look like they are probably just the object address (8-byte pointer), so the "02" had no effect. - Changed QMP socket name suffix from "-monitor.sock" to ".qmp". - Changed console socket name suffix from "-console.sock" to ".con". Thanks for all the comments and suggestions! Glad to be fixing this. Peter Peter Delevoryas (1): python/machine: Fix AF_UNIX path too long on macOS python/qemu/machine/machine.py | 6 +++--- tests/avocado/avocado_qemu/__init__.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)