diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-07-22 19:43:29 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-12-21 10:50:22 +0400 |
commit | 3e301c8d7ef0259c7e19277ea93a9915b55a1c6d (patch) | |
tree | 9baeb150cf45b136e14f958c0262fb528c973833 /qapi/char.json | |
parent | 4085b87ff0a26e6db7d95a82fcdff861046e6308 (diff) | |
download | qemu-3e301c8d7ef0259c7e19277ea93a9915b55a1c6d.zip qemu-3e301c8d7ef0259c7e19277ea93a9915b55a1c6d.tar.gz qemu-3e301c8d7ef0259c7e19277ea93a9915b55a1c6d.tar.bz2 |
ui/dbus: add chardev backend & interface
Add a new chardev backend which allows D-Bus client to handle the
chardev stream & events.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qapi/char.json')
-rw-r--r-- | qapi/char.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/qapi/char.json b/qapi/char.json index f5133a5..7b42151 100644 --- a/qapi/char.json +++ b/qapi/char.json @@ -359,6 +359,20 @@ 'if': 'CONFIG_SPICE' } ## +# @ChardevDBus: +# +# Configuration info for DBus chardevs. +# +# @name: name of the channel (following docs/spice-port-fqdn.txt) +# +# Since: 7.0 +## +{ 'struct': 'ChardevDBus', + 'data': { 'name': 'str' }, + 'base': 'ChardevCommon', + 'if': 'CONFIG_DBUS_DISPLAY' } + +## # @ChardevVC: # # Configuration info for virtual console chardevs. @@ -422,6 +436,7 @@ # @spicevmc: Since 1.5 # @spiceport: Since 1.5 # @qemu-vdagent: Since 6.1 +# @dbus: Since 7.0 # @vc: v1.5 # @ringbuf: Since 1.6 # @memory: Since 1.5 @@ -447,6 +462,7 @@ { 'name': 'spicevmc', 'if': 'CONFIG_SPICE' }, { 'name': 'spiceport', 'if': 'CONFIG_SPICE' }, { 'name': 'qemu-vdagent', 'if': 'CONFIG_SPICE_PROTOCOL' }, + { 'name': 'dbus', 'if': 'CONFIG_DBUS_DISPLAY' }, 'vc', 'ringbuf', # next one is just for compatibility @@ -536,6 +552,15 @@ 'if': 'CONFIG_SPICE_PROTOCOL' } ## +# @ChardevDBusWrapper: +# +# Since: 7.0 +## +{ 'struct': 'ChardevDBusWrapper', + 'data': { 'data': 'ChardevDBus' }, + 'if': 'CONFIG_DBUS_DISPLAY' } + +## # @ChardevVCWrapper: # # Since: 1.5 @@ -582,6 +607,8 @@ 'if': 'CONFIG_SPICE' }, 'qemu-vdagent': { 'type': 'ChardevQemuVDAgentWrapper', 'if': 'CONFIG_SPICE_PROTOCOL' }, + 'dbus': { 'type': 'ChardevDBusWrapper', + 'if': 'CONFIG_DBUS_DISPLAY' }, 'vc': 'ChardevVCWrapper', 'ringbuf': 'ChardevRingbufWrapper', # next one is just for compatibility |