<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>                   body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;}         </STYLE>

<META name=GENERATOR content="MSHTML 8.00.7601.17514"><BASE 
target=_blank></HEAD>
<BODY 
style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" 
marginheight="0" marginwidth="0">
<DIV><FONT color=#000000 size=3 face=宋体>On 2012-12-03 10:33, 
Osier wrote:<BR>>On 2012年11月28日 16:34, hzguanqiang wrote: <BR>>> Hi, 
guys. <BR>>> I want to change block I/O throttle using 'virsh 
blkdeviotune' with vm <BR>>> not running, it reported an error: 
<BR>>> # virsh blkdeviotune instance-000000dc /dev/loop0 --total-bytes-sec 
<BR>>> 20000000 --total-iops-sec 20 --config <BR>>> error: Unable to 
change block I/O throttle <BR>>> error: unsupported configuration: block 
I/O throttling not supported <BR>>> with this QEMU binary <BR>>> I 
can do this when the vm is running. Is it a bug? How can I fix this <BR>>> 
problem. <BR>><BR>>It just looks strange, as you can tune when the VM is 
active. Because <BR>>the qemu capabilities is collected during the qemu 
driver starts up, <BR>>which is independant with the domain states. 
<BR>><BR>>Probably you will want to debug the qemu capabilities collecting 
<BR>>process. <BR>><BR>>Osier </FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000000 size=3 face=宋体>Osier, Firstly, thanks for your 
reply.<BR></FONT></DIV>
<DIV><FONT color=#000000 size=3 face=宋体>The situation is that I want to resize 
the disk and meanwhile reset the block I/O throttle. And during the whole 
process, The vm is stopped. </FONT></DIV>
<DIV> </DIV>
<DIV>I've found this was directly caused by the patch "qemu: reject 
blockiotune if qemu too old" post by Eric Blake long before. I've sent an email 
to ask him the reason. Maybe, People think you can't set I/O throtting if vm not 
started, I guess.</DIV>
<DIV> </DIV>
<DIV>Thanks again for you guys replying.</DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-12-03</FONT></DIV>
<DIV align=left><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" id=SignNameHR align=left SIZE=2>
</FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana><SPAN 
id=_FlashSignName>hzguanqiang</SPAN></FONT></DIV></BODY></HTML>