qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/2] dataplane: fix start/stop races


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH 0/2] dataplane: fix start/stop races
Date: Tue, 29 Mar 2016 16:42:09 +0300

This works around races that data plane introduces
simply by exiting immediately if we detect
that dataplane is active.

It's a small but ugly patch, it's only justification
is that it's minimally intrusive, and that it clearly
has no chance to break non data plane users.

The idea is to rework it all post 2.6.

Michael S. Tsirkin (2):
  virtio: add aio handler
  virtio-blk: use aio handler for data plane

 include/hw/virtio/virtio-blk.h  |  2 ++
 include/hw/virtio/virtio.h      |  4 ++++
 hw/block/dataplane/virtio-blk.c | 13 +++++++++++++
 hw/block/virtio-blk.c           | 28 ++++++++++++++++++----------
 hw/virtio/virtio.c              | 36 ++++++++++++++++++++++++++++++++----
 5 files changed, 69 insertions(+), 14 deletions(-)

-- 
MST




reply via email to

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