<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/include/qapi, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/include/qapi?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/include/qapi?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-27T05:57:18+00:00</updated>
<entry>
<title>qerror: QERR_PERMISSION_DENIED is no longer used, drop</title>
<updated>2022-10-27T05:57:18+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2022-10-12T15:38:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0dddb0fc80f83d3bb469dc220ba8e2496b27a205'/>
<id>urn:sha1:0dddb0fc80f83d3bb469dc220ba8e2496b27a205</id>
<content type='text'>
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20221012153801.2604340-5-armbru@redhat.com&gt;
</content>
</entry>
<entry>
<title>include: move qdict_{crumple,flatten} declarations</title>
<updated>2022-04-21T13:03:51+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-04-20T13:26:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=215aea0cb2c1ede4bac8877a8c85b66568bed694'/>
<id>urn:sha1:215aea0cb2c1ede4bac8877a8c85b66568bed694</id>
<content type='text'>
Move them where they belong, since the functions are implemented in block-qdict.c.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-Id: &lt;20220420132624.2439741-25-marcandre.lureau@redhat.com&gt;
</content>
</entry>
<entry>
<title>include/qapi: add g_autoptr support for qobject types</title>
<updated>2022-04-06T08:50:38+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-03-23T15:57:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d709bbf3b17f43c91e82c3807a39f2c349d27934'/>
<id>urn:sha1:d709bbf3b17f43c91e82c3807a39f2c349d27934</id>
<content type='text'>
Need wrappers for qobject_unref() calls, which is a macro.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220323155743.1585078-10-marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>Replace GCC_FMT_ATTR with G_GNUC_PRINTF</title>
<updated>2022-03-22T10:40:51+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-02-20T16:39:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9edc6313da34699ebd2bae4573ea22339b26450a'/>
<id>urn:sha1:9edc6313da34699ebd2bae4573ea22339b26450a</id>
<content type='text'>
One less qemu-specific macro. It also helps to make some headers/units
only depend on glib, and thus moved in standalone projects eventually.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Richard W.M. Jones &lt;rjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>monitor: introduce HumanReadableText and HMP support</title>
<updated>2021-11-02T15:55:13+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2021-10-08T14:09:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f9429c6790ce0c9f737d318eeff5c4a24f641ec2'/>
<id>urn:sha1:f9429c6790ce0c9f737d318eeff5c4a24f641ec2</id>
<content type='text'>
This provides a foundation on which to convert simple HMP commands to
use QMP. The QMP implementation will generate formatted text targeted
for human consumption, returning it in the HumanReadableText data type.

The HMP command handler will simply print out the formatted string
within the HumanReadableText data type. Since this will be an entirely
formulaic action in the case of HMP commands taking no arguments, a
custom command handler is provided.

Thus instead of registering a 'cmd' callback for the HMP command, a
'cmd_info_hrt' callback is provided, which will simply be a pointer
to the QMP implementation.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Tested-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>qapi: Extend -compat to set policy for unstable interfaces</title>
<updated>2021-10-29T19:28:01+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2021-10-28T10:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=57df0dff1a1f4c846aa74a082bfd595a8a990015'/>
<id>urn:sha1:57df0dff1a1f4c846aa74a082bfd595a8a990015</id>
<content type='text'>
New option parameters unstable-input and unstable-output set policy
for unstable interfaces just like deprecated-input and
deprecated-output set policy for deprecated interfaces (see commit
6dd75472d5 "qemu-options: New -compat to set policy for deprecated
interfaces").  This is intended for testing users of the management
interfaces.  It is experimental.

For now, this covers only syntactic aspects of QMP, i.e. stuff tagged
with feature 'unstable'.  We may want to extend it to cover semantic
aspects, or the command line.

Note that there is no good way for management application to detect
presence of these new option parameters: they are not visible output
of query-qmp-schema or query-command-line-options.  Tolerable, because
it's meant for testing.  If running with -compat fails, skip the test.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Acked-by: John Snow &lt;jsnow@redhat.com&gt;
Message-Id: &lt;20211028102520.747396-10-armbru@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
[Doc comments fixed up]
</content>
</entry>
<entry>
<title>qapi: Factor out compat_policy_input_ok()</title>
<updated>2021-10-29T19:27:20+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2021-10-28T10:25:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7ce5fc63c75d0ac756fd0b4d0472774de17f8fec'/>
<id>urn:sha1:7ce5fc63c75d0ac756fd0b4d0472774de17f8fec</id>
<content type='text'>
The code to check policy for handling deprecated input is triplicated.
Factor it out into compat_policy_input_ok() before I mess with it in
the next commit.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-Id: &lt;20211028102520.747396-9-armbru@redhat.com&gt;
[Policy code moved from qmp-dispatch.c to qapi-util.c to make visitors
link without qmp-dispatch.o]
</content>
</entry>
<entry>
<title>qapi: Generalize enum member policy checking</title>
<updated>2021-10-29T16:24:56+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2021-10-28T10:25:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c8688760437aaf4bfa9012ff5aef8ab1c92a38e1'/>
<id>urn:sha1:c8688760437aaf4bfa9012ff5aef8ab1c92a38e1</id>
<content type='text'>
The code to check enumeration value policy can see special feature
flag 'deprecated' in QEnumLookup member flags[value].  I want to make
feature flag 'unstable' visible there as well, so I can add policy for
it.

Instead of extending flags[], replace it by @special_features (a
bitset of QapiSpecialFeature), because that's how special features get
passed around elsewhere.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Acked-by: John Snow &lt;jsnow@redhat.com&gt;
Message-Id: &lt;20211028102520.747396-8-armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>qapi: Generalize command policy checking</title>
<updated>2021-10-29T16:24:46+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2021-10-28T10:25:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6604e4757a1fc5832f87b5f9244efccabb49be8e'/>
<id>urn:sha1:6604e4757a1fc5832f87b5f9244efccabb49be8e</id>
<content type='text'>
The code to check command policy can see special feature flag
'deprecated' as command flag QCO_DEPRECATED.  I want to make feature
flag 'unstable' visible there as well, so I can add policy for it.

To let me make it visible, add member @special_features (a bitset of
QapiSpecialFeature) to QmpCommand, and adjust the generator to pass it
through qmp_register_command().  Then replace "QCO_DEPRECATED in
@flags" by QAPI_DEPRECATED in @special_features", and drop
QCO_DEPRECATED.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Acked-by: John Snow &lt;jsnow@redhat.com&gt;
Message-Id: &lt;20211028102520.747396-7-armbru@redhat.com&gt;
Reviewed-by: Juan Quintela &lt;quintela@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>qapi: Generalize struct member policy checking</title>
<updated>2021-10-29T16:23:09+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2021-10-28T10:25:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a130728554d0cc19ef0ed4c1c824305c1682e64b'/>
<id>urn:sha1:a130728554d0cc19ef0ed4c1c824305c1682e64b</id>
<content type='text'>
The generated visitor functions call visit_deprecated_accept() and
visit_deprecated() when visiting a struct member with special feature
flag 'deprecated'.  This makes the feature flag visible to the actual
visitors.  I want to make feature flag 'unstable' visible there as
well, so I can add policy for it.

To let me make it visible, replace these functions by
visit_policy_reject() and visit_policy_skip(), which take the member's
special features as an argument.  Note that the new functions have the
opposite sense, i.e. the return value flips.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20211028102520.747396-6-armbru@redhat.com&gt;
Reviewed-by: Juan Quintela &lt;quintela@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
[Unbreak forward visitor]
</content>
</entry>
</feed>
