From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WILfV-0004a6-Qw for qemu-devel@nongnu.org; Tue, 25 Feb 2014 12:19:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WILfO-0003fw-Lg for qemu-devel@nongnu.org; Tue, 25 Feb 2014 12:19:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WILfO-0003fP-EJ for qemu-devel@nongnu.org; Tue, 25 Feb 2014 12:19:38 -0500 From: Stefan Hajnoczi Date: Tue, 25 Feb 2014 18:19:32 +0100 Message-Id: <1393348774-14663-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] dataplane: add query-iothreads QMP command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , "Shergill, Gurinder" , "Vinod, Chegu" , Luiz Capitulino v2: * Use "thread-id" instead of "thread_id" in QAPI [eblake] * Avoid mutex unlock/destroy race between threads [pbonzini] This series applies on top of "[PATCH v4 0/6] dataplane: switch to N:M devices-per-thread model". The new "query-iothreads" command allows QMP clients to fetch the thread IDs for dataplane threads. This will allow libvirt and friends to bind dataplane threads. The approach is similar to "query-cpus" which is also used for vcpu thread binding (among other things). Stefan Hajnoczi (2): iothread: stash thread ID away qmp: add query-iothreads command iothread.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ qapi-schema.json | 29 ++++++++++++++++++++++++++++ qmp-commands.hx | 39 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 125 insertions(+) -- 1.8.5.3