• E
    qemu: reduce file padding requirements · 322b1fd4
    Eric Blake 提交于
    Followup to https://bugzilla.redhat.com/show_bug.cgi?id=599091,
    commit 20206a4b, to reduce disk waste in padding.
    
    * src/qemu/qemu_monitor.h (QEMU_MONITOR_MIGRATE_TO_FILE_BS): Drop
    back to 4k.
    (QEMU_MONITOR_MIGRATE_TO_FILE_TRANSFER_SIZE): New macro.
    * src/qemu/qemu_driver.c (qemudDomainSaveFlag): Update comment.
    * src/qemu/qemu_monitor_text.c (qemuMonitorTextMigrateToFile): Use
    two invocations of dd to output non-aligned large blocks.
    * src/qemu/qemu_monitor_json.c (qemuMonitorJSONMigrateToFile):
    Likewise.
    322b1fd4
qemu_driver.c 374.4 KB