[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 34/37] option: add g_auto for QemuOpts
From: |
marcandre . lureau |
Subject: |
[PATCH v2 34/37] option: add g_auto for QemuOpts |
Date: |
Sun, 10 Oct 2021 01:08:35 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Used in the next commit.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
include/qemu/option.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/qemu/option.h b/include/qemu/option.h
index 306bf07575..bbd86e1c4e 100644
--- 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
--
2.33.0.721.g106298f7f9
- [PATCH v2 24/37] docs: add dbus-display documentation, (continued)
- [PATCH v2 24/37] docs: add dbus-display documentation, marcandre . lureau, 2021/10/09
- [PATCH v2 26/37] ui: add a D-Bus display backend, marcandre . lureau, 2021/10/09
- [PATCH v2 27/37] ui/dbus: add p2p=on/off option, marcandre . lureau, 2021/10/09
- [PATCH v2 28/37] tests/qtests: add qtest_qmp_add_client(), marcandre . lureau, 2021/10/09
- [PATCH v2 29/37] tests: start dbus-display-test, marcandre . lureau, 2021/10/09
- [PATCH v2 30/37] audio: add "dbus" audio backend, marcandre . lureau, 2021/10/09
- [PATCH v2 31/37] ui/dbus: add clipboard interface, marcandre . lureau, 2021/10/09
- [PATCH v2 32/37] chardev: teach socket to accept no addresses, marcandre . lureau, 2021/10/09
- [PATCH v2 33/37] chardev: make socket derivable, marcandre . lureau, 2021/10/09
- [PATCH v2 34/37] option: add g_auto for QemuOpts,
marcandre . lureau <=
- [PATCH v2 35/37] ui/dbus: add chardev backend & interface, marcandre . lureau, 2021/10/09
- [PATCH v2 36/37] ui/dbus: register D-Bus VC handler, marcandre . lureau, 2021/10/09
- [PATCH v2 37/37] MAINTAINERS: update D-Bus section, marcandre . lureau, 2021/10/09
- Re: [PATCH v2 00/37] Add D-Bus display backend, Gerd Hoffmann, 2021/10/13