Received: from eggs.gnu.org ([2001:4830:134:3::10]:38734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYcii-0007Gf-Vi for qemu-devel@nongnu.org; Sat, 13 Aug 2016 13:27:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYcie-0002lb-FE for qemu-devel@nongnu.org; Sat, 13 Aug 2016 13:27:40 -0400 Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:32970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYcie-0002lX-9K for qemu-devel@nongnu.org; Sat, 13 Aug 2016 13:27:36 -0400 Received: by mail-oi0-x22b.google.com with SMTP id c15so19038371oig.0 for ; Sat, 13 Aug 2016 10:27:35 -0700 (PDT) From: carl@resonantcircuitlabs.com Date: Sat, 13 Aug 2016 10:26:44 -0700 Message-Id: Subject: [Qemu-devel] [PATCH, Bug 1612908] scripts: Add TCP endpoints for qom-* scripts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, Carl Allendorph From: Carl Allendorph I've created a patch for bug #1612908. The current docs for the scripts in the "scripts/qmp/" directory suggest that both unix sockets and tcp endpoints can be used. The TCP endpoints don't work for most of the scripts, with notable exception of 'qmp-shell'. This patch attempts to refactor the process of distinguishing between unix path endpoints and tcp endpoints to work for all of these scripts. Carl Allendorph (1): scripts: Add ability for qom-* python scripts to target tcp endpoints scripts/qmp/qmp-shell | 22 ++-------------------- scripts/qmp/qmp.py | 23 ++++++++++++++++++++--- 2 files changed, 22 insertions(+), 23 deletions(-) -- 2.7.4