seabios update
Hi,
Here we go. Update seabios to pre-1.7.4 snapshot so we get some testing for the 1.7.4 freeze. Update to final 1.7.4 most likely later this year.
please pull,
Gerd
The following changes since commit 7dc65c02fe3fb8f3146ce0b9ff5fec5945329f0e:
Open 2.0 development tree (2013-11-27 14:02:45 -0800)
are available in the git repository at:
git://git.kraxel.org/qemu tags/pull-seabios-31b8b4e-1
for you to fetch changes up to bcf2b7d2af7c54bb42be1229df9e78ba7d08d2a7:
pc: switch 2.0 machine types to large seabios binary (2013-12-06 08:55:42 +0100)
----------------------------------------------------------------
Update seabios to master snapshot (pre-1.7.4).
Update vgabios, switch from lgplvgabios to seavgabios. Update build process to build both 128k and 256k bios versions. Use 256k bios for pc-*-2.0+ machine types.
----------------------------------------------------------------
Gerd Hoffmann (8):
add pc-{i440fx,q35}-2.0 machine types
add firmware to machine options
roms: update seabios submodule to 31b8b4eea9d9ad58a73b22a6060d3ac1c419c26d
roms: build two seabios binaries
roms: enable seabios cross builds
roms: update seabios binaries
roms: update vgabios binaries
pc: switch 2.0 machine types to large seabios binary
hw/i386/pc_piix.c | 16 ++++++++++++++-- hw/i386/pc_q35.c | 13 ++++++++++++- pc-bios/acpi-dsdt.aml | Bin 4407 -> 4407 bytes pc-bios/bios-256k.bin | Bin 0 -> 262144 bytes pc-bios/bios.bin | Bin 131072 -> 131072 bytes pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 7344 bytes pc-bios/vgabios-cirrus.bin | Bin 35840 -> 36864 bytes pc-bios/vgabios-qxl.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-stdvga.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-vmware.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios.bin | Bin 40448 -> 36864 bytes roms/Makefile | 9 ++++++--- roms/config.seabios | 1 - roms/config.seabios-128k | 6 ++++++ roms/config.seabios-256k | 3 +++ roms/seabios | 2 +- vl.c | 7 ++++++- 17 files changed, 48 insertions(+), 9 deletions(-) create mode 100644 pc-bios/bios-256k.bin delete mode 100644 roms/config.seabios create mode 100644 roms/config.seabios-128k create mode 100644 roms/config.seabios-256k
PATCH 1/8 add pc-{i440fx,q35}-2.0 machine types
--- hw/i386/pc_piix.c | 14 ++++++++++++-- hw/i386/pc_q35.c | 11 ++++++++++- 2 files changed, 22 insertions(+), 3 deletions(-)
hw/i386/pc_piix.c +12 -2
@@ -339,13 +339,22 @@ static void pc_xen_hvm_init(QEMUMachineInitArgs *args) .desc = "Standard PC (i440FX + PIIX, 1996)", \ .hot_add_cpu = pc_hot_add_cpu +#define PC_I440FX_2_0_MACHINE_OPTIONS PC_I440FX_MACHINE_OPTIONS + +static QEMUMachine pc_i440fx_machine_v2_0 = { +PC_I440FX_2_0_MACHINE_OPTIONS , + .name ="pc-i440fx-2.0" , + .alias ="pc" , + .init = pc_init_pci, + .is_default =1 , +}; +#define PC_I440FX_1_7_MACHINE_OPTIONS PC_I440FX_MACHINE_OPTIONS +static QEMUMachine pc_i440fx_machine_v1_7 = {PC_I440FX_1_7_MACHINE_OPTIONS , .name ="pc-i440fx-1.7" , - .alias ="pc" , .init = pc_init_pci, - .is_default =1 , };#define PC_I440FX_1_6_MACHINE_OPTIONS PC_I440FX_MACHINE_OPTIONS
@@ -747,6 +756,7 @@ static QEMUMachine xenfv_machine = {static void pc_machine_init (void ) { +qemu_register_machine (&pc_i440fx_machine_v2_0);qemu_register_machine (&pc_i440fx_machine_v1_7);qemu_register_machine (&pc_i440fx_machine_v1_6);qemu_register_machine (&pc_i440fx_machine_v1_5);
hw/i386/pc_q35.c +10 -1
@@ -259,12 +259,20 @@ static void pc_q35_init_1_4(QEMUMachineInitArgs *args) .desc = "Standard PC (Q35 + ICH9, 2009)", \ .hot_add_cpu = pc_hot_add_cpu +#define PC_Q35_2_0_MACHINE_OPTIONS PC_Q35_MACHINE_OPTIONS + +static QEMUMachine pc_q35_machine_v2_0 = { +PC_Q35_2_0_MACHINE_OPTIONS , + .name ="pc-q35-2.0" , + .alias ="q35" , + .init = pc_q35_init, +}; +#define PC_Q35_1_7_MACHINE_OPTIONS PC_Q35_MACHINE_OPTIONSstatic QEMUMachine pc_q35_machine_v1_7 = {PC_Q35_1_7_MACHINE_OPTIONS , .name ="pc-q35-1.7" , - .alias ="q35" , .init = pc_q35_init, };
@@ -306,6 +314,7 @@ static QEMUMachine pc_q35_machine_v1_4 = {static void pc_q35_machine_init (void ) { +qemu_register_machine (&pc_q35_machine_v2_0);qemu_register_machine (&pc_q35_machine_v1_7);qemu_register_machine (&pc_q35_machine_v1_6);qemu_register_machine (&pc_q35_machine_v1_5);
Signature · 1 line
1.8.3.1
PATCH 2/8 add firmware to machine options
In reply to Gerd HoffmannThis patch adds firmware to the machine options. -bios <file> becomes a shortcut for -machine firmware=<file>. Advantage is that the firmware can be specified via config file as -machine is parsed using QemuOpts and it is also possible to use different defaults for different machine types (via QEMUMachine->default_machine_opts).
--- vl.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
vl.c +6 -1
@@ -428,6 +428,10 @@ static QemuOptsList qemu_machine_opts = { .name = "usb", .type = QEMU_OPT_BOOL, .help = "Set on/off to enable/disable usb", + },{ + .name = "firmware", + .type = QEMU_OPT_STRING, + .help = "firmware image", }, {/* End of list */ } },
@@ -3229,7 +3233,7 @@ int main(int argc, char **argv, char **envp) }break ;case QEMU_OPTION_bios: - bios_name = optarg; +qemu_opts_set (qemu_find_opts ("machine" ),0 ,"firmware" , optarg);break ;case QEMU_OPTION_singlestep: singlestep =1 ;
@@ -4050,6 +4054,7 @@ int main(int argc, char **argv, char **envp) kernel_filename =qemu_opt_get (machine_opts,"kernel" ); initrd_filename =qemu_opt_get (machine_opts,"initrd" ); kernel_cmdline =qemu_opt_get (machine_opts,"append" ); + bios_name =qemu_opt_get (machine_opts,"firmware" ); boot_order = machine->default_boot_order; opts =qemu_opts_find (qemu_find_opts ("boot-opts" ),NULL );
Signature · 1 line
1.8.3.1
PATCH 3/8 roms: update seabios submodule to 31b8b4eea9d9ad58a73b22a6060d3ac1c419c26d
In reply to Gerd HoffmannUpdates seabios to git master snapshot. seabios is in freeze now, update to final 1.7.4 will follow later this year.
Summary of major changes:
* Support for acpi table loading from qemu.
* Support for the xhci host adapter.
* Support for the pvscsi HBA.
* Various minor bug fixes.
* Lots of cleanups.
Full shortlog since 1.7.3 (note that some of these changes have been cherry-picked into 1.7.3-stable):
Evgeny Budilovsky (1):
Add pvscsi boot support
Gerd Hoffmann (27):
coreboot: add cbmem console support
Add CONFIG_DEBUG_COREBOOT config option
apm: fix shutdown
ahci: add missing check for allocation failure
bochsvga: fallback to stdvga if dispi interface isn't present Add generic qemu detection
Drop coreboot qemu detection
Add qemu detection to csm
uas: add (temporary) superspeed stopgap
usb: add usb_update_pipe()
usb: add xhci support
fix buildversion.sh
build: simplify cross builds
build: create output dirs in do-kconfig
build: explicitly set ROM size
Add qemu_cfg_e820 function.
Add support for etc/e820 fw_cfg file
pci: don't reorder entries when moving to 64bit list
pci: don't map usb host adapters above 4G
pci: align 64bit pci regions to 1G
pci: tweak + comment minimum allocations
pci: log pci windows
pci: map 64-bit BARs at location provided by emulator
ahci: zap real mode macros
ahci: remote some parentheses
ahci: alloc structs in high memory
add hw/serialio.c to SRC32SEG
Jonathan A. Kollasch (1):
vgahooks: add SM720 VGA BIOS hooks for WIN Enterprises MB-60470
Kevin O'Connor (80):
Fix USB EHCI detection that was broken in hlist conversion of PCIDevices. Update README to include info on VARLOW variables.
PIC code cleanups.
Move internal timer code from clock.c to a new file timer.c. Don't pass khz to pmtimer_setup - it's always PM_TIMER_FREQUENCY. Add helper functions to convert timer irqs to milliseconds. Improve accuracy of internal timers.
Rename cpu_khz to TimerKHz.
Shift CPU TSC down to reduce need for 64bit variables.
Rename check_timer() function (and similar) to irqtimer_check(). Rename check_tsc() (and similar) to timer_check() and use u32. Separate out timer setup code.
Unify pmtimer_read() and pittimer_read() code.
Default unused UMB areas to be read-only.
Add missing mathcp_setup() call to CSM code.
Fix bug in CBFS file walking with compressed files.
Support custom boot menu prompt and custom boot menu key.
Minor cleanups to smm assembler.
Add config option to support memory allocations in 9-segment. Minor - no need to declare MaxCountCPUs as VARFSEG.
Minor - simplify rom_reserve().
Rename tools/ directory to scripts/ directory.
Update kconfig to latest version.
build: Don't use vpath makefile directive.
Move code centered around specific hardware devices to src/hw/ Move code cenetered around firmware initialization to src/fw/
build: Reorder makefile source list to group like files together.
README: Update readme to note scripts/ directory rename and vgasrc/ directory.
vgabios: Rename stdvga_bpp_factor to stdvga_vram_ratio.
vgabios: Limit the range of the VBE number of "pages" parameter.
readme: Minor - fix typo in readme.
Split x86 specific functions out of util.c/h to new files x86.c/h. Move keyboard calling code from util.c to boot.c.
Rename util.c to string.c and introduce string.h.
build: Perform compile checking on vgasrc code.
Move stacks.c definitions from util.h to new file stacks.h.
Move romfile definitions from util.h to new file romfile.h.
Move malloc code from pmm.c to new files malloc.c and malloc.h. Move function definitions for output.c from util.h to new file output.h. Move definition of struct segoff_s from farptr.h to types.h.
build: Fix import of gcc dependency files.
Move pirtable definitions from hw/pci.h to std/pirtable.h and util.h. Move optionroms.h to std/optionrom.h and util.h.
Move vbe.h to std/vbe.h.
Move fw/LegacyBios.h to std/LegacyBios.h and remove csm.h.
Move fw/smbios.h to std/smbios.h.
Move fw/mptable.h to std/mptable.h.
Move fw/acpi.h to std/acpi.h.
Move pnpbios definition to new file std/pnpbios.h.
Move pmm definitions to new file std/pmm.h.
Split disk.h into block.h and std/disk.h.
Move standard bda type info from biosvar.h to std/bda.h.
Merge bmp.h, boot.h, jpeg.h, and post.h into util.h.
Sort the sections of util.h.
Move PIT setup from clock.c to hw/timer.c.
Rename hw/cmos.h to hw/rtc.h and copy RTC code from clock.c to hw/rtc.c. Move dma code to new file hw/dma.c.
Remove ioport.h; disperse its contents to other header files. Minor - update file comments in src/malloc.c.
Rename fields of 'struct chs_s' and use in floppy lba2chs(). Rearrange stack_hop_back() call in wait_irq, check_irqs, and _farcall16. Minor - move call16 assembler in romlayout.S.
Make __call16 use C calling convention and support two passed parameters. Update _farcall16() to pass segment of callregs explicitly. Support call16() calls after entering 32bit mode from call32(). Run ahci code entirely in 32bit mode.
Build different final files for QEMU, coreboot, and CSM.
Convert op->drive_g from a 16bit pointer to a 32 bit "GLOBALFLAT" pointer.
megasas: Don't attempt to access 'struct pci_device' at runtime. Minor - eliminate the SET_GLOBAL macro.
Move low-level hardware writing from output.c to new file hw/serialio.c.
vgabios: Load the DAC palette in "packed" modes on Cirrus and BochsVGA.
vgabios: Support custom fonts in vga framebuffer text writing.
vgabios: Add bochsvga "HDTV" resolutions.
vgabios: Avoid possible divide by zero in bochsvga_set_displaystart.
vgabios: Work around lack of support for "calll" in x86emu emulation. Minor - update file comment on bootsplash.c.
vgabios: Support allocating an extra stack for vgabios calls and default on.
vgabios: Move initialization code to new file vgainit.c.
floppy: Minor - add warnings if timeouts occur.
Michael S. Tsirkin (6):
acpi: sync FADT flags from PIIX4 to Q35 acpi_extract.py: document DEVICE directives
biostables: support looking up RSDP
romfile_loader: utility to patch in-memory ROM files
acpi: load and link tables through romfile loader
acpi: strip compiler info in built-in DSDT if any
Paul Menzel (2):
ACPI DSDT: Make control method IQCR serialized
hw/usb-xhci.c: Code refactoring to not override initializers in speed_from_xhci[16]
--- roms/seabios | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
roms/seabios +1 -1
@@ -1 +1 @@ -Subproject commit ece025f5980bae88fa677bc9c0d24d2e580e205d +Subproject commit 31b8b4eea9d9ad58a73b22a6060d3ac1c419c26d
Signature · 1 line
1.8.3.1
PATCH 4/8 roms: build two seabios binaries
In reply to Gerd HoffmannAdding xhci support to seabios made it jump over the 128k line. Changing the bios size breaks migration, so we have to keep a 128k seabios binary for old machine types. New machine types can use a large 256k bios which should be big enougth for a while.
This patch updates the seabios build process to build seabios twice, once full featured and once with xen and xhci turned off so the resulting binary is small enougth to fit into 128k.
--- roms/Makefile | 7 ++++--- roms/config.seabios | 1 - roms/config.seabios-128k | 6 ++++++ roms/config.seabios-256k | 3 +++ 4 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 roms/config.seabios create mode 100644 roms/config.seabios-128k create mode 100644 roms/config.seabios-256k
roms/Makefile +4 -3
@@ -56,9 +56,10 @@ default: @echo " the EfiRom utility from edk2 / tianocore)" @echo " slof -- update slof.bin" -bios: build-seabios-config-seabios - cp seabios/builds/seabios/bios.bin ../pc-bios/bios.bin - cp seabios/builds/seabios/*dsdt.aml ../pc-bios/ +bios: build-seabios-config-seabios-128k build-seabios-config-seabios-256k + cp seabios/builds/seabios-128k/bios.bin ../pc-bios/bios.bin + cp seabios/builds/seabios-256k/bios.bin ../pc-bios/bios-256k.bin + cp seabios/builds/seabios-256k/src/fw/*dsdt.aml ../pc-bios/ seavgabios: $(patsubst %,seavgabios-%,$(vgabios_variants))
roms/config.seabios deleted +0 -1
@@ -1 +0,0 @@ -# empty, default config works for us
roms/config.seabios-128k new file +6 -0
@@ -0,0 +1,6 @@ +# for qemu machine types 1.7 + older +# need to turn off features (xhci) to make it fit into 128k +CONFIG_QEMU=y +CONFIG_ROM_SIZE=128 +CONFIG_XEN=n +CONFIG_USB_XHCI=n
roms/config.seabios-256k new file +3 -0
@@ -0,0 +1,3 @@ +# for qemu machine types 2.0 + newer +CONFIG_QEMU=y +CONFIG_ROM_SIZE=256
Signature · 1 line
1.8.3.1
PATCH 5/8 roms: enable seabios cross builds
In reply to Gerd Hoffmann--- roms/Makefile | 2 ++ 1 file changed, 2 insertions(+)
roms/Makefile +2 -0
@@ -73,9 +73,11 @@ build-seabios-config-%: config.% mkdir -p seabios/builds/$* cp $< seabios/builds/$*/.config $(MAKE) $(MAKEFLAGS) -C seabios \ + CROSS_COMPILE=$(x86_64_cross_prefix) \ KCONFIG_CONFIG=$(CURDIR)/seabios/builds/$*/.config \ OUT=$(CURDIR)/seabios/builds/$*/ oldnoconfig $(MAKE) $(MAKEFLAGS) -C seabios \ + CROSS_COMPILE=$(x86_64_cross_prefix) \ KCONFIG_CONFIG=$(CURDIR)/seabios/builds/$*/.config \ OUT=$(CURDIR)/seabios/builds/$*/ all
Signature · 1 line
1.8.3.1
PATCH 6/8 roms: update seabios binaries
In reply to Gerd Hoffmann--- pc-bios/acpi-dsdt.aml | Bin 4407 -> 4407 bytes pc-bios/bios-256k.bin | Bin 0 -> 262144 bytes pc-bios/bios.bin | Bin 131072 -> 131072 bytes pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 7344 bytes 4 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 pc-bios/bios-256k.bin
pc-bios/acpi-dsdt.aml binary +0 -0
pc-bios/bios-256k.bin new file binary +0 -0
pc-bios/bios.bin binary +0 -0
pc-bios/q35-acpi-dsdt.aml binary +0 -0
Signature · 1 line
1.8.3.1
PATCH 7/8 roms: update vgabios binaries
In reply to Gerd HoffmannThis also switches from lgplvgabios to seavgabios.
--- pc-bios/vgabios-cirrus.bin | Bin 35840 -> 36864 bytes pc-bios/vgabios-qxl.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-stdvga.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-vmware.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios.bin | Bin 40448 -> 36864 bytes 5 files changed, 0 insertions(+), 0 deletions(-)
pc-bios/vgabios-cirrus.bin binary +0 -0
pc-bios/vgabios-qxl.bin binary +0 -0
pc-bios/vgabios-stdvga.bin binary +0 -0
pc-bios/vgabios-vmware.bin binary +0 -0
pc-bios/vgabios.bin binary +0 -0
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH 7/8] roms: update vgabios binaries
Quoted 11 lines · Gerd Hoffmann
This also switches from lgplvgabios to seavgabios.
Signed-off-by Gerd Hoffmann <[email protected]>--- pc-bios/vgabios-cirrus.bin | Bin 35840 -> 36864 bytes pc-bios/vgabios-qxl.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-stdvga.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-vmware.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios.bin | Bin 40448 -> 36864 bytes 5 files changed, 0 insertions(+), 0 deletions(-)
This update breaks a 64-bit win7 guest for me. It now spins infinitely in the "Starting Windows" screen. I'm using stdvga. Is this a known issue?
Jan
Re: [Qemu-devel] [PATCH 7/8] roms: update vgabios binaries
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Il 05/01/2014 10:35, Jan Kiszka ha scritto:
Quoted 12 lines · Gerd Hoffmann
Quoted 10 lines
This also switches from lgplvgabios to seavgabios.
Signed-off-by Gerd Hoffmann <[email protected]> ---pc-bios/vgabios-cirrus.bin | Bin 35840 -> 36864 bytes pc-bios/vgabios-qxl.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-stdvga.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-vmware.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios.bin | Bin 40448 -> 36864 bytes 5 fileschanged, 0 insertions(+), 0 deletions(-)
Quoted 3 lines
This update breaks a 64-bit win7 guest for me. It now spins infinitely in the "Starting Windows" screen. I'm using stdvga. Is this a known issue?
Yes, and IIRC it's fixed in seabios.git.
Paolo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJSyUFIAAoJEBvWZb6bTYbyW2YP/RcOvD+mVB8Q9w+7VR2j6YIi y6XxUtHtH72149fg6eIp5hv3a2S8rBar4jW+N9zxLrY45dOo6ZDInxwLhXwR2hAI 3e8AV58eiT+JEMNdJ04J6TnROiaIgNU9gyGfHQqV1HlkZhlI17LMsx1paHd+++EN xss9oryCcVxFQGwThFCmOWLDliGiqr3whnQNRWKrVEc5/8Ia/dEaD3Z4wgdI3V96 cm+G+XxmJWeG3r9N5gPivCq0pCc6EucIKWoY8YDVYUhmBtCtNzvCun01aCX9vdaR P5UCmuhygLOjdJ6Mg05gXdTRPsoN/HotmimbCFfDkq148AYxOYgnZHxzhQ25Ena+ gBloJ5nM9omUJofZrJRTrj3Y6DHvTdL8ccVAmN6uy81LqGf/h8sKQviH2ON1JrKB qdPmSzZi94ofYWUYPGvcp9umoeqqDP91neRjRW1YCU39R6pWQ4qhQLOTQbHF2uXC KyYfHMtPWjaPkwFVAV/8Q5rt79rp0IkFZ2JSmY0R3YIIeCWzJ3lWHM3VVWwQ966V 0mgMmzk7WRNDTMisbBp1fX41FTAoCHMH+x3e6z8UEoW3RSjmkZAnRBvDiG9e8aeZ 8iaERnneV65aVnKDAywfzPzcyRUvRXi/WpAAUoO6nI5yicc5CVxORENDTai5ZCXc Xf2GUHKZzin9WVRSoqgC
=YmiO
-----END PGP SIGNATURE-----
Re: [Qemu-devel] [PATCH 7/8] roms: update vgabios binaries
Quoted 13 lines · Paolo Bonzini
Il 05/01/2014 10:35, Jan Kiszka ha scritto:
Quoted 11 lines · Gerd Hoffmann
Quoted 10 lines
This also switches from lgplvgabios to seavgabios.
Signed-off-by Gerd Hoffmann <[email protected]> ---pc-bios/vgabios-cirrus.bin | Bin 35840 -> 36864 bytes pc-bios/vgabios-qxl.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-stdvga.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-vmware.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios.bin | Bin 40448 -> 36864 bytes 5 fileschanged, 0 insertions(+), 0 deletions(-)
Quoted 5 lines
Quoted 3 lines
This update breaks a 64-bit win7 guest for me. It now spins infinitely in the "Starting Windows" screen. I'm using stdvga. Is this a known issue?
Yes, and IIRC it's fixed in seabios.git.
(Hmm, cd roms; make seavgabios doesn't work with out-of-tree builds)
Confirmed, win7 boots fine again with current seabios.git master. So please update qemu.
Jan
Re: [Qemu-devel] [PATCH 7/8] roms: update vgabios binaries
Il 05/01/2014 12:45, Jan Kiszka ha scritto:
Quoted 18 lines · Paolo Bonzini
Quoted 17 lines
Il 05/01/2014 10:35, Jan Kiszka ha scritto:
Quoted 15 lines · Gerd Hoffmann
Quoted 10 lines
This also switches from lgplvgabios to seavgabios.
Signed-off-by Gerd Hoffmann <[email protected]> ---pc-bios/vgabios-cirrus.bin | Bin 35840 -> 36864 bytes pc-bios/vgabios-qxl.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-stdvga.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios-vmware.bin | Bin 40448 -> 37376 bytes pc-bios/vgabios.bin | Bin 40448 -> 36864 bytes 5files changed, 0 insertions(+), 0 deletions(-)
This update breaks a 64-bit win7 guest for me. It now spins infinitely in the "Starting Windows" screen. I'm using stdvga. Is this a known issue?
Quoted 7 lines
Quoted 1 line
Yes, and IIRC it's fixed in seabios.git.
(Hmm, cd roms; make seavgabios doesn't work with out-of-tree builds)
Confirmed, win7 boots fine again with current seabios.git master. So please update qemu.
Ping?
Paolo
Re: [Qemu-devel] [PATCH 7/8] roms: update vgabios binaries
Hi,
Quoted 4 lines
Quoted 2 lines
Confirmed, win7 boots fine again with current seabios.git master. So please update qemu.
Ping?
Oops, totally forgot that. I'll send out a pull req in a moment.
cheers,
Gerd
PATCH 8/8 pc: switch 2.0 machine types to large seabios binary
In reply to Gerd Hoffmann--- hw/i386/pc_piix.c | 4 +++- hw/i386/pc_q35.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-)
hw/i386/pc_piix.c +3 -1
@@ -339,7 +339,9 @@ static void pc_xen_hvm_init(QEMUMachineInitArgs *args) .desc = "Standard PC (i440FX + PIIX, 1996)", \ .hot_add_cpu = pc_hot_add_cpu -#define PC_I440FX_2_0_MACHINE_OPTIONS PC_I440FX_MACHINE_OPTIONS +#define PC_I440FX_2_0_MACHINE_OPTIONS \ + PC_I440FX_MACHINE_OPTIONS, \ + .default_machine_opts = "firmware=bios-256k.bin"static QEMUMachine pc_i440fx_machine_v2_0 = {PC_I440FX_2_0_MACHINE_OPTIONS ,
hw/i386/pc_q35.c +3 -1
@@ -259,7 +259,9 @@ static void pc_q35_init_1_4(QEMUMachineInitArgs *args) .desc = "Standard PC (Q35 + ICH9, 2009)", \ .hot_add_cpu = pc_hot_add_cpu -#define PC_Q35_2_0_MACHINE_OPTIONS PC_Q35_MACHINE_OPTIONS +#define PC_Q35_2_0_MACHINE_OPTIONS \ + PC_Q35_MACHINE_OPTIONS, \ + .default_machine_opts = "firmware=bios-256k.bin"static QEMUMachine pc_q35_machine_v2_0 = {PC_Q35_2_0_MACHINE_OPTIONS ,
Signature · 1 line
1.8.3.1
PATCH 1/1 Add bios-256k.bin to BLOBS on Makefile
The default machine-type (pc-i440fx-2.0) now requires bios-256k.bin, but "make install" isn't installing it, so qemu-system-x86_64 won't run out of the box. Add it to BLOBS so it gets installed.
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -290,7 +290,7 @@ common de-ch es fo fr-ca hu ja mk nl-be pt sl tr \ bepo cz ifdef INSTALL_BLOBS -BLOBS=bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \ +BLOBS=bios.bin bios-256k.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \ vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin \ acpi-dsdt.aml q35-acpi-dsdt.aml \ ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc QEMU,tcx.bin \
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH] Add bios-256k.bin to BLOBS on Makefile
Quoted 3 lines · Eduardo Habkost
The default machine-type (pc-i440fx-2.0) now requires bios-256k.bin, but "make install" isn't installing it, so qemu-system-x86_64 won't run out of the box. Add it to BLOBS so it gets installed.
cheers,
Gerd
Re: [Qemu-devel] [PATCH] Add bios-256k.bin to BLOBS on Makefile
In reply to Eduardo HabkostQuoted 14 lines · Eduardo Habkost
The default machine-type (pc-i440fx-2.0) now requires bios-256k.bin, but "make install" isn't installing it, so qemu-system-x86_64 won't run out of the box. Add it to BLOBS so it gets installed.
Signed-off-by Eduardo Habkost <[email protected]>--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Makefile +0
-0
Makefile common de-ch es fo fr-ca hu ja mk nl-be pt sl tr \ · line 296
Quoted 8 lines
Makefile +1
-1@@ -290,7 +290,7 @@ common de-ch es fo fr-ca hu ja mk nl-be pt sl tr \ bepo cz ifdef INSTALL_BLOBS -BLOBS=bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \ +BLOBS=bios.bin bios-256k.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \ vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin \ acpi-dsdt.aml q35-acpi-dsdt.aml \ ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc QEMU,tcx.bin \
Incidentally it's a bit bogus that we have to list all these blob names both here and in configure (the latter uses some wildcards but is still a kinda manual list)...
thanks
-- PMM
Re: [Qemu-devel] [PATCH] Add bios-256k.bin to BLOBS on Makefile
In reply to Eduardo HabkostQuoted 3 lines · Eduardo Habkost
The default machine-type (pc-i440fx-2.0) now requires bios-256k.bin, but "make install" isn't installing it, so qemu-system-x86_64 won't run out of the box. Add it to BLOBS so it gets installed.
it does fix my issue on my qemu-system-x86_64 test platform
Thanks,
Signature · 1 line
William
Re: [Qemu-devel] [PATCH] Add bios-256k.bin to BLOBS on Makefile
In reply to Eduardo HabkostPing -- who's going to take this patch? Maybe it should go via -trivial?
thanks
-- PMM
Quoted 24 lines · Eduardo Habkost
The default machine-type (pc-i440fx-2.0) now requires bios-256k.bin, but "make install" isn't installing it, so qemu-system-x86_64 won't run out of the box. Add it to BLOBS so it gets installed.
Signed-off-by Eduardo Habkost <[email protected]>--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Makefile +1
-2@@ -290,7 +290,7 @@ common de-ch es fo fr-ca hu ja mk nl-be pt sl tr \ bepo cz ifdef INSTALL_BLOBS -BLOBS=bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \ +BLOBS=bios.bin bios-256k.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \ vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin \ acpi-dsdt.aml q35-acpi-dsdt.aml \ ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc QEMU,tcx.bin \ --1.8.3.1
Re: [Qemu-devel] [PATCH] Add bios-256k.bin to BLOBS on Makefile
Quoted 2 lines · Peter Maydell
Ping -- who's going to take this patch? Maybe it should go via -trivial?
+1 still waiting for this merge
Signature · 1 line
William
Re: [Qemu-devel] [PATCH] Add bios-256k.bin to BLOBS on Makefile
Quoted 5 lines · William Dauchy
Quoted 2 lines · Peter Maydell
Ping -- who's going to take this patch? Maybe it should go via -trivial?
+1 still waiting for this merge
Sorry guys, I was on a (relatively small) trip and weren't handling -trivial. I'll pick it up for this week (there aren't many other changes in there).
Thanks,
/mjt