qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] f2b143: ui/vdagent: add CHECK_SPICE_PROTOCOL_


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] f2b143: ui/vdagent: add CHECK_SPICE_PROTOCOL_VERSION
Date: Fri, 17 Dec 2021 12:21:34 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: f2b143dc3ae9447abb0a4301e1a1ad0ed7adc33b
      
https://github.com/qemu/qemu/commit/f2b143dc3ae9447abb0a4301e1a1ad0ed7adc33b
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M meson.build
    M ui/vdagent.c

  Log Message:
  -----------
  ui/vdagent: add CHECK_SPICE_PROTOCOL_VERSION

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 1f28c0354471af5c12fb26ed3dbc3cd3a22e7802
      
https://github.com/qemu/qemu/commit/1f28c0354471af5c12fb26ed3dbc3cd3a22e7802
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M ui/vdagent.c

  Log Message:
  -----------
  ui/vdagent: replace #if 0 with protocol version check

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: ddd5c8672b2e24eab62add12da7416feb53171bd
      
https://github.com/qemu/qemu/commit/ddd5c8672b2e24eab62add12da7416feb53171bd
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/ui/clipboard.h
    M ui/clipboard.c
    M ui/cocoa.m
    M ui/gtk-clipboard.c
    M ui/vdagent.c
    M ui/vnc-clipboard.c
    M ui/vnc.c

  Log Message:
  -----------
  ui: generalize clipboard notifier

Use a QemuClipboardNotify union type for extendable clipboard events.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: e49fe7d54b711da675243fba144ad1ef2596c506
      
https://github.com/qemu/qemu/commit/e49fe7d54b711da675243fba144ad1ef2596c506
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/ui/clipboard.h
    M ui/trace-events
    M ui/vdagent.c

  Log Message:
  -----------
  ui/vdagent: add serial capability support

The Spice agent implements a simple serial mechanism to avoid clipboard
races between client & guest. See:
https://gitlab.freedesktop.org/spice/spice-protocol/-/commit/045a6978d6dbbf7046affc5c321fa8177c8cce56

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: a191d276db9f49b4eb10ce3b18efaee9b2153f56
      
https://github.com/qemu/qemu/commit/a191d276db9f49b4eb10ce3b18efaee9b2153f56
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/ui/clipboard.h
    M ui/clipboard.c

  Log Message:
  -----------
  ui/clipboard: add qemu_clipboard_check_serial()

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 7b4a3b108f84499a8d384c14459989743ff2c95b
      
https://github.com/qemu/qemu/commit/7b4a3b108f84499a8d384c14459989743ff2c95b
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/ui/clipboard.h
    M ui/clipboard.c
    M ui/cocoa.m
    M ui/gtk-clipboard.c
    M ui/vdagent.c
    M ui/vnc-clipboard.c

  Log Message:
  -----------
  ui/clipboard: add a clipboard reset serial event

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 7410186b0a4761dec4ef03b2f40eaf9d9d311f9f
      
https://github.com/qemu/qemu/commit/7410186b0a4761dec4ef03b2f40eaf9d9d311f9f
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M hw/display/virtio-gpu-virgl.c

  Log Message:
  -----------
  hw/display: report an error if virgl initialization failed

Currently, virgl initialization error is silent. Make it verbose instead.

(this is likely going to bug later on, as the device isn't fully
initialized)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


  Commit: 9c49e356df18098124c361bc31be3d2050eabc2c
      
https://github.com/qemu/qemu/commit/9c49e356df18098124c361bc31be3d2050eabc2c
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M hw/display/virtio-gpu-virgl.c

  Log Message:
  -----------
  virtio-gpu: use VIRTIO_GPU_RESOURCE_FLAG_Y_0_TOP

It's part of Linux headers for a while now.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


  Commit: 7ed12fa3b3feca8d1a561e7b03d26cc08dbf0e5e
      
https://github.com/qemu/qemu/commit/7ed12fa3b3feca8d1a561e7b03d26cc08dbf0e5e
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/ui/console.h
    M ui/console.c
    M ui/gtk.c
    M ui/sdl2.c
    M ui/spice-display.c
    M ui/vnc.c

  Log Message:
  -----------
  ui: do not delay further remote resize

A remote client, such as Spice, will already avoid flooding the stream
by delaying the resize requests.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 090759cacfd776a9d8ee540dbde3b5be694da394
      
https://github.com/qemu/qemu/commit/090759cacfd776a9d8ee540dbde3b5be694da394
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/ui/console.h
    M ui/console.c

  Log Message:
  -----------
  ui: factor out qemu_console_set_display_gl_ctx()

The next patch will make use of this function to dissociate
DisplayChangeListener from GL context.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


  Commit: 76d924b9873d06c81e320dcbfd60423db2876877
      
https://github.com/qemu/qemu/commit/76d924b9873d06c81e320dcbfd60423db2876877
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M ui/console.c
    M ui/egl-headless.c
    M ui/gtk.c
    M ui/sdl2.c
    M ui/spice-display.c

  Log Message:
  -----------
  ui: associate GL context outside of display listener registration

Consoles can have an associated GL context, without listeners (they may
be added or removed later on).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 8ed81b0699afe8fae62813aa185dbd2e7093dc07
      
https://github.com/qemu/qemu/commit/8ed81b0699afe8fae62813aa185dbd2e7093dc07
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M ui/console.c

  Log Message:
  -----------
  ui: make gl_block use a counter

Track multiple callers blocking requests.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: e76fa3b81d279fcea8a2fec42ce70451db38e71c
      
https://github.com/qemu/qemu/commit/e76fa3b81d279fcea8a2fec42ce70451db38e71c
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M ui/console.c

  Log Message:
  -----------
  ui: add a gl-unblock warning timer

Similar to the one that exists for Spice, so we can investigate if
something is locked.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 1c36c0d470d399868027980e44a62343fb019409
      
https://github.com/qemu/qemu/commit/1c36c0d470d399868027980e44a62343fb019409
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M hw/display/vhost-user-gpu.c
    M hw/display/virtio-gpu-base.c
    M hw/display/virtio-vga.c
    M include/ui/console.h
    M ui/console.c
    M ui/gtk-egl.c
    M ui/gtk-gl-area.c
    M ui/gtk.c
    M ui/sdl2-gl.c
    M ui/spice-display.c

  Log Message:
  -----------
  ui: simplify gl unblock & flush

GraphicHw.gl_flushed was introduced to notify the
device (vhost-user-gpu) that the GL resources (the display scanout) are
no longer needed.

It was decoupled from QEMU own gl-blocking mechanism, but that
difference isn't helping. Instead, we can reuse QEMU gl-blocking and
notify virtio_gpu_gl_flushed() when unblocking (to unlock
vhost-user-gpu).

An extra block/unblock is added arount dpy_gl_update() so existing
backends that don't block will have the flush event handled. It will
also help when there are no backends associated.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 2de4b785333ef01b3a31fcb4f93c5f3cf8c9550e
      
https://github.com/qemu/qemu/commit/2de4b785333ef01b3a31fcb4f93c5f3cf8c9550e
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M ui/console.c

  Log Message:
  -----------
  ui: dispatch GL events to all listeners

For now, only one listener can receive GL events. Let's dispatch to all
listeners. (preliminary check ensure there is a single listener now
during regitration, and in next patches, compatible listeners only)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 68c2ab95da6833940656e8d1a87bd486460e48f1
      
https://github.com/qemu/qemu/commit/68c2ab95da6833940656e8d1a87bd486460e48f1
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/ui/console.h
    M include/ui/egl-context.h
    M include/ui/gtk.h
    M include/ui/sdl2.h
    M include/ui/spice-display.h
    M ui/console.c
    M ui/egl-context.c
    M ui/egl-headless.c
    M ui/gtk-egl.c
    M ui/gtk-gl-area.c
    M ui/gtk.c
    M ui/sdl2-gl.c
    M ui/sdl2.c
    M ui/spice-display.c

  Log Message:
  -----------
  ui: split the GL context in a different object

This will allow to have one GL context but a variable number of
listeners.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 7fcb45af7634c60697862ff1b32917763f33cfd2
      
https://github.com/qemu/qemu/commit/7fcb45af7634c60697862ff1b32917763f33cfd2
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M hw/display/qxl.c
    M include/ui/console.h
    M include/ui/spice-display.h
    M ui/meson.build
    M ui/spice-core.c
    M ui/spice-display.c
    A ui/util.c

  Log Message:
  -----------
  ui: move qemu_spice_fill_device_address to ui/util.c

Other backends can use it.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: dab5d5d238f4297990889798b11376d6396665a8
      
https://github.com/qemu/qemu/commit/dab5d5d238f4297990889798b11376d6396665a8
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/ui/console.h
    M ui/console.c

  Log Message:
  -----------
  console: save current scanout details

Add a new DisplayScanout structure to save the current scanout details.
This allows to attach later UI backends and set the scanout.

Introduce displaychangelistener_display_console() helper function to
handle the dpy_gfx_switch/gl_scanout() & dpy_gfx_update() calls.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: d61827e80d6120b8bb2cc0a430540fce15350215
      
https://github.com/qemu/qemu/commit/d61827e80d6120b8bb2cc0a430540fce15350215
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M scripts/modinfo-collect.py

  Log Message:
  -----------
  scripts: teach modinfo to skip non-C sources

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 4af75bf37f7ad071ca809ea2d424ae7e937aad97
      
https://github.com/qemu/qemu/commit/4af75bf37f7ad071ca809ea2d424ae7e937aad97
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M docs/conf.py
    A docs/sphinx/dbusdoc.py
    A docs/sphinx/dbusdomain.py
    A docs/sphinx/dbusparser.py
    A docs/sphinx/fakedbusdoc.py

  Log Message:
  -----------
  docs/sphinx: add sphinx modules to include D-Bus documentation

Add a new dbus-doc directive to import D-Bus interfaces documentation
from the introspection XML. The comments annotations follow the
gtkdoc/kerneldoc style, and should be formatted with reST.

Note: I realize after the fact that I was implementing those modules
with sphinx 4, and that we have much lower requirements. Instead of
lowering the features and code (removing type annotations etc), let's
have a warning in the documentation when the D-Bus modules can't be
used, and point to the source XML file in that case.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 17c040ed3e181f714b5821a2b047a8af0cd0a60f
      
https://github.com/qemu/qemu/commit/17c040ed3e181f714b5821a2b047a8af0cd0a60f
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    A backends/dbus-vmstate1.xml
    R tests/qtest/dbus-vmstate1.xml
    M tests/qtest/meson.build

  Log Message:
  -----------
  backends: move dbus-vmstate1.xml to backends/

Although not used by the backend itself, use a common location for
documentation and sharing purposes.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 7c223b208ad6d014d5faa3d42faced41aaa4d1cb
      
https://github.com/qemu/qemu/commit/7c223b208ad6d014d5faa3d42faced41aaa4d1cb
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M backends/dbus-vmstate1.xml
    M docs/interop/dbus-vmstate.rst

  Log Message:
  -----------
  docs: move D-Bus VMState documentation to source XML

Use the source XML document as single reference, importing its
documentation via the dbus-doc directive.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 8b5786bba0c9a63c02d530ab49ab6d30a29d5365
      
https://github.com/qemu/qemu/commit/8b5786bba0c9a63c02d530ab49ab6d30a29d5365
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    A docs/interop/dbus-display.rst
    M docs/interop/dbus.rst
    M docs/interop/index.rst
    A ui/dbus-display1.xml

  Log Message:
  -----------
  docs: add dbus-display documentation

Wire up the dbus-display documentation. The interface and feature is
implemented next.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 41de20da26b0dca0e5a1fa40c8da50dbf360bfb6
      
https://github.com/qemu/qemu/commit/41de20da26b0dca0e5a1fa40c8da50dbf360bfb6
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M configure
    M meson.build

  Log Message:
  -----------
  build-sys: set glib dependency version

Further meson configuration tests are to be added based on the glib
version. Also correct the version reporting in the config log.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


  Commit: 94e1a67ff5cf67933543ac2b5c5e85a74909d539
      
https://github.com/qemu/qemu/commit/94e1a67ff5cf67933543ac2b5c5e85a74909d539
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/qemu/dbus.h
    M meson.build
    M meson_options.txt
    M qapi/ui.json
    M qemu-options.hx
    M scripts/meson-buildoptions.sh
    A ui/dbus-console.c
    M ui/dbus-display1.xml
    A ui/dbus-error.c
    A ui/dbus-listener.c
    A ui/dbus.c
    A ui/dbus.h
    M ui/meson.build
    M ui/trace-events

  Log Message:
  -----------
  ui: add a D-Bus display backend

The "dbus" display backend exports the QEMU consoles and other
UI-related interfaces over D-Bus.

By default, the connection is established on the session bus, but you
can specify a different bus with the "addr" option.

The backend takes the "org.qemu" service name, while still allowing
further instances to queue on the same name (so you can lookup all the
available instances too). It accepts any number of clients at this
point, although this is expected to evolve with options to restrict
clients, or only accept p2p via fd passing.

The interface is intentionally very close to the internal QEMU API,
and can be introspected or interacted with busctl/dfeet etc:

$ ./qemu-system-x86_64 -name MyVM -display dbus
$ busctl --user introspect org.qemu /org/qemu/Display1/Console_0

org.qemu.Display1.Console           interface -         -               -
.RegisterListener                   method    h         -               -
.SetUIInfo                          method    qqiiuu    -               -
.DeviceAddress                      property  s         "pci/0000/01.0" 
emits-change
.Head                               property  u         0               
emits-change
.Height                             property  u         480             
emits-change
.Label                              property  s         "VGA"           
emits-change
.Type                               property  s         "Graphic"       
emits-change
.Width                              property  u         640             
emits-change
[...]

See the interfaces XML source file and Sphinx docs for the generated API
documentations.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 52c17f73fa593119b489b0f660fb3c993d81426b
      
https://github.com/qemu/qemu/commit/52c17f73fa593119b489b0f660fb3c993d81426b
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/qemu/cutils.h
    A include/ui/dbus-display.h
    A include/ui/dbus-module.h
    M monitor/qmp-cmds.c
    M qapi/misc.json
    M qapi/ui.json
    M qemu-options.hx
    M ui/dbus-console.c
    M ui/dbus-listener.c
    A ui/dbus-module.c
    M ui/dbus.c
    M ui/dbus.h
    M ui/meson.build

  Log Message:
  -----------
  ui/dbus: add p2p=on/off option

Add an option to use direct connections instead of via the bus. Clients
are accepted with QMP add_client.

This allows to provide the D-Bus display without a bus. It also
simplifies the testing setup (some CI have issues to setup a D-Bus bus
in a container).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: d076b478891212730a6a36aae16affdd2a3d0e1f
      
https://github.com/qemu/qemu/commit/d076b478891212730a6a36aae16affdd2a3d0e1f
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M tests/qtest/libqos/libqtest.h
    M tests/qtest/libqtest.c

  Log Message:
  -----------
  tests/qtests: add qtest_qmp_add_client()

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: ffb997bb03c6aa5ed14dc30dd03cde410ba07750
      
https://github.com/qemu/qemu/commit/ffb997bb03c6aa5ed14dc30dd03cde410ba07750
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    A tests/qtest/dbus-display-test.c
    M tests/qtest/meson.build

  Log Message:
  -----------
  tests: start dbus-display-test

Cover basic display interface usage. More cases to be added to cover
disconnections, multiple connections, corner cases. At this point, they
would be better written in Rust or Python though.

The proxy also covers reading the properties, since they are
automatically loaded at creation.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 92ccc286b77812759d43a15ff54669aa082d5a22
      
https://github.com/qemu/qemu/commit/92ccc286b77812759d43a15ff54669aa082d5a22
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M audio/audio.c
    M audio/audio_int.h
    M audio/audio_template.h
    A audio/dbusaudio.c
    M audio/meson.build
    M audio/trace-events
    M qapi/audio.json
    M qapi/ui.json
    M qemu-options.hx
    M ui/dbus-display1.xml
    M ui/dbus.c
    M ui/dbus.h

  Log Message:
  -----------
  audio: add "dbus" audio backend

Add a new -audio backend that accepts D-Bus clients/listeners to handle
playback & recording, to be exported via the -display dbus.

Example usage:
-audiodev dbus,in.mixing-engine=off,out.mixing-engine=off,id=dbus
-display dbus,audiodev=dbus

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: c6913c5301beb8bc5a196307c9fa97aac8d7d39d
      
https://github.com/qemu/qemu/commit/c6913c5301beb8bc5a196307c9fa97aac8d7d39d
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    A ui/dbus-clipboard.c
    M ui/dbus-display1.xml
    M ui/dbus.c
    M ui/dbus.h
    M ui/meson.build
    M ui/trace-events

  Log Message:
  -----------
  ui/dbus: add clipboard interface

Expose the clipboard API over D-Bus. See the interface documentation for
further details.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 3c352ab53cc4f90eb453c8e112bd60c8baa6c7af
      
https://github.com/qemu/qemu/commit/3c352ab53cc4f90eb453c8e112bd60c8baa6c7af
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M chardev/char-socket.c

  Log Message:
  -----------
  chardev: teach socket to accept no addresses

The following patches are going to use CharSocket as a base class for
sockets that are created with a given fd (without a given address).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 1185e3c3d4b8478a722bbcc890b2819a49d196c1
      
https://github.com/qemu/qemu/commit/1185e3c3d4b8478a722bbcc890b2819a49d196c1
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M chardev/char-socket.c
    A include/chardev/char-socket.h

  Log Message:
  -----------
  chardev: make socket derivable

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


  Commit: 45b589d19caf4afd95e47d159b7d4cce1b3fcc7b
      
https://github.com/qemu/qemu/commit/45b589d19caf4afd95e47d159b7d4cce1b3fcc7b
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/qemu/option.h

  Log Message:
  -----------
  option: add g_auto for QemuOpts

Used in the next commit.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 462323464b02ea8a9592458b22077ce432fd286e
      
https://github.com/qemu/qemu/commit/462323464b02ea8a9592458b22077ce432fd286e
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M include/chardev/char-socket.h
    M include/qemu/dbus.h
    M qapi/char.json
    A ui/dbus-chardev.c
    M ui/dbus-display1.xml
    M ui/dbus.c
    M ui/dbus.h
    M ui/meson.build

  Log Message:
  -----------
  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>


  Commit: af385e88f84dbb5760f357da785b1a26a2af715f
      
https://github.com/qemu/qemu/commit/af385e88f84dbb5760f357da785b1a26a2af715f
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M ui/dbus.c

  Log Message:
  -----------
  ui/dbus: register D-Bus VC handler

Export the default consoles over the D-Bus chardev.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 8ab5413e336bb199a9648b29a20d049e0e066611
      
https://github.com/qemu/qemu/commit/8ab5413e336bb199a9648b29a20d049e0e066611
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: update D-Bus section

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 0304c3983d1ad795d9f5a66bae7e62467294cd67
      
https://github.com/qemu/qemu/commit/0304c3983d1ad795d9f5a66bae7e62467294cd67
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M MAINTAINERS
    M audio/audio.c
    M audio/audio_int.h
    M audio/audio_template.h
    A audio/dbusaudio.c
    M audio/meson.build
    M audio/trace-events
    A backends/dbus-vmstate1.xml
    M chardev/char-socket.c
    M configure
    M docs/conf.py
    A docs/interop/dbus-display.rst
    M docs/interop/dbus-vmstate.rst
    M docs/interop/dbus.rst
    M docs/interop/index.rst
    A docs/sphinx/dbusdoc.py
    A docs/sphinx/dbusdomain.py
    A docs/sphinx/dbusparser.py
    A docs/sphinx/fakedbusdoc.py
    M hw/display/qxl.c
    M hw/display/vhost-user-gpu.c
    M hw/display/virtio-gpu-base.c
    M hw/display/virtio-gpu-virgl.c
    M hw/display/virtio-vga.c
    A include/chardev/char-socket.h
    M include/qemu/cutils.h
    M include/qemu/dbus.h
    M include/qemu/option.h
    M include/ui/clipboard.h
    M include/ui/console.h
    A include/ui/dbus-display.h
    A include/ui/dbus-module.h
    M include/ui/egl-context.h
    M include/ui/gtk.h
    M include/ui/sdl2.h
    M include/ui/spice-display.h
    M meson.build
    M meson_options.txt
    M monitor/qmp-cmds.c
    M qapi/audio.json
    M qapi/char.json
    M qapi/misc.json
    M qapi/ui.json
    M qemu-options.hx
    M scripts/meson-buildoptions.sh
    M scripts/modinfo-collect.py
    A tests/qtest/dbus-display-test.c
    R tests/qtest/dbus-vmstate1.xml
    M tests/qtest/libqos/libqtest.h
    M tests/qtest/libqtest.c
    M tests/qtest/meson.build
    M ui/clipboard.c
    M ui/cocoa.m
    M ui/console.c
    A ui/dbus-chardev.c
    A ui/dbus-clipboard.c
    A ui/dbus-console.c
    A ui/dbus-display1.xml
    A ui/dbus-error.c
    A ui/dbus-listener.c
    A ui/dbus-module.c
    A ui/dbus.c
    A ui/dbus.h
    M ui/egl-context.c
    M ui/egl-headless.c
    M ui/gtk-clipboard.c
    M ui/gtk-egl.c
    M ui/gtk-gl-area.c
    M ui/gtk.c
    M ui/meson.build
    M ui/sdl2-gl.c
    M ui/sdl2.c
    M ui/spice-core.c
    M ui/spice-display.c
    M ui/trace-events
    A ui/util.c
    M ui/vdagent.c
    M ui/vnc-clipboard.c
    M ui/vnc.c

  Log Message:
  -----------
  Merge tag 'dbus-pull-request' of https://gitlab.com/marcandre.lureau/qemu 
into staging

Add D-Bus display backend

# gpg: Signature made Fri 17 Dec 2021 06:35:52 AM PST
# gpg:                using RSA key 87A9BD933F87C606D276F62DDAE8E10975969CE5
# gpg:                issuer "marcandre.lureau@redhat.com"
# gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>" 
[unknown]
# gpg:                 aka "Marc-André Lureau <marcandre.lureau@gmail.com>" 
[unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5

* tag 'dbus-pull-request' of https://gitlab.com/marcandre.lureau/qemu: (36 
commits)
  MAINTAINERS: update D-Bus section
  ui/dbus: register D-Bus VC handler
  ui/dbus: add chardev backend & interface
  option: add g_auto for QemuOpts
  chardev: make socket derivable
  chardev: teach socket to accept no addresses
  ui/dbus: add clipboard interface
  audio: add "dbus" audio backend
  tests: start dbus-display-test
  tests/qtests: add qtest_qmp_add_client()
  ui/dbus: add p2p=on/off option
  ui: add a D-Bus display backend
  build-sys: set glib dependency version
  docs: add dbus-display documentation
  docs: move D-Bus VMState documentation to source XML
  backends: move dbus-vmstate1.xml to backends/
  docs/sphinx: add sphinx modules to include D-Bus documentation
  scripts: teach modinfo to skip non-C sources
  console: save current scanout details
  ui: move qemu_spice_fill_device_address to ui/util.c
  ...

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/93dc314c9225...0304c3983d1a



reply via email to

[Prev in Thread] Current Thread [Next in Thread]