• A
    virsh: improve doMigrate function docs · c41a21de
    Alex Jia 提交于
    When running virsh migrate with --xml option and actual xml file doesn't
    exist, virsh hasn't output any error information, although return value
    is 1.
    
    * tools/virsh.c: Raising a appropriate error information when operation fails.
    
    * How to reproduce?
    % virsh migrate <domain> --live qemu+ssh://<target host>/system --xml non-existent.xml
    % echo $?
    
    * Fixed result:
    error: file 'non-existent.xml' doesn't exist
    Signed-off-by: NAlex Jia <ajia@redhat.com>
    c41a21de
virsh.c 536.1 KB