]> git.proxmox.com Git - mirror_qemu.git/commit
microblaze: Fix latent bug with default DTB lookup
authorMarkus Armbruster <armbru@redhat.com>
Thu, 4 Jul 2013 13:09:21 +0000 (15:09 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 9 Jul 2013 18:38:58 +0000 (13:38 -0500)
commit7bccd9402691e712305bc3b5cc6cf2fa1cc27631
treeb488d0fafc81ad10959716803ec3f2830c263d08
parent36ad0e948e15d8d86c8dec1c17a8588d87b0107d
microblaze: Fix latent bug with default DTB lookup

microblaze_load_kernel() fails to call
qemu_find_file(QEMU_FILE_TYPE_BIOS, dtb_filename) when no -machine
options are given.  This can't normally happen, because -machine
option kernel is mandatory for this target.  Fix it anyway, by using
qemu_get_machine_opts().

Cc: Peter Crosthwaite <peter.crosthwaite@petalogix.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1372943363-24081-6-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/microblaze/boot.c