]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-blk: Drop x-data-plane option
authorFam Zheng <famz@redhat.com>
Mon, 7 Dec 2015 10:59:27 +0000 (18:59 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Dec 2015 16:47:16 +0000 (16:47 +0000)
commita616fb75c23d768abdc8688d4d6811d3d7eb03e4
treeba887f4d4af1f145ed67a991c25756d1d6a813be
parent84942979de3b7204ff53dbd263f8919897c779b2
virtio-blk: Drop x-data-plane option

The official way of enabling dataplane is through the "iothread"
property that references an iothread object created by "-object
iothread".  Since the old "x-data-plane=on" way now even crashes, it's
probably easier to just drop it:

$ qemu-system-x86_64 -drive file=null-co://,id=d0,if=none \
    -device virtio-blk-pci,drive=d0,x-data-plane=on

ERROR:/home/fam/work/qemu/qom/object.c:1515:
object_get_canonical_path_component: assertion failed: (obj->parent != NULL)
Aborted

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1449485967-19240-1-git-send-email-famz@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/block/dataplane/virtio-blk.c
hw/block/virtio-blk.c
include/hw/virtio/virtio-blk.h