Skip to content

dataplane: fix internal IOThread name collision

Stefan Hajnoczi qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iothread: make IOThread struct definition publicinclude/sysemu/iothread.h iothread.c+11 -120 replies
2/2dataplane: replace iothread object_add() with embedded instancehw/block/dataplane/virtio-blk.c+12 -192 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPaolo BonziniChristian Borntraeger
SeriesR-b T-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for-2.0 0/2] dataplane: fix internal IOThread name collision

Christian Borntraeger <[email protected]> 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(-)
Signature · 1 line
1.8.5.3