From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGrRw-0001TD-DM for qemu-devel@nongnu.org; Fri, 21 Feb 2014 09:51:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGrRq-0007ux-Em for qemu-devel@nongnu.org; Fri, 21 Feb 2014 09:51:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:30175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGrRq-0007ul-7S for qemu-devel@nongnu.org; Fri, 21 Feb 2014 09:51:30 -0500 From: Stefan Hajnoczi Date: Fri, 21 Feb 2014 15:51:18 +0100 Message-Id: <1392994280-9675-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH 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: "Shergill, Gurinder" , Paolo Bonzini , "Vinod, Chegu" , Luiz Capitulino 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 | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- qapi-schema.json | 29 +++++++++++++++++++++++ qmp-commands.hx | 39 +++++++++++++++++++++++++++++++ 3 files changed, 136 insertions(+), 2 deletions(-) -- 1.8.5.3