<div dir="ltr">Hi Kashyap,<div><br></div><div>Here I want to test and see how much I/O performance could be improved by virtio-blk data plane feature.<br></div><div>Yes, this is a dirty way to enable it :-), You mentioned using newer libvirt, is there parameter similar "<span style="font-size:12.8000001907349px">x-data-plane=on</span>" in new version libvirt?</div><div>Please let know me you if you have better solution. <br></div><div><br></div><div><br></div><div><br></div><div>Regards,</div><div>CY.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 20, 2015 at 10:51 PM, Kashyap Chamarthy <span dir="ltr"><<a href="mailto:kchamart@redhat.com" target="_blank">kchamart@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Apr 20, 2015 at 10:37:13PM +0800, Chengyuan Li wrote:<br>
> Hi,<br>
><br>
> I tried to enable virtio-blk data plane feature for VMs in my openstack<br>
> environment,  the hypervisor is ubuntu 14.04, libvirt 1.2.2<br>
<br>
[I haven't tested the virtio-blk data plane myself.]<br>
<br>
This libvirt version seems a little old (from March 2014), you might<br>
want to move to a bit newer.<br>
<br>
> and QEMU 2.0.<br>
> As nova doesn't support that parameter yet, I did belows<br>
><br>
> 1. nova boot a VM with raw disk image.<br>
> 2. nova stop the VM.<br>
> 3. run "virsh edit <instance-id>" on the hyprvisor node, and adding below<br>
> into instance xml just before </domain>.<br>
<br>
You're modifying the guest definition behind Nova's back, so you get to<br>
keep all the pieces if something breaks. :-)<br>
<br>
> However, the <qemu:commandline> part is ignored and not saved after closing<br>
> virsh edit, seems that libvirt rejected these changes. Is there any XML<br>
> syntax error here? Or libvirt doesn't support <qemu:commandline> tag?<br>
><br>
> <qemu:commandline><br>
>     <qemu:arg value='-set'/><br>
>     <qemu:arg value='device.drive-virtio-disk0.x-data-plane=on'/><br>
> </qemu:commandline><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
/kashyap<br>
</font></span></blockquote></div><br></div>