]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
bootdevice: add Error **errp argument for QEMUBootSetHandler
authorGonglei <arei.gonglei@huawei.com>
Wed, 3 Dec 2014 19:04:02 +0000 (19:04 +0000)
committerroot <root@ceth6.(none)>
Mon, 22 Dec 2014 06:39:21 +0000 (14:39 +0800)
commitddcd55316fb2851e144e719171621ad2816487dc
tree044aa422b6ce8b2a61d7b026ebb93a0c4e3a5bb2
parent3b08098b409c0fb28f85436ba1adeb1d401ec8f7
bootdevice: add Error **errp argument for QEMUBootSetHandler

It will be useful for checking when we change traditional
boot order dynamically and propagate error message
to the monitor.
For x86 architecture, we pass &local_err to set_boot_dev()
when vm startup in pc_coms_init().

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Alexander Graf <agraf@suse.de>
Cc: Blue Swirl <blauwirbel@gmail.com>
Cc: qemu-ppc@nongnu.org
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
bootdevice.c
hw/i386/pc.c
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/sparc/sun4m.c
hw/sparc64/sun4u.c
include/sysemu/sysemu.h