qemu-commits
[Top][All Lists]
Advanced

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

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


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] ddece4: ui/vdagent: add CHECK_SPICE_PROTOCOL_VERSION
Date: Tue, 21 Dec 2021 08:00:56 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: ddece4657627026a4c853faa8f37029097144e73
      
https://github.com/qemu/qemu/commit/ddece4657627026a4c853faa8f37029097144e73
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 59127452883afe3d603e90824bb33ac57b4dbee1
      
https://github.com/qemu/qemu/commit/59127452883afe3d603e90824bb33ac57b4dbee1
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 1b17f1e9f962f5ae9cd559d7f23718ceed71b813
      
https://github.com/qemu/qemu/commit/1b17f1e9f962f5ae9cd559d7f23718ceed71b813
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 835f69f4e64e2285253bae57f618a75a2756f27c
      
https://github.com/qemu/qemu/commit/835f69f4e64e2285253bae57f618a75a2756f27c
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 349504e5a1533c795cd5f72e629766b996982050
      
https://github.com/qemu/qemu/commit/349504e5a1533c795cd5f72e629766b996982050
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 505dbf9b99e937853c02d7995f9eebe95508e8d4
      
https://github.com/qemu/qemu/commit/505dbf9b99e937853c02d7995f9eebe95508e8d4
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 8f5f1ea0c04e730f24112f7bc4e343439f7c4420
      
https://github.com/qemu/qemu/commit/8f5f1ea0c04e730f24112f7bc4e343439f7c4420
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 46e4609e339f424a0e19c1fb657ccad6a43f7364
      
https://github.com/qemu/qemu/commit/46e4609e339f424a0e19c1fb657ccad6a43f7364
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: ca19ef52999251443b511b53e7b0498dd247261e
      
https://github.com/qemu/qemu/commit/ca19ef52999251443b511b53e7b0498dd247261e
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M include/ui/console.h
    M ui/cocoa.m
    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: 4f4181499170dcf80182745b319607802ea32896
      
https://github.com/qemu/qemu/commit/4f4181499170dcf80182745b319607802ea32896
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: ac32b2fff127843355b4f7e7ac9f93dd4a395adf
      
https://github.com/qemu/qemu/commit/ac32b2fff127843355b4f7e7ac9f93dd4a395adf
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: a4ddc31417199eab96211b254097a0a0869d5bea
      
https://github.com/qemu/qemu/commit/a4ddc31417199eab96211b254097a0a0869d5bea
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: a9b1e471e1783a1d7ae9215f9b8adc7cdb053367
      
https://github.com/qemu/qemu/commit/a9b1e471e1783a1d7ae9215f9b8adc7cdb053367
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: f6413cbfd0b3a3f85ebaf9fe13494af1dad916bb
      
https://github.com/qemu/qemu/commit/f6413cbfd0b3a3f85ebaf9fe13494af1dad916bb
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 7cc712e9862ffdbe4161dbdf3bbf41bcbe547472
      
https://github.com/qemu/qemu/commit/7cc712e9862ffdbe4161dbdf3bbf41bcbe547472
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 5e79d516e8ac818d2a90aae9f787775055434ee9
      
https://github.com/qemu/qemu/commit/5e79d516e8ac818d2a90aae9f787775055434ee9
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: f6ef71bded95d99106d4541cf1f420376818732e
      
https://github.com/qemu/qemu/commit/f6ef71bded95d99106d4541cf1f420376818732e
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: ebced091854517f063c46ce8e522ebc45e9bccdf
      
https://github.com/qemu/qemu/commit/ebced091854517f063c46ce8e522ebc45e9bccdf
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 20f19713ef5a33bd9074bb87aea004c08a27be7b
      
https://github.com/qemu/qemu/commit/20f19713ef5a33bd9074bb87aea004c08a27be7b
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 2668dc7b5d9f56d8c3e6d2876c526fddc7068eca
      
https://github.com/qemu/qemu/commit/2668dc7b5d9f56d8c3e6d2876c526fddc7068eca
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 61534882e796961b0723f2bb220bdc01388eb1ae
      
https://github.com/qemu/qemu/commit/61534882e796961b0723f2bb220bdc01388eb1ae
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: d2f25776ca4044ce4f19a4065cc0e4d2566f32ec
      
https://github.com/qemu/qemu/commit/d2f25776ca4044ce4f19a4065cc0e4d2566f32ec
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: ef20c5ba0805a8f16fa86c62fb07d01cac6a2216
      
https://github.com/qemu/qemu/commit/ef20c5ba0805a8f16fa86c62fb07d01cac6a2216
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: d83acfd013ada96f3c5fe216f8b3648f0d311a4c
      
https://github.com/qemu/qemu/commit/d83acfd013ada96f3c5fe216f8b3648f0d311a4c
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 142ca628a733d0f523ad2b6713a22945e505f061
      
https://github.com/qemu/qemu/commit/142ca628a733d0f523ad2b6713a22945e505f061
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 99997823bbbd23aa0cce42e03b49fd8a57222e5e
      
https://github.com/qemu/qemu/commit/99997823bbbd23aa0cce42e03b49fd8a57222e5e
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 2c7294d72c4086fc89935514430bd2bfb5ae5011
      
https://github.com/qemu/qemu/commit/2c7294d72c4086fc89935514430bd2bfb5ae5011
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: b4dd5b6a60eb525437c8d315d0d59dc25d4e4cb1
      
https://github.com/qemu/qemu/commit/b4dd5b6a60eb525437c8d315d0d59dc25d4e4cb1
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 739362d4205cd90686118fe5af3e236c2f8c6be9
      
https://github.com/qemu/qemu/commit/739362d4205cd90686118fe5af3e236c2f8c6be9
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: ff1a5810f61f78b47ddad995f49bcc70171d9e38
      
https://github.com/qemu/qemu/commit/ff1a5810f61f78b47ddad995f49bcc70171d9e38
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 1b87751fb122479429ee90c7efeab64f588c7641
      
https://github.com/qemu/qemu/commit/1b87751fb122479429ee90c7efeab64f588c7641
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: fa670c808a2523f05c4b0cb0df9cb01b56c4069e
      
https://github.com/qemu/qemu/commit/fa670c808a2523f05c4b0cb0df9cb01b56c4069e
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 4085b87ff0a26e6db7d95a82fcdff861046e6308
      
https://github.com/qemu/qemu/commit/4085b87ff0a26e6db7d95a82fcdff861046e6308
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 3e301c8d7ef0259c7e19277ea93a9915b55a1c6d
      
https://github.com/qemu/qemu/commit/3e301c8d7ef0259c7e19277ea93a9915b55a1c6d
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 7f767ca35e54f391061a9f574c916168b0bee1a6
      
https://github.com/qemu/qemu/commit/7f767ca35e54f391061a9f574c916168b0bee1a6
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 89f4df9595e162ce4cc65f31a994a31e3e45ff3a
      
https://github.com/qemu/qemu/commit/89f4df9595e162ce4cc65f31a994a31e3e45ff3a
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2021-12-21 (Tue, 21 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: 5316e12bb2b4408a1597b283ef4bb4794dd7b4f7
      
https://github.com/qemu/qemu/commit/5316e12bb2b4408a1597b283ef4bb4794dd7b4f7
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-12-21 (Tue, 21 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 Mon 20 Dec 2021 10:57:18 PM 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/2bf40d0841b9...5316e12bb2b4



reply via email to

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