[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.0 0/2] dataplane: fix internal IOThread name c
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH for-2.0 0/2] dataplane: fix internal IOThread name collision |
Date: |
Thu, 20 Mar 2014 15:06:30 +0100 |
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(-)
--
1.8.5.3
- [Qemu-devel] [PATCH for-2.0 0/2] dataplane: fix internal IOThread name collision,
Stefan Hajnoczi <=