Bug 637502

Summary: VF cannot get IP address in windows guests except win2008 64bit/32bit
Product: Red Hat Enterprise Linux 6 Reporter: juzhang <juzhang>
Component: qemu-kvmAssignee: Alex Williamson <alex.williamson>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: 6.0CC: gyue, jyang, llim, mkenneth, tburke, virt-maint
Target Milestone: beta   
Target Release: 6.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-08 18:22:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 580951    

Description juzhang 2010-09-26 08:58:27 UTC
Description of problem:
VF can be assigned to Windows7 with qemu-kvm cmdline.
But it can not get IP address. It shows a yellow flag with VF in Windows7 Device Manager.device manager show "yellow bang" and it's said "This device
can not start. (Code 28)". VF device can not work on win7 32bit/64bit.

Meanwhile, PF can work in Windows7. 



Version-Release number of selected component (if applicable):
#rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.113.el6_0.1.x86_64
#uname -r
2.6.32-71.2.1.el6_0.x86_64

How reproducible:


Steps to Reproduce:
1.Generate VFs
#modprobe -r igb
#modprobe igb max_vfs=1
#lspci | grep 82576
03:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
03:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
03:10.0 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01)
03:10.2 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01)
2.boot guest with vf 03:10.0
#/usr/libexec/qemu-kvm -enable-kvm -m 2G -smp 2 -uuid `uuidgen` -monitor stdio -rtc base=localtime -drive file=/home/win7-64.qcow2,format=qcow2,id=test,cache=none,boot=on,werror=stop,rerror=stop,if=none -device ide-drive,drive=test,id=test1 -boot c  -qmp tcp:0:4445,server,nowait  -vnc :10 -device pci-assign,host=03:10.0,id=hostnet -netdev tap,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=22:11:22:45:66:97

3.boot guest and check network connection,please note,this guest have installed the following driver.because of just tested PF.
http://downloadcenter.intel.com/confirm.aspx?httpDown=http://downloadmirror.intel.com/18713/eng/PROWinx64.exe&agr=&ProductID=&DwnldId=18713&strOSs=&OSFullName=&lang=eng

Actual results:
VF cannot get IP 

Expected results:
VF can work in win7


Additional info:
1.I also tested rhel6 32bit/64bit and win2008 64bit,And VF can work in these Guest.

2.82576 PF can work in Windows7. 

3.Dmesg output when booting Windows7:
########
pci-stub 0000:03:10.0: enabling device (0000 -> 0002)
assign device: host bdf = 3:10:0
########

4.driver version shows up in the win7 guest

Ethernet Controller
Driver Provider: Unknown
Driver Data: Not available
Driver Version: Not available
Digital Signer: Not digitally signed

Comment 1 RHEL Program Management 2010-09-26 09:07:43 UTC
Thank you for your bug report. This issue was evaluated for inclusion
in the current release of Red Hat Enterprise Linux. Unfortunately, we
are unable to address this request in the current release. Because we
are in the final stage of Red Hat Enterprise Linux 6 development, only
significant, release-blocking issues involving serious regressions and
data corruption can be considered.

If you believe this issue meets the release blocking criteria as
defined and communicated to you by your Red Hat Support representative,
please ask your representative to file this issue as a blocker for the
current release. Otherwise, ask that it be evaluated for inclusion in
the next minor release of Red Hat Enterprise Linux.

Comment 6 Alex Williamson 2010-12-08 18:22:20 UTC
Code 28 on my system reports "The drivers for this device are not installed.", this is after installing the Intel drivers with the PF assigned to the guest.  The Intel drivers will not even install, claiming there are no supported devices in the system if attempted with only the VF assigned to the guest.  Conclusion is that as of the 15.7 Intel driver release, dated 11/11/2010, there is still no 82576 VF driver for Windows guests other than Windows Server 2008.  If there's evidence to the contrary, please re-open.