<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/ui/trace-events, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/ui/trace-events?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/ui/trace-events?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-09-23T12:38:23+00:00</updated>
<entry>
<title>ui: add some vdagent related traces</title>
<updated>2022-09-23T12:38:23+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-09-12T10:24:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=410840cdb1342751f58a3521f48d5a9faf694c3b'/>
<id>urn:sha1:410840cdb1342751f58a3521f48d5a9faf694c3b</id>
<content type='text'>
This helps debugging clipboard serial sync issues.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20220912102455.111765-2-marcandre.lureau@redhat.com&gt;

[ kraxel: code style fix ]

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/gtk-gl-area: create the requested GL context version</title>
<updated>2022-06-14T08:34:36+00:00</updated>
<author>
<name>Volker Rümelin</name>
</author>
<published>2022-06-05T08:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=09053670c9b83f1f4759f37e62a6f2b1a5bbd105'/>
<id>urn:sha1:09053670c9b83f1f4759f37e62a6f2b1a5bbd105</id>
<content type='text'>
Since about 2018 virglrenderer (commit fa835b0f88 "vrend: don't
hardcode context version") tries to open the highest available GL
context version. This is done by creating the known GL context
versions from the highest to the lowest until (*create_gl_context)
returns a context != NULL.

This does not work properly with
the current QEMU gd_gl_area_create_context() function, because
gdk_gl_context_realize() on Wayland creates a version 3.0 legacy
context if the requested GL context version can't be created.

In order for virglrenderer to find the highest available GL
context version, return NULL if the created context version is
lower than the requested version.

This fixes the following error:
QEMU started with -device virtio-vga-gl -display gtk,gl=on.
Under Wayland, the guest window remains black and the following
information can be seen on the host.

gl_version 30 - compat profile
(qemu:5978): Gdk-WARNING **: 16:19:01.533:
  gdk_gl_context_set_required_version
  - GL context versions less than 3.2 are not supported.

(qemu:5978): Gdk-WARNING **: 16:19:01.537:
  gdk_gl_context_set_required_version -
  GL context versions less than 3.2 are not supported.

(qemu:5978): Gdk-WARNING **: 16:19:01.554:
  gdk_gl_context_set_required_version -
  GL context versions less than 3.2 are not supported.
vrend_renderer_fill_caps: Entering with stale GL error: 1282

To reproduce this error, an OpenGL driver is required on the host
that doesn't have the latest OpenGL extensions fully implemented.
An example for this is the Intel i965 driver on a Haswell processor.

Signed-off-by: Volker Rümelin &lt;vr_qemu@t-online.de&gt;
Message-Id: &lt;20220605085131.7711-2-vr_qemu@t-online.de&gt;
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/gtk-gl-area: implement GL context destruction</title>
<updated>2022-06-14T08:34:36+00:00</updated>
<author>
<name>Volker Rümelin</name>
</author>
<published>2022-06-05T08:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e561b3b7df11875d7bd3b8670598cae5601a7f70'/>
<id>urn:sha1:e561b3b7df11875d7bd3b8670598cae5601a7f70</id>
<content type='text'>
The counterpart function for gd_gl_area_create_context() is
currently empty. Implement the gd_gl_area_destroy_context()
function to avoid GL context leaks.

Signed-off-by: Volker Rümelin &lt;vr_qemu@t-online.de&gt;
Message-Id: &lt;20220605085131.7711-1-vr_qemu@t-online.de&gt;
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/dbus: add clipboard interface</title>
<updated>2021-12-21T06:50:22+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2021-07-20T12:02:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ff1a5810f61f78b47ddad995f49bcc70171d9e38'/>
<id>urn:sha1:ff1a5810f61f78b47ddad995f49bcc70171d9e38</id>
<content type='text'>
Expose the clipboard API over D-Bus. See the interface documentation for
further details.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui: add a D-Bus display backend</title>
<updated>2021-12-21T06:50:22+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2021-07-15T07:53:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=142ca628a733d0f523ad2b6713a22945e505f061'/>
<id>urn:sha1:142ca628a733d0f523ad2b6713a22945e505f061</id>
<content type='text'>
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 &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/vdagent: add serial capability support</title>
<updated>2021-12-21T06:50:21+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2021-07-18T20:33:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=835f69f4e64e2285253bae57f618a75a2756f27c'/>
<id>urn:sha1:835f69f4e64e2285253bae57f618a75a2756f27c</id>
<content type='text'>
The Spice agent implements a simple serial mechanism to avoid clipboard
races between client &amp; guest. See:
https://gitlab.freedesktop.org/spice/spice-protocol/-/commit/045a6978d6dbbf7046affc5c321fa8177c8cce56

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/vdagent: send empty clipboard when unhandled</title>
<updated>2021-08-31T13:25:14+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2021-08-05T13:57:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3d3f0bc3f7d5d74a7ae14f7336c9c3c209cdb71b'/>
<id>urn:sha1:3d3f0bc3f7d5d74a7ae14f7336c9c3c209cdb71b</id>
<content type='text'>
Rather than leaving the agent timing out or hanging, reply to it with an
empty result.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20210805135715.857938-15-marcandre.lureau@redhat.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs: fix references to docs/devel/tracing.rst</title>
<updated>2021-06-02T04:51:09+00:00</updated>
<author>
<name>Stefano Garzarella</name>
</author>
<published>2021-05-17T15:16:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d0fb9657a33dd3d1db1b492c4dcc7c778e40e5c0'/>
<id>urn:sha1:d0fb9657a33dd3d1db1b492c4dcc7c778e40e5c0</id>
<content type='text'>
Commit e50caf4a5c ("tracing: convert documentation to rST")
converted docs/devel/tracing.txt to docs/devel/tracing.rst.

We still have several references to the old file, so let's fix them
with the following command:

  sed -i s/tracing.txt/tracing.rst/ $(git grep -l docs/devel/tracing.txt)

Signed-off-by: Stefano Garzarella &lt;sgarzare@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-Id: &lt;20210517151702.109066-2-sgarzare@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/vdagent: add clipboard support</title>
<updated>2021-05-21T07:42:44+00:00</updated>
<author>
<name>Gerd Hoffmann</name>
</author>
<published>2021-05-19T05:39:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f0349f4d8947ad32d0fa4678cbf5dbb356fcbda1'/>
<id>urn:sha1:f0349f4d8947ad32d0fa4678cbf5dbb356fcbda1</id>
<content type='text'>
This patch adds support for clipboard messages to the qemu vdagent
implementation, which allows the guest exchange clipboard data with
qemu.  Clipboard support can be enabled/disabled using the new
'clipboard' parameter for the vdagent chardev.  Default is off.

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-id: 20210519053940.1888907-1-kraxel@redhat.com
Message-Id: &lt;20210519053940.1888907-7-kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/vdagent: core infrastructure</title>
<updated>2021-05-21T07:42:44+00:00</updated>
<author>
<name>Gerd Hoffmann</name>
</author>
<published>2021-05-19T05:39:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=de74a22cc82dd40d63af399b81e40f56c8a9c535'/>
<id>urn:sha1:de74a22cc82dd40d63af399b81e40f56c8a9c535</id>
<content type='text'>
The vdagent protocol allows the guest agent (spice-vdagent) and the
spice client exchange messages to implement features which require
guest cooperation, for example clipboard support.

This is a qemu implementation of the spice client side.  This allows
the spice guest agent talk to qemu directly when not using the spice
protocol.

usage: qemu \
  -chardev qemu-vdagent,id=vdagent \
  -device virtserialport,chardev=vdagent,name=com.redhat.spice.0

This patch adds just the protocol basics: initial handshake and
capability negotiation.  The following patches will add actual
functionality and also add fields to the initially empty
ChardevVDAgent qapi struct.

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Acked-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-id: 20210519053940.1888907-1-kraxel@redhat.com
Message-Id: &lt;20210519053940.1888907-5-kraxel@redhat.com&gt;
</content>
</entry>
</feed>
