• D
    Allow virsh to pass in a custom XML document for migration · ec5301cb
    Daniel P. Berrange 提交于
    Switch virsh migrate over to use virDomainMigrate2 and
    virDomainMigrateToURI2. This is still compatible with
    older libvirts, because these methods dynamically choose
    whether to perform v1, v2 or v3 migration based on declared
    RPC support from the libvirtd instances
    
    Add a --xml arg which allows the user to pass in a custom
    XML document. This XML document must be ABI compatible
    with the current *live* XML document for the running guest
    on the source host. ABI compatibility will be enforced by
    any driver supporting this function
    
    * tools/virsh.c: Add '--xml' arg to migrate command
    ec5301cb
virsh.c 374.0 KB