<div dir="ltr"><div>Hello,<br><br></div><div>on [1], page 10, section 2.3 - KVM Configuration: "To achieve the best possible I/O rates for the KVM guest, the virtio-blk-data-plane feature was enabled for each LUN (a disk or partition) that was passed from the host to the guest. To enable virtio-blk-data-plane for a LUN being passed to the guest, the x-data-plane=on option was added for that LUN in the qemu-kvm command line used to set up the guest. For example:<br>
/usr/libexec/qemu-kvm -drive if=none,id=drive0,cache=none,aio=native,format=raw,file=<disk or partition> -device virtio-blk-pci,drive=drive0,scsi=off,x-data-plane=on<br>"<br></div><div>I'll be grateful if you can help me with the following question:<br>
How to customize -device virtio-blk-pci parameter during OpenNebula VM initialization to insert x-data-plane=on on it?<br><br>My VM Template:<br>CONTEXT=[NETWORK="YES",SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]"]<br>
CPU="1"<br>DISK=[AIO="native",BUS="virtio",CACHE="none",DEV_PREFIX="vd",FORMAT="raw",IMAGE_ID="1"]<br>GRAPHICS=[LISTEN="0.0.0.0",TYPE="VNC"]<br>
MEMORY="256"<br>NIC=[NETWORK_ID="0"]<br>OS=[ARCH="i686",BOOT="hd"]<br><br></div><div>KVM process on node:<br>/usr/bin/kvm -S -M pc-i440fx-1.6 -cpu qemu32 -enable-kvm -m 256 -smp 1,sockets=1,cores=1,threads=1 -name one-27<br>
-uuid c014337c-5255-e983-862e-b744f889aa49 -no-user-config -nodefaults <br>-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/one-27.monitor,server,nowait<br>-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown-boot c <br>
-drive file=/srv/cloud/one/var//datastores/0/27/disk.0,if=none,id=drive-virtio-disk0,format=raw,cache=none<br>-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0<br>-drive file=/srv/cloud/one/var//datastores/0/27/disk.1,if=none,media=cdrom,id=drive-ide0-0-0,readonly=on,format=raw<br>
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,fd=22,id=hostnet0<br>-device virtio-net-pci,netdev=hostnet0,id=net0,mac=02:00:c0:a8:0f:6e,bus=pci.0,addr=0x3<br>-usb -vnc <a href="http://0.0.0.0:27">0.0.0.0:27</a> -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5<br>
<br></div><div>I'm running ONE 4.2 on Debian 7.1 x86_64, kernel 3.2.0-4-amd64, with customized qemu-1.6(compiled by myself to support virtio-blk-data-plane) to enable virtio-blk-data-plane, with Debian 7.1 i386 VMs.<br>
<br></div><div>Thanks in advance,<br><br>Erico.<br></div><div><br>[1] <a href="ftp://public.dhe.ibm.com/linux/pdfs/KVM_Virtualized_IO_Performance_Paper_v2.pdf">ftp://public.dhe.ibm.com/linux/pdfs/KVM_Virtualized_IO_Performance_Paper_v2.pdf</a><br>
</div></div>