From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:49631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gx8aI-0002Lh-7u for qemu-devel@nongnu.org; Fri, 22 Feb 2019 06:01:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gx8a3-0005Qk-JS for qemu-devel@nongnu.org; Fri, 22 Feb 2019 06:01:31 -0500 Received: from indium.canonical.com ([91.189.90.7]:42368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gx8Zu-0004bn-Ng for qemu-devel@nongnu.org; Fri, 22 Feb 2019 06:01:20 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1gx8ZV-00040X-Qb for ; Fri, 22 Feb 2019 11:00:49 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id C7CAD2E80C7 for ; Fri, 22 Feb 2019 11:00:49 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 22 Feb 2019 10:46:12 -0000 From: "Dr. David Alan Gilbert" Reply-To: Bug 1817268 <1817268@bugs.launchpad.net> Sender: bounces@canonical.com References: <155082367008.22773.11895376561017991070.malonedeb@wampee.canonical.com> Message-Id: <155083237271.30126.16072600915154796544.malone@chaenomeles.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1817268] Re: Input/output error during migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Yep that Length mismatch is expected - the source and destination do have to match. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1817268 Title: Input/output error during migration Status in QEMU: New Bug description: Operating system: Ubuntu 18.04.2 LTS qemu version: 2.11.1, but also reproduced with 3.1.0 (compiled manually). virsh --version: 4.0.0 Hello, I am having an issue with migration of UEFI virtual machines. If the --copy-storage-inc and the --tunnelled libvirt flags are used together, the migration fails. The same command for non-uefi virtual machines (e.g the same libvirt xml without the and tags) works. The command/output error is: virsh migrate --verbose --live --p2p --tunnelled --copy-storage-inc --cha= nge-protection --abort-on-error testuefi qemu+tcp:///system error: internal error: qemu unexpectedly closed the monitor: Receiving bl= ock device images 2019-02-21T16:20:15.263261Z qemu-system-x86_64: error while loading state= section id 2(block) 2019-02-21T16:20:15.263996Z qemu-system-x86_64: load of migration failed:= Input/output error If I remove one of the --tunnelled or the --copy-storage-inc flag, it works, for example: virsh migrate --verbose --live --p2p --copy-storage-inc --change-protecti= on --abort-on-error testuefi qemu+tcp:///system Migration: [100 %] virsh migrate --verbose --live --p2p --tunnelled --change-protection --ab= ort-on-error testuefi qemu+tcp:///system Migration: [100 %] I have no idea why those two flags combined together produce an error, and only for UEFI virtual machines. here is the libvirt xml definition: testuefi ce12de05-ec09-4b4b-a27a-47003a511bda CentOS 4.5 (32-bit) 2097152 1048576 2 878 /machine Apache Software Foundation CloudStack KVM Hypervisor ce12de05-ec09-4b4b-a27a-47003a511bda hvm /usr/share/OVMF/OVMF_CODE.fd= /var/lib/libvirt/qemu/nvram/testuefi_VARS.fd Westmere destroy restart destroy /usr/bin/kvm-spice