[Bug 55421] New: igb VF can't work in KVM guest

bugzilla-daemon
2013-03-18T15:06:12Z

Summary: igb VF can't work in KVM guest
Product: Virtualization
Version: unspecified
Kernel Version: 3.9.0-rc1
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: kvm
AssignedTo: virtualization_kvm@kernel-bugs.osdl.org
ReportedBy: yongjie.ren@intel.com
Regression: No

Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows):Linux
kvm.git next branch Commit:5da596078f915a62e39a20e582308eab91b88c9a
qemu-kvm uq/master branch Commit:3e41a753551a906dd9ed66fb0fc34167a6af3ba0
Host Kernel Version:3.9.0-rc1
Hardware:SNB-EP, WSM-EP

Bug detailed description:
--------------------------
After assigning a igb VF to a guest or hot-plugging a VF to a guest, the VF
cannot work in the guest.
Note:
1. The VF of Intel 82599 NIC (ixgbe) can work in guest
2. The PF of Intel 82576 NIC or Intel I350 NIC (using igb driver) can work in
guest

This should be a kvm bug.
kvm + qemu-kvm = result
5da59607 + 3e41a753 = bad
3ab66e8a + 3e41a753 = good

Reproduce steps:
----------------
1.start up a KVM host
2.assign a VF to a guest in qemu commandline:
qemu-system-x86_64 --enable-kvm -m 1024 -smp 2 -device pci-assign,host=05:10.0
-net none -hda rhel6u3.img

Current result:
----------------
the VF of cannot work in guest

Expected result:
----------------
the VF can work in the guest