Statistics
| Branch: | Revision:

root / hw / pc_sysfw.c @ 93148aa5

History | View | Annotate | Download (7.5 kB)

# Date Author Comment
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 <>