Received: from [140.186.70.92] (port=40157 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4BMN-0006LM-Oa for qemu-devel@nongnu.org; Mon, 28 Mar 2011 08:15:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4BMM-0003RY-52 for qemu-devel@nongnu.org; Mon, 28 Mar 2011 08:15:50 -0400 Received: from adelie.canonical.com ([91.189.90.139]:49632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4BML-0003RP-Vl for qemu-devel@nongnu.org; Mon, 28 Mar 2011 08:15:50 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Q4BML-0005WT-9j for ; Mon, 28 Mar 2011 12:15:49 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 46EA72E896C for ; Mon, 28 Mar 2011 12:15:49 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 28 Mar 2011 11:24:29 -0000 From: Yongjie Ren <744195@bugs.launchpad.net> Sender: bounces@canonical.com References: <20110328112040.17205.99136.malonedeb@wampee.canonical.com> Message-Id: <20110328112429.31089.23243.malone@potassium.ubuntu.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 744195] Re: guest cannot boot with 8 VFs or more Reply-To: Bug 744195 <744195@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org a related issues was reported and fiexed before, but the two is not the sam= e problem. = http://sourceforge.net/tracker/?func=3Ddetail&aid=3D2847560&group_id=3D1805= 99&atid=3D893831 -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/744195 Title: guest cannot boot with 8 VFs or more Status in QEMU: New Bug description: Environment: ------------ Host OS (ia32/ia32e/IA64):All Guest OS (ia32/ia32e/IA64): All Guest OS Type (Linux/Windows): Linux kvm.git Commit:a3e2cba1e702cfe15e2ebb20a75b88f02c834d3f qemu-kvm Commit:2c9bb5d4e5ae3b12ad71bd6a0c1b32003661f53a Host Kernel Version:2.6.38+ Hardware:Westmere-EP / Sandy Bridge = Bug detailed description: -------------------------- Guest cannot boot with 8 VFs or more VFs, but guest can boot with 7 VFs. If you assign hot-plug VFs, after you assigning the 8th VF, you may get t= he following message in host. = "kvm_alloc_slot: no free slot available". And the guest aborts. Reproduce steps: ---------------- 1.try to create a guest with 8 VFs:(the guest cannot boot) qemu-system-x86_64 -smp 2 -m 1024 -net none -hda /root/rhel6.1-beta1.img -device pci-assign,host=3D04:10.0 -device pci-assign,host=3D04:10.1 -devi= ce pci-assign,host=3D04:10.2 -device pci-assign,host=3D04:10.3 -device pci-assign,host=3D04:10.4 -device pci-assign,host=3D04:10.5 -device pci-assign,host=3D04:10.6 -device pci-assign,host=3D04:10.7 2.If you want to assign 8 hot-plug VFs, you may use following command in = qemu monitor after you start a guest. "device_add pci-assign,host=3D00:19.0,id=3Dmy_nic"