]> git.proxmox.com Git - mirror_qemu.git/commit
pc: Move option_rom_has_mr/rom_file_has_mr globals to MachineClass
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 1 Dec 2015 22:58:08 +0000 (20:58 -0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 22 Dec 2015 15:45:12 +0000 (17:45 +0200)
commit71ae9e94d99240cd02926ad76fadb4963a873b09
tree51ed8c6f4ff335519f8722d653eba80d81dd067a
parentcdedce0564a50a01d3121480e67b5b141c8e0c54
pc: Move option_rom_has_mr/rom_file_has_mr globals to MachineClass

This way, these settings can be simply set on the corresponding
machine_options() function, instead of requiring code in
pc_compat_*() functions.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
hw/core/loader.c
hw/core/machine.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/boards.h