Re: [PATCH 3/4] qapi/char: Make backend types properly conditional

2024-02-07 Thread Eric Blake
On Sat, Feb 03, 2024 at 09:02:27AM +0100, Markus Armbruster wrote: > Character backends are actually QOM types. When a backend's > compile-time conditional QOM type is not compiled in, creation fails > with "'FOO' is not a valid char driver name". Okay, except > introspecting chardev-add with que

[PATCH 3/4] qapi/char: Make backend types properly conditional

2024-02-03 Thread Markus Armbruster
Character backends are actually QOM types. When a backend's compile-time conditional QOM type is not compiled in, creation fails with "'FOO' is not a valid char driver name". Okay, except introspecting chardev-add with query-qmp-schema doesn't work then: the backend type is there even though the