]> git.proxmox.com Git - qemu.git/commitdiff
pseries: use macro for firmware filename
authorNishanth Aravamudan <nacc@us.ibm.com>
Wed, 10 Aug 2011 16:36:27 +0000 (16:36 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Oct 2011 07:48:04 +0000 (09:48 +0200)
For some time we've had a nicely defined macro with the filename for our
firmware image.  However we didn't actually use it in the place we're
supposed to.  This patch fixes it.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr.c

index 00aed6227244bf4f3d2e67257e8e6eaaec85b61f..91953cfd181eef613f3bf7ec8ef3901379f5a213 100644 (file)
@@ -442,7 +442,7 @@ static void ppc_spapr_init(ram_addr_t ram_size,
                     "%ldM guest RAM\n", MIN_RAM_SLOF);
             exit(1);
         }
-        filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, "slof.bin");
+        filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, FW_FILE_NAME);
         fw_size = load_image_targphys(filename, 0, FW_MAX_SIZE);
         if (fw_size < 0) {
             hw_error("qemu: could not load LPAR rtas '%s'\n", filename);