Bug 1038603

Summary: make seabios 256k for rhel7 machine types
Product: Red Hat Enterprise Linux 7 Reporter: Gerd Hoffmann <kraxel>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, flang, hhuang, juzhang, michen, qiguo, qzhang, virt-maint, xwei
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-38.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1038604 (view as bug list) Environment:
Last Closed: 2014-06-13 12:37:01 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:
Bug Depends On:    
Bug Blocks: 1038604, 1038630    

Description Gerd Hoffmann 2013-12-05 13:09:33 UTC
Description of problem:
Recent seabios doesn't fit into 128k any more.
Switch to 256k for rhel7 machine types.
rhel6 machine types must stay at 128k for compatibility reasons.

No very urgent needed as the rhel7 bios has some hardware support
disabled and is a bit smaller than upstream.  We'll get it from
upstream with the 7.1 rebase though, and having all rhel7 machine
types use the same bios size will simplify things, so backporting
to 7.0 looks useful nevertheless.

Comment 3 Gerd Hoffmann 2013-12-11 09:52:17 UTC
patches posted.

Comment 4 Miroslav Rezanina 2014-01-17 13:27:16 UTC
Fix included in qemu-kvm-1.5.3-38.el7

Comment 6 langfang 2014-01-21 10:19:39 UTC
Reproduce this bug as follow version:
Host:
# uname -r
3.10.0-61.el7.x86_64
# rpm -q qemu-kvm
qemu-kvm-1.5.3-21.el7.x86_64
#rpm -q seabios
seabios-1.7.2.2-4.el7.x86_64

# ls -l /usr/share/seabios
total 128
-rw-r--r--. 1 root root 131072 Nov  5 09:25 bios.bin

verify this bug on latest version:
Host
# rpm -q qemu-kvm
qemu-kvm-1.5.3-38.el7.x86_64
seabios-1.7.2.2-9.el7.x86_64

Steps:
# ls -l /usr/share/seabios
total 384
-rw-r--r--. 1 root root 262144 Jan 15 14:13 bios-256k.bin
-rw-r--r--. 1 root root 131072 Jan 15 14:13 bios.bin


Addtional test on latest version test:

*senaro 1)

 1.Boot guest with "-M rhel6.5.0/rhel6.4.0/rhel6.3.0/rhel6.2.0/rhel6.1.0/rhel6.0.0"
 2.(qemu)info roms

Results:
(qemu) info roms
fw=genroms/kvmvapic.bin size=0x002400 name="kvmvapic.bin"
addr=00000000fffe0000 size=0x020000 mem=rom name="bios.bin"---->using bios.bin

*senaro 2)

  1.Boot guest with "-M pc/pc-i440fx-rhel7.0.0/q35/pc-q35-rhel7.0.0
  
Results:
(qemu) info roms
/rom@genroms/kvmvapic.bin size=0x002400 name="kvmvapic.bin"
addr=00000000fffc0000 size=0x040000 mem=rom name="bios-256k.bin"--->using bios-256k.bin
/rom@etc/acpi/tables size=0x003000 name="etc/acpi/tables"
/rom@etc/table-loader size=0x001000 name="etc/table-loader"

According to above test ,this bug has been fixed.

Comment 8 Ludek Smid 2014-06-13 12:37:01 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.