diff options
Diffstat (limited to 'qemu-option.c')
-rw-r--r-- | qemu-option.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu-option.c b/qemu-option.c index 7af2b50a43..1cddb9d545 100644 --- a/qemu-option.c +++ b/qemu-option.c @@ -669,6 +669,12 @@ int qemu_opt_set(QemuOpts *opts, const char *name, const char *value) return 0; } +void qemu_opt_set_err(QemuOpts *opts, const char *name, const char *value, + Error **errp) +{ + opt_set(opts, name, value, false, errp); +} + int qemu_opt_set_bool(QemuOpts *opts, const char *name, bool val) { QemuOpt *opt; |