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