This code is not specific to the Bochs BIOS, so rename it. Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> --- hw/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c index 4e971c8..c38d8b2 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -570,7 +570,7 @@ int e820_add_entry(uint64_t address, uint64_t length, uint32_t type) return index; } -static FWCfgState *bochs_bios_init(void) +static FWCfgState *pc_bios_init(void) { FWCfgState *fw_cfg; uint8_t *smbios_table; @@ -918,7 +918,7 @@ void *pc_memory_init(PCInitArgs *args) option_rom_mr, 1); - fw_cfg = bochs_bios_init(); + fw_cfg = pc_bios_init(); rom_set_fw(fw_cfg); if (linux_boot) { -- 1.7.11.7