[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [SeaBIOS] [PATCH] Ignore sgabios rom in case sercon is
From: |
Peter Stuge |
Subject: |
Re: [Qemu-devel] [SeaBIOS] [PATCH] Ignore sgabios rom in case sercon is enabled. |
Date: |
Sat, 4 Nov 2017 10:09:08 +0000 |
Gerd Hoffmann wrote:
> +++ b/src/optionroms.c
> @@ -193,6 +193,11 @@ run_file_roms(const char *prefix, int isvga, u64
> *sources)
> file = romfile_findprefix(prefix, file);
> if (!file)
> break;
> + if (strcmp(file->name, "vgaroms/sgabios.bin") == 0 &&
> + CONFIG_SERCON && romfile_loadint("etc/sercon-port", 0)) {
> + dprintf(1, "sercon: is enabled, not loading sgabios rom.\n");
> + continue;
> + }
This heuristic isn't very reliable. Is there nothing in the sgabios.bin
option ROM itself that can be used instead?
//Peter