From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@bugzilla.kernel.org
Subject: [Bug 43328] New: VT-d/SR-IOV doesn't work in guest
Date: Fri, 1 Jun 2012 07:22:34 +0000 (UTC)
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
To: kvm@vger.kernel.org
Return-path:
Received: from mail.kernel.org ([198.145.19.201]:36780 "EHLO mail.kernel.org"
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
id S1758015Ab2FAHWh (ORCPT );
Fri, 1 Jun 2012 03:22:37 -0400
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id 0DECE20369
for ; Fri, 1 Jun 2012 07:22:36 +0000 (UTC)
Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.204])
by mail.kernel.org (Postfix) with ESMTP id 45A8720341
for ; Fri, 1 Jun 2012 07:22:34 +0000 (UTC)
Sender: kvm-owner@vger.kernel.org
List-ID:
https://bugzilla.kernel.org/show_bug.cgi?id=43328
Summary: VT-d/SR-IOV doesn't work in guest
Product: Virtualization
Version: unspecified
Kernel Version: 3.4.0
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: kvm
AssignedTo: virtualization_kvm@kernel-bugs.osdl.org
ReportedBy: yongjie.ren@intel.com
CC: avi@redhat.com
Regression: No
Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows):Linux
kvm.git Commit:b48b2c3e50433ff6f7e46186daa7f986bd960215
qemu-kvm Commit:18a188f66237e7b38fc8133d3862e5904c0e7ffb
Host Kernel Version:3.4.0
Hardware:WSM-EP, Romley-EP
Bug detailed description:
--------------------------
Assign a VF or normal NIC to the guest, the guest cannot get IP address.
Note:1. assign the VF of Intel 82576 NIC or 82599 NIC, the guest cannot get IP
2. hot plug a VF to the guest, the guest cannot get IP
3. assign a PF to the guest, the guest cannot get IP.
kvm(next) + qemu-kvm = result
b48b2c3e + 18a188f6 = bad
322728e5 + 18a188f6 = good
Reproduce steps:
----------------
1. ./pcistub.sh -h 08:10.0 ( to hide a device)
2. qemu-system-x86_64 -m 512 -device pci-assign,host=08:10.0 -net none -hda
rhel6u1.qcow
Current result:
----------------
The guest cannot get IP
Expected result:
----------------
The guest can get IP
Basic root-causing log:
----------------------
[root@vt-snb9 ~]# qemu-system-x86_64 -m 512 -device pci-assign,host=08:10.0
-net none -hda rhel6u1.qcow
VNC server running on `::1:5900'
assigned_dev_enable_msix: assign irq: Invalid argument
fail to set MSI-X entry number for MSIX! Invalid argument
assigned_dev_update_msix_mmio: Invalid argument
fail to set MSI-X entry number for MSIX! Invalid argument
assigned_dev_update_msix_mmio: Invalid argument
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.