Received: from eggs.gnu.org ([140.186.70.92]:45211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLnhp-0002gI-IU for qemu-devel@nongnu.org; Wed, 02 Nov 2011 23:11:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLnho-00087y-8I for qemu-devel@nongnu.org; Wed, 02 Nov 2011 23:11:05 -0400 Received: from indium.canonical.com ([91.189.90.7]:53780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLnho-00087r-0O for qemu-devel@nongnu.org; Wed, 02 Nov 2011 23:11:04 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RLnhn-0007uT-47 for ; Thu, 03 Nov 2011 03:11:03 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 1DE112E808C for ; Thu, 3 Nov 2011 03:11:03 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Nov 2011 03:02:58 -0000 From: Yongjie Ren <875723@bugs.launchpad.net> Sender: bounces@canonical.com References: <20111016134412.29907.70417.malonedeb@soybean.canonical.com> Message-Id: <20111103030258.5502.74228.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 875723] Re: guest aborts when detaching a SR-IOV VF Reply-To: Bug 875723 <875723@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I also tried this issue with Intel 82576EI NIC, and this normal VT-D NIC doesn't have this detachment issue. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/875723 Title: guest aborts when detaching a SR-IOV VF Status in QEMU: New Bug description: Environment: ------------ Host OS (ia32/ia32e/IA64):All Guest OS (ia32/ia32e/IA64):ia32e Guest OS Type (Linux/Windows):Linux kvm.git Commit:211978fb6c666f824ae8221baeaeeee7ee28efc1 qemu.git Commit:edbb7c0de56692868e6126c7ff7e8bf917f8d0e7 Host Kernel Version:3.1.0-rc9+ Hardware: Westmere-EP && SandyBridge platform Bug detailed description: -------------------------- Guest will abort when detaching a SR-IOV VF. I'm using rhel6 and rhel6u1 as my guest. Firstly, I hot-plug a sr-iov VF = to a guest. Then I detach the VF from the guest. At that time, guest aborts= and qemu-kvm process aborts with the following message. "qemu-system-x86_64: /workspace/qemu-kvm/memory.c:998: memory_region_dest= roy: Assertion `((&mr->subregions)->tqh_first =3D=3D ((void *)0))' failed. Aborted (core dumped) " Reproduce steps: ---------------- 1.start a rhel6 guest 2.attach a SR-IOV VF to the guest: device_add pci-assign,host=3D01:10.0,= id=3DmyNIC (I'm using 82576 Virtual Function.) 3.detach the VF from the guest: device_del myNIC (you'll find guest aborts) Current result: ---------------- guest aborts and qemu process aborts Expected result: ---------------- guest still alive To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/875723/+subscriptions