• J
    Set qemu migration speed unlimited when migrating to file · ef1065cf
    Jim Fehlig 提交于
    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.
    ef1065cf
qemu_migration.c 97.0 KB