Il 20/03/2014 15:06, Stefan Hajnoczi ha scritto:
Christian Borntraeger <borntrae...@de.ibm.com> noticed that the naming of the
internal IOThread objects, which are created when the user does not specify an
IOThread explicitly, can result in collisions.
These patches make the IOThread object nameless so it cannot cause collisions.
This is important when multiple dataplane devices are used simultaneously or
the user happened to choose a colliding name.
Stefan Hajnoczi (2):
iothread: make IOThread struct definition public
dataplane: replace iothread object_add() with embedded instance
hw/block/dataplane/virtio-blk.c | 31 ++++++++++++-------------------
include/sysemu/iothread.h | 12 +++++++++++-
iothread.c | 11 -----------
3 files changed, 23 insertions(+), 31 deletions(-)
Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>