[libvirt] [PATCH] qemu: Avoid overflow when setting migration speed on inactive domains

Eric Blake eblake at redhat.com
Fri Apr 25 14:09:10 UTC 2014


On 04/25/2014 08:04 AM, Jiri Denemark wrote:
> Commit c4206d7 fixed the overflow for running domains. However, we need
> a similar check when setting migration speed on inactive domains.
> 
> At first look, it may seem the check in c4206d7 is now redundant but
> qemuDomainMigrateSetMaxSpeed is not the only caller of
> qemuMonitorSetMigrationSpeed so we need to check the bandwidth in both
> places.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1083483
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_driver.c | 7 +++++++
>  1 file changed, 7 insertions(+)

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140425/cc72db35/attachment-0001.sig>


More information about the libvir-list mailing list