projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa670c8
)
option: add g_auto for QemuOpts
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Mon, 26 Jul 2021 06:32:37 +0000
(10:32 +0400)
committer
Marc-André Lureau
<marcandre.lureau@redhat.com>
Tue, 21 Dec 2021 06:50:22 +0000
(10:50 +0400)
Used in the next commit.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
include/qemu/option.h
patch
|
blob
|
history
diff --git
a/include/qemu/option.h
b/include/qemu/option.h
index 306bf0757509c5a8332f0e3923307edd7bda5443..bbd86e1c4eab7f898413f727d42e790bb03ca6c0 100644
(file)
--- a/
include/qemu/option.h
+++ b/
include/qemu/option.h
@@
-150,4
+150,6
@@
QDict *keyval_parse(const char *params, const char *implied_key,
bool *help, Error **errp);
void keyval_merge(QDict *old, const QDict *new, Error **errp);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(QemuOpts, qemu_opts_del)
+
#endif