[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: |
Christian Borntraeger |
Subject: |
Re: [Qemu-devel] [PATCH for-2.0 0/2] dataplane: fix internal IOThread name collision |
Date: |
Thu, 20 Mar 2014 15:52:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 20/03/14 15:06, Stefan Hajnoczi wrote:
> 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(-)
>
This seem to make my setup functional again.
Tested-by: Christian Borntraeger <address@hidden>
Thanks