[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 01/22] microvm: name qboot binary qboot.bin
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v3 01/22] microvm: name qboot binary qboot.bin |
Date: |
Mon, 25 May 2020 14:26:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 5/25/20 1:02 PM, Gerd Hoffmann wrote:
> On Wed, May 20, 2020 at 03:25:53PM +0200, Philippe Mathieu-Daudé wrote:
>> Hi Gerd,
>>
>> On 5/20/20 3:19 PM, Gerd Hoffmann wrote:
>>> qboot isn't a bios and shouldnt be named that way.
>>
>> Still it resides in a directory named pc-bios =)
>
> Yep, that should be named "firmware" but changing that is beyond the
> scope of this patch ;)
>
>> It is used later in x86_bios_rom_init() as:
>>
>> bios = g_malloc(sizeof(*bios));
>> memory_region_init_ram(bios, NULL, "pc.bios", bios_size, &error_fatal);
>> if (!isapc_ram_fw) {
>> memory_region_set_readonly(bios, true);
>> }
>> ret = rom_add_file_fixed(bios_name, (uint32_t)(-bios_size), -1);
>> if (ret != 0) {
>> bios_error:
>> fprintf(stderr, "qemu: could not load PC BIOS '%s'\n", bios_name);
>> exit(1);
>> }
>> g_free(filename);
>>
>> Many 'bios' occurrences.
>>
>> Should it be called 'qboot.rom' instead?
>
> I don't care much, I only want bios*.bin for seabios which actually is a
> complete bios implementation ...
OK.
Preferably named 'qboot.rom':
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
- [PATCH v3 00/22] microvm: add acpi support, Gerd Hoffmann, 2020/05/20
- [PATCH v3 03/22] [testing] seabios: update config & build rules, Gerd Hoffmann, 2020/05/20
- [PATCH v3 02/22] [testing] seabios: update submodule to master snapshot, Gerd Hoffmann, 2020/05/20
- [PATCH v3 08/22] acpi: fadt: add hw-reduced sleep register support, Gerd Hoffmann, 2020/05/20
- [PATCH v3 07/22] acpi: madt: skip pci override on pci-less systems., Gerd Hoffmann, 2020/05/20
- [PATCH v3 15/22] microvm: make virtio irq base runtime configurable, Gerd Hoffmann, 2020/05/20
[PATCH v3 06/22] acpi: create acpi-common.c and move madt code, Gerd Hoffmann, 2020/05/20