[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/3] dataplane: introduce virtio-blk.iothread proper
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 0/3] dataplane: introduce virtio-blk.iothread property |
Date: |
Tue, 10 Jun 2014 09:03:19 +0200 |
Up until now the virtio-blk x-data-plane and x-iothread features have been
experimental. It's time to commit to a final command-line interface:
qemu -object iothread,id=iothread0 \
-drive if=none,id=drive0,file=test.qcow2,format=qcow2 \
-device virtio-blk-pci,iothread=iothread0,drive=drive0
The iothread=<iothread> property associates a virtio-blk-pci instance with an
IOThread. If the iothread property is not given, the non-dataplane code path
is used. This means dataplane is not the default yet.
The x-data-plane=on|off property is now obsolete but will be kept around for at
least another release cycle to give users a chance to migrate.
Stefan Hajnoczi (3):
virtio-blk: replace x-iothread with iothread link property
qdev: drop iothread property type
virtio-blk: remove need for explicit x-data-plane=on option
hw/block/dataplane/virtio-blk.c | 2 +-
hw/block/virtio-blk.c | 12 +++++++++-
hw/core/qdev-properties-system.c | 50 ----------------------------------------
hw/s390x/s390-virtio-bus.c | 2 ++
hw/s390x/virtio-ccw.c | 2 ++
hw/virtio/virtio-pci.c | 2 ++
include/hw/qdev-properties.h | 3 ---
7 files changed, 18 insertions(+), 55 deletions(-)
--
1.9.3