When performing live block migration with "virsh --copy-storage-inc" (this internally uses QEMU QMP command 'drive-mirror'), guest crashes: $ virsh migrate --verbose \ --copy-storage-inc --p2p \ --live cvm2 qemu+ssh://root@devstack1/system error: internal error: guest unexpectedly quit Relevant QEMU error, from /var/log/libvirt/qemu/cvm2.log: [. . .] Co-routine re-entered recursively 2015-09-28 10:45:26.232+0000: shutting down Version ------- libvirt-daemon-driver-qemu-1.2.13.1-2.fc22.x86_64 qemu-system-x86-2.3.1-1.fc22.x86_64 Steps to Reproduce ------------------ (1) Setup two hosts such that password-less SSH via sudo works just fine: (2) Since I'm testing a trusted network, I'm using the below insecure configs (for testing only!) in destination libvirtd.conf: [. . .] listen_tls = 0 listen_tcp = 1 auth_tcp = "none" [. . .] (3) Perform live block migration, with non-shared storage: $ virsh migrate --verbose \ --copy-storage-inc --p2p --live cvm2 \ qemu+ssh://root@desthost/system And, observe the failure on stderr, libvirtd.log & in the QEMU log of the guest. Actual results -------------- Guest on sources shuts down, consequently live block migration with non-shared storage fails: `virsh` stderr: "error: internal error: guest unexpectedly quit" Expected results ---------------- 'drive-mirror' should proceed successfully, resulting in a succesful libvirt live block migration. Contextual libvirtd.log ----------------------- With log filters: log_filters="3:event 3:file 1:util 1:security 1:qemu 1:libvirt" log_outputs="1:file:/var/log/libvirt/libvirtd.log" $ less /var/log/libvirt/libvirtd.log [. . .] 2015-09-28 10:45:26.231+0000: 2537: error : qemuMonitorIO:662 : internal error: End of file from monitor 2015-09-28 10:45:26.231+0000: 2537: debug : qemuMonitorIO:717 : Error on monitor internal error: End of file from monitor 2015-09-28 10:45:26.231+0000: 2537: debug : qemuMonitorIO:738 : Triggering EOF callback 2015-09-28 10:45:26.231+0000: 2537: debug : qemuProcessHandleMonitorEOF:307 : Received EOF on 0x7f2be0003bb0 'cvm2' 2015-09-28 10:45:26.231+0000: 2537: debug : qemuProcessHandleMonitorEOF:325 : Monitor connection to 'cvm2' closed without SHUTDOWN event; assuming the domain crashed [. . .] Error info from /var/log/libvirt/qemu/cirrvm2.log ------------------------------------------------- [. . .] WARNING: Image format was not specified for 'nbd://devstack1:49153/drive-virtio-disk0' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. Co-routine re-entered recursively 2015-09-28 10:45:26.232+0000: shutting down (END)