[Qemu-devel] [Bug 1719282] Re: Unable to boot after drive-mirror

2017-10-24 Thread Farid Zarazvand
There is no source or destination machine. I used drive-mirror to transfer VM Image to different physical disk on same machine ("mode": "absolute-paths"). After block-job-complete and shutting down vm, I start vm again with same command with different drive path pointing to mirrored image. "-drive

[Qemu-devel] [Bug 1719282] Re: Unable to boot after drive-mirror

2017-10-09 Thread John Snow
It *looks* to me at a glance like the sequence should be safe, but I don't have any hunches for what could be going wrong, or why. Can you please post: (1) The command-line used to launch QEMU on the source machine, and (2) The command-line used to launch QEMU on the destination machine from the

[Qemu-devel] [Bug 1719282] Re: Unable to boot after drive-mirror

2017-09-27 Thread Farid Zarazvand
In last try, vm shutdown before completing blockjob. So i tried again and these are the exact qmp commands which i used: Sequence of qmp commands: socat UNIX-CONNECT:/var/run/qemu-server/48016.qmp STDIO {"QMP": {"version": {"qemu": {"micro": 0, "minor": 7, "major": 2}, "package": "pve-qemu-kvm_2

[Qemu-devel] [Bug 1719282] Re: Unable to boot after drive-mirror

2017-09-25 Thread John Snow
Do you have more information on the sequence of commands issued to QEMU? I see the drive-mirror invocation, but then I don't see what causes the shutdown or the BLOCK_JOB_COMPLETED event. Usually this is in response to a user command. I'm wondering if the exact sequence issued is safe. Do you have