From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:53500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gx6EP-0006QR-IP for qemu-devel@nongnu.org; Fri, 22 Feb 2019 03:30:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gx6EH-0002OM-Ng for qemu-devel@nongnu.org; Fri, 22 Feb 2019 03:30:49 -0500 Received: from indium.canonical.com ([91.189.90.7]:60214) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gx6EG-0002Im-Fn for qemu-devel@nongnu.org; Fri, 22 Feb 2019 03:30:45 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1gx6EE-0000f1-0c for ; Fri, 22 Feb 2019 08:30:42 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id F1A662E8031 for ; Fri, 22 Feb 2019 08:30:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 22 Feb 2019 08:21:09 -0000 From: Mathieu Corbin <1817268@bugs.launchpad.net> Reply-To: Bug 1817268 <1817268@bugs.launchpad.net> Sender: bounces@canonical.com Message-Id: <155082367008.22773.11895376561017991070.malonedeb@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1817268] [NEW] Input/output error during migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: 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 --chang= e-protection --abort-on-error testuefi qemu+tcp:///system error: internal error: qemu unexpectedly closed the monitor: Receiving bloc= k device images 2019-02-21T16:20:15.263261Z qemu-system-x86_64: error while loading state s= ection id 2(block) 2019-02-21T16:20:15.263996Z qemu-system-x86_64: load of migration failed: I= nput/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-protection= --abort-on-error testuefi qemu+tcp:///system Migration: [100 %] virsh migrate --verbose --live --p2p --tunnelled --change-protection --abor= t-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