Re: [Qemu-devel] [PATCH v2 7/9] iothread: add iothread_by_id() API

2017-12-07 Thread Eric Blake
On 12/06/2017 08:45 AM, Stefan Hajnoczi wrote: > Encapsulate IOThread QOM object lookup so that callers don't need to > know how and where IOThread objects live. > > Signed-off-by: Stefan Hajnoczi > --- > include/sysemu/iothread.h | 1 + > iothread.c| 7 +++ > 2 files changed

[Qemu-devel] [PATCH v2 7/9] iothread: add iothread_by_id() API

2017-12-06 Thread Stefan Hajnoczi
Encapsulate IOThread QOM object lookup so that callers don't need to know how and where IOThread objects live. Signed-off-by: Stefan Hajnoczi --- include/sysemu/iothread.h | 1 + iothread.c| 7 +++ 2 files changed, 8 insertions(+) diff --git a/include/sysemu/iothread.h b/inc