From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYbl7-00086O-9T for qemu-devel@nongnu.org; Mon, 29 Sep 2014 10:17:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYbl0-0006eY-9s for qemu-devel@nongnu.org; Mon, 29 Sep 2014 10:17:01 -0400 Received: from indium.canonical.com ([91.189.90.7]:51664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYbl0-0006du-4w for qemu-devel@nongnu.org; Mon, 29 Sep 2014 10:16:54 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1XYbku-0000sC-G3 for ; Mon, 29 Sep 2014 14:16:48 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 680A02E8072 for ; Mon, 29 Sep 2014 14:16:48 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 29 Sep 2014 14:08:46 -0000 From: Christoffer Dall Sender: bounces@canonical.com References: <20140318172403.30474.3932.malonedeb@soybean.canonical.com> Message-Id: <20140929140846.5566.44459.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1294227] Re: migration wrong handling of KVM_GET_DIRTY_LOG ioctl Reply-To: Bug 1294227 <1294227@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Sent patch for error handling: http://lists.nongnu.org/archive/html/qemu-devel/2014-09/msg05633.html -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1294227 Title: migration wrong handling of KVM_GET_DIRTY_LOG ioctl Status in QEMU: In Progress Bug description: In the code below kvm_vm_ioctl(...) can return --errno !=3D -1 from ioctl= call, but return only checks for -1. = Found during KVM-ARM migration which apperead to go through but was actua= lly failing getting = memslot dirty bitmap. static int kvm_physical_sync_dirty_bitmap(....) { .... if(kvm_vm_ioctl(s, KVM_GET_DIRTY_LOG, &d) =3D=3D -1) { - err out } ... continue } To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1294227/+subscriptions