[libvirt] libvirt, virsh set migrate speed

Hui Kang hkang at cs.stonybrook.edu
Mon Jul 18 17:34:48 UTC 2011


HI, Eric,
I download the libvirt-0.9.3.tar.gz, compile, and install it.
Then when I tried the command "virsh migrate-setspeed vm --bandwidth
1000". 
It gives me the error "error: unknown procedure: 207"
Do you have any solution to this? Thanks.

- Hui

On 7/15/11 2:57 PM, "Eric Blake" <eblake at redhat.com> wrote:

>On 07/15/2011 12:34 PM, Hui Kang wrote:
>>     Hi,
>> I checked the libvirt git tree. It seems that this patch has not been
>>applied.
>> I think to use virsh command line to control the migration bandwidth is
>>useful. Thanks.
>> 
>> - Hui
>> 
>> 
>> 
>> API virDomainMigrateSetMaxSpeed was introduced since 0.9.0, but
>> no command in virsh yet.
>> ---
>>  tools/virsh.c   |   46 ++++++++++++++++++++++++++++++++++++++++++++++
>>  tools/virsh.pod |    5 +++++
>>  2 files changed, 51 insertions(+), 0 deletions(-)
>
>Thanks, but this was indeed applied as commit b73f1f8d5, and in the
>0.9.3 release.
>
>-- 
>Eric Blake   eblake at redhat.com    +1-801-349-2682
>Libvirt virtualization library http://libvirt.org
>





More information about the libvir-list mailing list