qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-2.0 0/2] dataplane: fix internal IOThread na


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH for-2.0 0/2] dataplane: fix internal IOThread name collision
Date: Thu, 20 Mar 2014 15:37:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Il 20/03/2014 15:06, Stefan Hajnoczi ha scritto:
Christian Borntraeger <address@hidden> 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 <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]