Revision 51edd4e6 hw/pc.c

b/hw/pc.c
1115 1115
        goto bios_error;
1116 1116
    }
1117 1117
    bios_offset = qemu_ram_alloc(bios_size);
1118
    ret = load_image(filename, qemu_get_ram_ptr(bios_offset));
1119
    if (ret != bios_size) {
1118
    ret = rom_add_file_fixed(bios_name, (uint32_t)(-bios_size));
1119
    if (ret != 0) {
1120 1120
    bios_error:
1121 1121
        fprintf(stderr, "qemu: could not load PC BIOS '%s'\n", bios_name);
1122 1122
        exit(1);

Also available in: Unified diff