When QEMU is configured with `--disable-audio`, we don't need the `audiodevs` root container.
Signed-off-by: Sergei Heifetz <[email protected]> --- qom/object.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qom/object.c b/qom/object.c index ff8ede8a328..4545c0d7bc3 100644 --- a/qom/object.c +++ b/qom/object.c @@ -1730,7 +1730,9 @@ const char *object_property_get_type(Object *obj, const char *name, Error **errp } static const char *const root_containers[] = { +#ifdef CONFIG_AUDIO "audiodevs", +#endif "chardevs", "objects", "backend" -- 2.34.1
