Received: from eggs.gnu.org ([2001:4830:134:3::10]:57836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZEG4-0004lJ-UK for qemu-devel@nongnu.org; Sat, 21 Mar 2015 03:55:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZEFx-000099-Fa for qemu-devel@nongnu.org; Sat, 21 Mar 2015 03:55:48 -0400 Received: from indium.canonical.com ([91.189.90.7]:46589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZEFx-00008x-8a for qemu-devel@nongnu.org; Sat, 21 Mar 2015 03:55:41 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1YZEFw-0000BQ-JK for ; Sat, 21 Mar 2015 07:55:40 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 90EA12E80BB for ; Sat, 21 Mar 2015 07:55:40 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 21 Mar 2015 07:45:44 -0000 From: youyunyehe Sender: bounces@canonical.com References: <20150321074437.16517.74688.malonedeb@gac.canonical.com> Message-Id: <20150321074544.17082.14151.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1434779] Re: qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk ) Reply-To: Bug 1434779 <1434779@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Attachment added: "livemig.png" https://bugs.launchpad.net/qemu/+bug/1434779/+attachment/4351204/+files/= livemig.png -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1434779 Title: qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk ) Status in QEMU: New Bug description: Hi, We are using =E2=80=9CWindows Server 2008=E2=80=9D with qemu-kvm-2.0.1 (l= inux kernel:3.10.0) as a host of a VM. Using drive_mirror to do live-migration on the same host for different d= isks Local disk: /sf/data/local/ Shared disk(iscsi): /sf/other/local/ --- the disk is busy, the IO rat= e is about 30MB/s qemu-system-x86_64 -k en-us -m 2048 -smp 2 -vnc :3100 -usbdevice tablet -= boot c -enable-kvm -drive file=3D/sf/data/local/vm-disk-1.qcow2,if=3Dnone,i= d=3Ddrive-ide0,cache=3Dnone,aio=3Dnative -device ide-hd,bus=3Dide.0,unit=3D= 0,drive=3Ddrive-ide0,id=3Dide0,bootindex=3D100 = Step 1: Start migration: Drive_mirror -f drive-ide0 /sf/other/local/test.qcow2 Step 2: When detect the migration has completed, then send cmd: block_job_complet= e -f drive-ide0 Step 3: send cmd: info status = What surprised me is that the qemu monitor reports can=E2=80=99t be conne= cted. Then find bellows: The qemu process hangs on the mirror_run->bdrv_drain_all->aio_poll->qemu= _poll_ns->ppoll (), None events were received and poll forever. I don=E2=80=99t know why the = aio can=E2=80=99t be responsed. This case is hardly to be generated but it really happens sometimes . I=E2=80=99m looking forwar= d to getting help from you . The stack capture snapshot: = Thanks = MyAngle To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1434779/+subscriptions