• E
    qemu: consolidate duplicated monitor migration code · 1c5dc4c6
    Eric Blake 提交于
    * src/qemu/qemu_monitor_text.h (qemuMonitorTextMigrate): Declare
    in place of individual monitor commands.
    * src/qemu/qemu_monitor_json.h (qemuMonitorJSONMigrate): Likewise.
    * src/qemu/qemu_monitor_text.c (qemuMonitorTextMigrateToHost)
    (qemuMonitorTextMigrateToCommand, qemuMonitorTextMigrateToFile)
    (qemuMonitorTextMigrateToUnix): Delete.
    * src/qemu/qemu_monitor_json.c (qemuMonitorJSONMigrateToHost)
    (qemuMonitorJSONMigrateToCommand, qemuMonitorJSONMigrateToFile)
    (qemuMonitorJSONMigrateToUnix): Delete.
    * src/qemu/qemu_monitor.c (qemuMonitorMigrateToHost)
    (qemuMonitorMigrateToCommand, qemuMonitorMigrateToFile)
    (qemuMonitorMigrateToUnix): Consolidate shared code.
    1c5dc4c6
qemu_monitor_text.h 8.2 KB