Statistics
| Branch: | Revision:

root / hw / block / dataplane @ feature-archipelago

Name Size
Makefile.objs 28 Bytes
ioq.c 2.8 kB
ioq.h 1.7 kB
virtio-blk.c 15.7 kB
virtio-blk.h 964 Bytes

Latest revisions

# Date Author Comment
170a6034 01/31/2014 11:05 pm Markus Armbruster

dataplane: Comment fix

Signed-off-by: Markus Armbruster <>
Signed-off-by: Stefan Hajnoczi <>

781c117f 12/20/2013 10:11 am Paolo Bonzini

vring: factor common code for error exits

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Stefan Hajnoczi <>

8c1b566f 12/20/2013 10:11 am Paolo Bonzini

dataplane: change vring API to use VirtQueueElement

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Stefan Hajnoczi <>

3ffeeef7 12/09/2013 10:46 pm Andreas Färber

virtio-blk-dataplane: Improve error reporting

Return an Error so that it can be propagated later.

Tested-by: Stefan Hajnoczi <>
Acked-by: Stefan Hajnoczi <>
[AF: Rebased]
Signed-off-by: Andreas Färber <>...

8caf907f 09/06/2013 04:25 pm Cornelia Huck

dataplane: Fix startup race.

Avoid trying to setup dataplane again if dataplane setup is already in
progress. This may happen if an eventfd is triggered during setup.

I saw this occasionally with an experimental s390 irqfd implementation:

virtio_blk_handle_output...

ce689368 08/19/2013 04:52 pm Stefan Hajnoczi

dataplane/virtio-blk: drop flush_true() and flush_io()

.io_flush() is no longer called so drop flush_true() and flush_io().

Signed-off-by: Stefan Hajnoczi <>

f2e5dca4 08/19/2013 04:52 pm Stefan Hajnoczi

aio: drop io_flush argument

The .io_flush() handler no longer exists and has no users. Drop the
io_flush argument to aio_set_fd_handler() and related functions.

The AioFlushEventNotifierHandler and AioFlushHandler typedefs are no
longer used and are dropped too....

bf0da4df 08/19/2013 04:45 pm Stefan Hajnoczi

dataplane/virtio-blk: check exit conditions before aio_poll()

Check exit conditions before entering blocking aio_poll(). This is
mainly for consistency since it's unlikely that we are stopping in the
first event loop iteration.

Signed-off-by: Stefan Hajnoczi <>

b0f2027c 07/29/2013 06:19 pm Stefan Hajnoczi

dataplane: refuse to start if device is already in use

Dataplane must check whether a block device is in use before launching
the dataplane thread. This is necessary since the thread does not
synchronize with the main loop and I/O requests could cause corruption....

84db52d0 07/29/2013 06:19 pm Stefan Hajnoczi

dataplane: enable virtio-blk x-data-plane=on live migration

Although the dataplane thread does not cooperate with dirty memory
logging yet it's fairly easy to temporarily disable dataplane during
live migration. This way virtio-blk can live migrate when...

View revisions

Also available in: Atom