Ask Your Question

Setting virtio-blk-data-plane on QEMU cmdline

asked 2014-09-20 04:54:42 -0500

tim-bell gravatar image

updated 2014-09-20 05:21:09 -0500

dbaxps gravatar image

Can anyone advise how to set the virt-blk-data-plane argument on QEMU commands launched by OpenStack ?

I need to get to

qemu -drive if=none,id=drive0,cache=none,aio=native,format=raw,file=path/to/disk.img \
 -device virtio-blk,drive=drive0,scsi=off,config-wce=off,x-data-plane=on
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-19 02:46:16 -0500

SamYaple gravatar image

This command line gets generated by libvirt. So you actually need to tweak the domain itself so that it has the device. Unfortuantely, libvirt does not support virtio-blk-data-plane (AFAIK, this could have changed in the past ~6months). So you would have to build the domain with a qemucmdline section to append that information.

You should be able to do this in If you want to go quick and ugly about it, you can just tweak the xml right before it is returned. This will affect every instance you launch though.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-09-20 04:54:42 -0500

Seen: 1,327 times

Last updated: Jan 19 '15