Statistics
| Branch: | Revision:

root / hw / pc_sysfw.c @ a1e47211

History | View | Annotate | Download (7.7 kB)

# Date Author Comment
dfc65f1f 06/15/2012 03:03 pm Markus Armbruster

Un-inline fdctrl_init_isa()

Signed-off-by: Markus Armbruster <>
Reviewed-by: Anthony Liguori <>
Signed-off-by: Kevin Wolf <>

9cf1f002 05/03/2012 08:04 am Stefan Weil

hw/pc_sysfw: Fix memory leak

Valgrind reported this memory leak which occured a few times.

Test scenario:

qemu-system-i386 (no arguments), only BIOS started, terminate with
monitor command (quit).

Signed-off-by: Stefan Weil <>
Reviewed-by: Andreas Färber <>

1d38574f 04/26/2012 09:14 pm Anthony Liguori

pc-sysfw: make sure to call qdev_init

We're not actually calling qdev_init for the pc-sysfw device. Since we create
the canonical path during realize, this was causing an assert to trigger when
attempting to read a link pointing to pc-sysfw.

Signed-off-by: Anthony Liguori <>

90ccf9f6 02/22/2012 05:02 pm Jordan Justen

hw/pc_sysfw: enable pc-sysfw as a qdev

Setup a pc-sysfw device type. It contains a single
property of 'rom_only' which is defaulted to enabled.

Signed-off-by: Jordan Justen <>
Signed-off-by: Anthony Liguori <>

bd183c79 02/22/2012 05:02 pm Jordan Justen

hw/pc_sysfw: support system flash memory with pflash

Flash can be enabled by calling pc_system_firmware_init
with the system_flash_enabled parameter being non-zero.
If system_flash_enabled is zero, then the older qemu
rom creation method will be used.

If flash is enabled and a pflash image is found, then...

1b89fafe 02/22/2012 05:02 pm Jordan Justen

pc_piix/pc_sysfw: enable flash by default

Now, the pc-sysfw:rom_only property will default
to false which enables flash by default.

All pc types below pc-1.1 set rom_only to true.
This prevents flash from being enabled on these
pc machine types.

For pc-1.1 rom_only will use the default (false),...

cbc5b5f3 02/22/2012 05:02 pm Jordan Justen

hw/pc: move rom init to pc_sysfw.c

Signed-off-by: Jordan Justen <>
Signed-off-by: Anthony Liguori <>