aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2014-12-03 17:11:39 +0000
committerroot <root@ceth6.(none)>2014-12-22 14:39:20 +0800
commit703008e81a6ace40f227aae16d630014e5016af1 (patch)
treec515ae6d62765dd51094e9063e125bb8bdc3bac9 /include
parent9816833d3b8ec9adfb63b6a53f1b56f5304f4c40 (diff)
downloadqemu-703008e81a6ace40f227aae16d630014e5016af1.zip
qemu-703008e81a6ace40f227aae16d630014e5016af1.tar.gz
qemu-703008e81a6ace40f227aae16d630014e5016af1.tar.bz2
bootdevice: add Error **errp argument for validate_bootdevices()
It will be useful for checking when we change traditional boot order dynamically and propagate error message to the monitor. Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sysemu/sysemu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 84798ef..1382d63 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -217,7 +217,7 @@ void device_add_bootindex_property(Object *obj, int32_t *bootindex,
const char *name, const char *suffix,
DeviceState *dev, Error **errp);
void restore_boot_order(void *opaque);
-void validate_bootdevices(const char *devices);
+void validate_bootdevices(const char *devices, Error **errp);
/* handler to set the boot_device order for a specific type of QEMUMachine */
/* return 0 if success */