From patchwork Thu Dec 17 14:46:19 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 0/6] option rom patches, next round Date: Thu, 17 Dec 2009 04:46:19 -0000 From: Gerd Hoffmann X-Patchwork-Id: 41321 Message-Id: <4B2A443B.6090407@redhat.com> To: Gerd Hoffmann Cc: qemu-devel@nongnu.org On 12/17/09 13:32, Gerd Hoffmann wrote: > Hi, > > All in one patch series for pci rom bar support and option rom loading > via fw_cfg for the non-pci roms. This time the fw_cfg interface is > actually tested with a little linux userspace app (attached below). Now some seabios bits. I got the naming of *both* vga and optionrom directories wrong, so there is first an incremental fix for this patch series. Also attached are two seabios patches (go on top of the two ones from anthony) which implement the seabios side of the file interface. '-kernel' and '-vga std' are working again ;) cheers, Gerd >From 517fd48fdddfe93b5ef4081c11e87b250892cd49 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 17 Dec 2009 15:32:03 +0100 Subject: [PATCH] loader: fix dirname tyops Signed-off-by: Gerd Hoffmann --- hw/loader.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/loader.c b/hw/loader.c index 451ee54..ccc0ccc 100644 --- a/hw/loader.c +++ b/hw/loader.c @@ -628,7 +628,7 @@ int rom_add_vga(const char *file) { if (!rom_enable_driver_roms) return 0; - return rom_add_file(file, "vgabios", file, + return rom_add_file(file, "vgaroms", file, PC_ROM_MIN_VGA, PC_ROM_MAX, PC_ROM_ALIGN); } @@ -636,7 +636,7 @@ int rom_add_option(const char *file) { if (!rom_enable_driver_roms) return 0; - return rom_add_file(file, "genrom", file, + return rom_add_file(file, "genroms", file, PC_ROM_MIN_OPTION, PC_ROM_MAX, PC_ROM_ALIGN); }