Received: from [140.186.70.92] (port=40158 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4BMN-0006LX-U1 for qemu-devel@nongnu.org; Mon, 28 Mar 2011 08:15:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4BMM-0003Rd-5D for qemu-devel@nongnu.org; Mon, 28 Mar 2011 08:15:51 -0400 Received: from adelie.canonical.com ([91.189.90.139]:49625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4BML-0003RM-V6 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 1Q4BMK-0005TN-U8 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 E31CB2E896C for ; Mon, 28 Mar 2011 12:15:48 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 28 Mar 2011 11:20:40 -0000 From: Yongjie Ren <744195@bugs.launchpad.net> Sender: bounces@canonical.com References: <20110328112040.17205.99136.malonedeb@wampee.canonical.com> Message-Id: <20110328112040.17205.99136.malonedeb@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 744195] [NEW] 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 Public bug reported: 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 the 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 -device 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 qe= mu monitor after you start a guest. "device_add pci-assign,host=3D00:19.0,id=3Dmy_nic" ** Affects: qemu Importance: Undecided Status: New ** Bug watch added: SourceForge.net Tracker #2847560 http://sourceforge.net/support/tracker.php?aid=3D2847560 -- = 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"