Received: from eggs.gnu.org ([2001:4830:134:3::10]:41807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhX0y-0006sJ-Sq for qemu-devel@nongnu.org; Wed, 07 Sep 2016 03:11:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhX0t-0006qV-P6 for qemu-devel@nongnu.org; Wed, 07 Sep 2016 03:11:20 -0400 Received: from indium.canonical.com ([91.189.90.7]:56837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhX0t-0006qR-Jf for qemu-devel@nongnu.org; Wed, 07 Sep 2016 03:11:15 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bhX0s-00088F-Ik for ; Wed, 07 Sep 2016 07:11:14 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 87FD62E80C3 for ; Wed, 7 Sep 2016 07:11:14 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 07 Sep 2016 07:03:40 -0000 From: ChristianEhrhardt <1536487@bugs.launchpad.net> Reply-To: Bug 1536487 <1536487@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160121062724.15018.99449.malonedeb@wampee.canonical.com> Message-Id: <20160907070340.4670.84084.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1536487] Re: Unable to migrate pc-i440fx-2.4 KVM guest from QEMU 2.5.0 to QEMU 2.4.1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Note: Also affects Migration Xenial->Trusty (tested and ran into the same issue, that was how I found the bug) and very likely also Yakkety->Trusty. qemu | 2.0.0+dfsg-2ubuntu1.27 | trusty-security | source qemu | 1:2.5+dfsg-5ubuntu10.4 | xenial-updates | source Subscribing server Team to look at this in the scope of the qemu packaging SRU work for Xenial. ** Also affects: qemu (Ubuntu) Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1536487 Title: Unable to migrate pc-i440fx-2.4 KVM guest from QEMU 2.5.0 to QEMU 2.4.1 Status in QEMU: Fix Released Status in qemu package in Ubuntu: New Bug description: When migrating a pc-i440fc-2.4 KVM guest from QEMU 2.5.0 to QEMU 2.4.1, the target QEMU errors out: =C2=A0=C2=A0qemu-system-x86_64: error while loading state for instance 0x= 0 of device 'fw_cfg' This appears to be related to the addition of a DMA interface to fw_cfg last October: =C2=A0=C2=A0http://lists.nongnu.org/archive/html/qemu- devel/2015-10/msg04568.html "info qtree" on the source QEMU shows that the DMA interface for fw_cfg had been enabled: =C2=A0=C2=A0bus: main-system-bus =C2=A0=C2=A0=C2=A0=C2=A0type System =C2=A0=C2=A0=C2=A0=C2=A0... =C2=A0=C2=A0=C2=A0=C2=A0dev: fw_cfg_io, id "" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0iobase =3D 1296 (0x510) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dma_iobase =3D 1300 (0x514) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dma_enabled =3D true Incidentally, this guest had just undergone a migration from QEMU 2.4.1 to QEMU 2.5.0, so it looks like DMA was enabled simply through the migration. It seems to me that the DMA interface for fw_cfg should only be enabled on pc-i440fx-2.5 machines or higher. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1536487/+subscriptions