]> git.proxmox.com Git - mirror_qemu.git/commit - hw/pc.c
rom loader: make vga+rom loading configurable.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 26 Oct 2009 11:18:25 +0000 (12:18 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 30 Oct 2009 13:39:29 +0000 (08:39 -0500)
commitde2aff17a31c47e28757d426fb3384eed20eb2e5
tree16df32e5c08ef624ce7c60f559c16757e6635c55
parent14a3f32d9e0c955a63b046fd3542127d1778520b
rom loader: make vga+rom loading configurable.

The rom_add_vga() and rom_add_option() macros are transformed into
functions.  They look at the new rom_enable_driver_roms variable
and only do something if it is set to non-zero, making vga+option rom
loading runtime option.  pc_init() sets rom_enable_driver_roms to 1.

With this in place we can move the rom loading calls from pc.c to the
individual drivers.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/loader.c
hw/loader.h
hw/pc.c