Bug 1361534

Summary: RFE: Integrate e1000e implementation in downstream QEMU
Product: Red Hat Enterprise Linux 7 Reporter: Miroslav Rezanina <mrezanin>
Component: ipxeAssignee: Virtualization Maintenance <virt-maint>
ipxe sub component: roms-qemu QA Contact: weliao <weliao>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: unspecified CC: ailan, chayang, huding, jasowang, jinzhao, juzhang, mrezanin, mst, rbalakri, sherold, virt-maint, weliao, yvugenfi
Version: 7.3Keywords: FutureFeature
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipxe-20160127-4.git6366fa7a.el7 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1343092 Environment:
Last Closed: 2016-11-04 00:39:24 UTC Type: Bug
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: 1343092    
Bug Blocks: 1343094, 1343429    

Comment 1 Miroslav Rezanina 2016-07-29 11:16:47 UTC
We need proper rom build in ipxe.

Comment 2 Miroslav Rezanina 2016-08-02 10:02:32 UTC
Fix included in ipxe-20160127-4.git6366fa7a.el7

Comment 4 jingzhao 2016-08-24 04:50:44 UTC
Reproduce the bz on qemu-kvm-rhev-2.6.0-11.el7.x86_64 and ipxe-roms-qemu-20160127-3.git6366fa7a.el7.noarch

[root@localhost e1000e]# sh q35.sh 
QEMU 2.6.0 monitor - type 'help' for more information
(qemu) qemu-kvm: -device e1000e,netdev=hostnet1,id=net1,mac=54:52:00:B6:40:22,bus=downstream3: 'e1000e' is not a valid device model name


Verified the bz on ipxe-roms-qemu-20160127-4.git6366fa7a.el7.noarch and qemu-kvm-rhev-2.6.0-20.el7.x86_64

1. Boot vm with e1000e device
2. (qemu) info network 
net1: index=0,type=nic,model=e1000e,macaddr=54:52:00:b6:40:22
 \ hostnet1: index=0,type=tap,ifname=tap0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
3. rhel7.2 guest install successfully

ps: the qemu cmdline:
/usr/libexec/qemu-kvm \
-M q35 \
-cpu SandyBridge \
-nodefaults -rtc base=utc \
-m 4G \
-smp 2,sockets=2,cores=1,threads=1 \
-enable-kvm \
-name rhel7.3 \
-uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \
-smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \
-k en-us \
-serial unix:/tmp/console,server,nowait \
-boot menu=on \
-bios /usr/share/seabios/bios.bin \
-chardev file,path=/home/e1000e/seabios.log,id=seabios \
-device isa-debugcon,chardev=seabios,iobase=0x402 \
-qmp tcp::8887,server,nowait \
-vga qxl \
-spice port=5932,disable-ticketing \
-device ioh3420,id=root.0,slot=1 \
-drive file=/home/e1000e/test.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop \
-device virtio-blk-pci,bus=root.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
-device ioh3420,id=root.1,slot=2 \
-device x3130-upstream,bus=root.1,id=upstream1 \
-device xio3130-downstream,bus=upstream1,id=downstream1,chassis=1 \
-device xio3130-downstream,bus=upstream1,id=downstream2,chassis=2 \
-device xio3130-downstream,bus=upstream1,id=downstream3,chassis=3 \
-device ioh3420,id=root.2,slot=3 \
-netdev tap,id=hostnet1 \
-device e1000e,netdev=hostnet1,id=net1,mac=54:52:00:B6:40:22,bus=downstream3 \
-monitor stdio \


Thanks
Jing Zhao

Comment 5 weliao 2016-08-25 10:00:31 UTC
According to #comment4, change the status to VERIFIED.

Comment 7 errata-xmlrpc 2016-11-04 00:39:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2214.html