Set qemu migration speed unlimited when migrating to file
Set qemu migration speed unlimited when migrating to file

The qemu migration speed default is 32MiB/s as defined in migration.c

/* Migration speed throttling */
static int64_t max_throttle = (32 << 20);

There's no need to throttle migration when targeting a file, so set migration
speed to unlimited prior to migration, and restore to libvirt default value
after migration.

Default units is MB for migrate_set_speed monitor command, so
(INT64_MAX / (1024 * 1024)) is used for unlimited migration speed.

Tested with both json and text monitors.

shugaoye/libvirt,olafhering/libvirt,danwent/libvirt-ovs,wiedi/libvirt,warewolf/libvirt,VenkatDatta/libvirt,emaste/libvirt,foomango/libvirt,jardasgit/libvirt,jfehlig/libvirt,novel/fbsd-libvirt,taget/libvirt,rmarwaha/libvirt,rlaager/libvirt,jardasgit/libvirt,crobinso/libvirt,warewolf/libvirt,danwent/libvirt-ovs,danwent/libvirt-ovs,iam-TJ/libvirt,bjzhang/libvirt,elmarco/libvirt,warewolf/libvirt,crobinso/libvirt,cbosdo/libvirt,foomango/libvirt,siboulet/libvirt-openvz,rmarwaha/libvirt,fabianfreyer/libvirt,leilihh/libvirt,taget/libvirt,cbosdo/libvirt,bjzhang/libvirt,shugaoye/libvirt,rmarwaha/libvirt1,jfehlig/libvirt,libvirt/libvirt,trainstack/libvirt,emaste/libvirt,agx/libvirt,novel/fbsd-libvirt,trainstack/libvirt,andreabolognani/libvirt,nertpinx/libvirt,bjzhang/libvirt,jeckersb/libvirt,warewolf/libvirt,usc-isi/libvirt,soulxu/libvirt-xuhj,shugaoye/libvirt,eskultety/libvirt,rmarwaha/libvirt,datto/libvirt,novel/fbsd-libvirt,novel/fbsd-libvirt,elmarco/libvirt,trainstack/libvirt,foomango/libvirt,VenkatDatta/libvirt,iam-TJ/libvirt,jeckersb/libvirt,wiedi/libvirt,danwent/libvirt-ovs,kantai/libvirt-vfork,fabianfreyer/libvirt,jardasgit/libvirt,agx/libvirt,zhlcindy/libvirt-1.1.4-maintain,eskultety/libvirt,andreabolognani/libvirt,elmarco/libvirt,andreabolognani/libvirt,soulxu/libvirt-xuhj,usc-isi/libvirt,zhlcindy/libvirt-1.1.4-maintain,taget/libvirt,cbosdo/libvirt,foomango/libvirt,dumbbell/libvirt,emaste/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,kantai/libvirt-vfork,emaste/libvirt,nertpinx/libvirt,libvirt/libvirt,iam-TJ/libvirt,emaste/libvirt,VenkatDatta/libvirt,siboulet/libvirt-openvz,novel/fbsd-libvirt,trainstack/libvirt,taget/libvirt,leilihh/libvirt,foomango/libvirt,taget/libvirt,olafhering/libvirt,emaste/libvirt,warewolf/libvirt,eskultety/libvirt,elmarco/libvirt,zippy2/libvirt,datto/libvirt,nertpinx/libvirt,rmarwaha/libvirt1,novel/fbsd-libvirt,trainstack/libvirt,jardasgit/libvirt,dumbbell/libvirt,jeckersb/libvirt,fabianfreyer/libvirt,wiedi/libvirt,zippy2/libvirt,libvirt/libvirt,agx/libvirt,danwent/libvirt-ovs,VenkatDatta/libvirt,dumbbell/libvirt,jeckersb/libvirt,wiedi/libvirt,usc-isi/libvirt,agx/libvirt,zhlcindy/libvirt-1.1.4-maintain,iam-TJ/libvirt,zippy2/libvirt,jeckersb/libvirt,iam-TJ/libvirt,novel/fbsd-libvirt,datto/libvirt,olafhering/libvirt,warewolf/libvirt,wiedi/libvirt,libvirt/libvirt,novel/fbsd-libvirt,jfehlig/libvirt,nertpinx/libvirt,zippy2/libvirt,rmarwaha/libvirt,iam-TJ/libvirt,fabianfreyer/libvirt,warewolf/libvirt,rlaager/libvirt,novel/fbsd-libvirt,usc-isi/libvirt,eskultety/libvirt,rmarwaha/libvirt,rmarwaha/libvirt1,kantai/libvirt-vfork,soulxu/libvirt-xuhj,jeckersb/libvirt,rmarwaha/libvirt1,shugaoye/libvirt,rlaager/libvirt,nertpinx/libvirt,eskultety/libvirt,zhlcindy/libvirt-1.1.4-maintain,leilihh/libvirt,crobinso/libvirt,iam-TJ/libvirt,datto/libvirt,jeckersb/libvirt,soulxu/libvirt-xuhj,dumbbell/libvirt,soulxu/libvirt-xuhj,shugaoye/libvirt,trainstack/libvirt,siboulet/libvirt-openvz,wiedi/libvirt,dumbbell/libvirt,jfehlig/libvirt,rmarwaha/libvirt1,olafhering/libvirt,trainstack/libvirt,elmarco/libvirt,datto/libvirt,bjzhang/libvirt,rmarwaha/libvirt1,siboulet/libvirt-openvz,wiedi/libvirt,rlaager/libvirt,rlaager/libvirt,jardasgit/libvirt,zhlcindy/libvirt-1.1.4-maintain,kantai/libvirt-vfork,leilihh/libvirt,crobinso/libvirt,dumbbell/libvirt,usc-isi/libvirt,cbosdo/libvirt,agx/libvirt,andreabolognani/libvirt,rmarwaha/libvirt,leilihh/libvirt,andreabolognani/libvirt,kantai/libvirt-vfork,leilihh/libvirt,cbosdo/libvirt,bjzhang/libvirt,siboulet/libvirt-openvz,emaste/libvirt