<div dir="ltr"><div>Hi All,</div>
<div> </div>
<div> I am setting the value for  "read_bytes_sec"  using the following API code<br><br>virDomainSetBlockIoTune(dom, "/mnt/tmpsdb/FileVM1", parainfoPtr, nparams, 2);<br><br></div><div>I am succesfully able to set this value and i can read it back using the API<br>
<br><br>virDomainGetBlockIoTune(dom,"/mnt/tmpsdb/FileVM1",parainfoPtr,&nparams,2);<br><br></div><div>But after setting this value when i shutdown my VM and start it again I am getting following error - <br><br>
ibvirtError: internal error Process exited while reading console log output: qemu-system-x86_64: -drive file=/mnt/tmpsdb/FileVM1,if=none,id=drive-ide0-1-1,format=raw,bps_rd=1048576: Invalid parameter 'bps_rd'<br><br>
<br></div><div>Note - when i see dumpxml of the VM following lines are got added after setting the iotunes for read_bytes_sec<br><br> <iotune><br>        <read_bytes_sec>1048576</read_bytes_sec><br>      </iotune><br>
<br><br></div><div>Please help me. Also i wanted to know whether we can set block IO tune for a VM using the above API. Is it same as the IO throttling provided by cgroup?<br><br></div>
</div>