• E
    qemu: consolidate migration to file code · 6034ddd5
    Eric Blake 提交于
    This points out that core dumps (still) don't work for root-squash
    NFS, since the fd is not opened correctly.  This patch should not
    introduce any functionality change, it is just a refactoring to
    avoid duplicated code.
    
    * src/qemu/qemu_migration.h (qemuMigrationToFile): New prototype.
    * src/qemu/qemu_migration.c (qemuMigrationToFile): New function.
    * src/qemu/qemu_driver.c (qemudDomainSaveFlag, doCoreDump): Use
    it.
    6034ddd5
qemu_migration.h 2.7 KB