<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/authz, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/authz?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/authz?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2021-06-25T08:54:10+00:00</updated>
<entry>
<title>configure, meson: convert pam detection to meson</title>
<updated>2021-06-25T08:54:10+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2021-06-03T09:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=05e391ae4056e122fd78b694607ccd2e5a943dab'/>
<id>urn:sha1:05e391ae4056e122fd78b694607ccd2e5a943dab</id>
<content type='text'>
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@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>authz-simple: Check that 'identity' property is set</title>
<updated>2020-11-18T10:51:35+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2020-11-17T16:30:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c2aa8a3d7e5ce57fa3df310c9b7ca48fcbf9d4ad'/>
<id>urn:sha1:c2aa8a3d7e5ce57fa3df310c9b7ca48fcbf9d4ad</id>
<content type='text'>
If the 'identify' property is not set, we'll pass a NULL pointer to
g_str_equal() and crash. Catch the error condition during the creation
of the object.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>authz-pam: Check that 'service' property is set</title>
<updated>2020-11-18T10:51:35+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2020-11-17T16:30:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3428455df9302b2b924e380cb90a77ca1ce5001e'/>
<id>urn:sha1:3428455df9302b2b924e380cb90a77ca1ce5001e</id>
<content type='text'>
If the 'service' property is not set, we'll call pam_start() with a NULL
pointer for the service name. This fails and leaves a message like this
in the syslog:

qemu-storage-daemon[294015]: PAM pam_start: invalid argument: service == NULL

Make specifying the property mandatory and catch the error already
during the creation of the object.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>authz-list-file: Improve an error message</title>
<updated>2020-11-18T10:51:35+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2020-11-13T06:23:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8e26ae7bb58d10c04599eabd265217da050514a4'/>
<id>urn:sha1:8e26ae7bb58d10c04599eabd265217da050514a4</id>
<content type='text'>
When qauthz_list_file_load() rejects JSON values other than JSON
object with a rather confusing error message:

    $ echo 1 | qemu-system-x86_64 -nodefaults -S -display none  -object authz-list-file,id=authz0,filename=/dev/stdin
    qemu-system-x86_64: -object authz-list-file,id=authz0,filename=/dev/stdin: Invalid parameter type for 'obj', expected: dict

Improve to

    qemu-system-x86_64: -object authz-list-file,id=authz0,filename=/dev/stdin: File '/dev/stdin' must contain a JSON object

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>authz-list-file: Fix file read error handling</title>
<updated>2020-11-18T10:51:35+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2020-11-13T06:23:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2b37e9f84372b5c98ef0ba114ce016953e47bc3c'/>
<id>urn:sha1:2b37e9f84372b5c98ef0ba114ce016953e47bc3c</id>
<content type='text'>
The Error ** argument must be NULL, &amp;error_abort, &amp;error_fatal, or a
pointer to a variable containing NULL.  Passing an argument of the
latter kind twice without clearing it in between is wrong: if the
first call sets an error, it no longer points to NULL for the second
call.

qauthz_list_file_complete() is wrong that way: it passes @errp to
qauthz_list_file_complete() without checking for failure.  If it runs
into another failure, it trips error_setv()'s assertion.  Reproducer:

    $ qemu-system-x86_64 -nodefaults -S -display none -object authz-list-file,id=authz0,filename=
    qemu-system-x86_64: ../util/error.c:59: error_setv: Assertion `*errp == NULL' failed.
    Aborted (core dumped)

Fix it to check for failure.

Fixes: 55d869846de802a16af1a50584c51737bd664387
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>authz: Fix Lesser GPL version number</title>
<updated>2020-10-29T09:57:37+00:00</updated>
<author>
<name>Chetan Pant</name>
</author>
<published>2020-10-14T13:49:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=036a80cdf7cc8a01106b7b49da6e4830d552f3d7'/>
<id>urn:sha1:036a80cdf7cc8a01106b7b49da6e4830d552f3d7</id>
<content type='text'>
There is no "version 2" of the "Lesser" General Public License.
It is either "GPL version 2.0" or "Lesser GPL version 2.1".
This patch replaces all occurrences of "Lesser GPL version 2" with
"Lesser GPL version 2.1" in comment section.

Signed-off-by: Chetan Pant &lt;chetan4windows@gmail.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>authz-list-file: Fix crash when filename is not set</title>
<updated>2020-10-13T19:56:30+00:00</updated>
<author>
<name>Eduardo Habkost</name>
</author>
<published>2020-10-08T20:27:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=14b394853606ab79f1d71f3bbbb4ccaab6538c8f'/>
<id>urn:sha1:14b394853606ab79f1d71f3bbbb4ccaab6538c8f</id>
<content type='text'>
Fix the following crash:

  $ qemu-system-x86_64 -object authz-list-file,id=obj0
  qemu-system-x86_64: -object authz-list-file,id=obj0: GLib: g_file_get_contents: assertion 'filename != NULL' failed
  Segmentation fault (core dumped)

Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Reviewed-by: Li Qiang &lt;liq3ea@gmail.com&gt;
Message-Id: &lt;20201008202713.1416823-2-ehabkost@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
<entry>
<title>authz: Move the creation of the library to the main meson.build</title>
<updated>2020-10-12T15:50:20+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2020-10-06T12:56:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=555678917697b6bef70e2d07c8a19d199a53b592'/>
<id>urn:sha1:555678917697b6bef70e2d07c8a19d199a53b592</id>
<content type='text'>
Be consistent creating all the libraries in the main meson.build file.

Suggested-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-Id: &lt;20201006125602.2311423-9-philmd@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE</title>
<updated>2020-09-18T18:12:32+00:00</updated>
<author>
<name>Eduardo Habkost</name>
</author>
<published>2020-09-16T18:25:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c734cd40a10943753a4d015c9d0a6c08c8f0159e'/>
<id>urn:sha1:c734cd40a10943753a4d015c9d0a6c08c8f0159e</id>
<content type='text'>
The requirement to specify the parent class type makes the macro
harder to use and easy to misuse (silent bugs can be introduced
if the wrong struct type is specified).

Simplify the macro by just not declaring any class struct,
allowing us to remove the class_size field from the TypeInfo
variables for those types.

Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-Id: &lt;20200916182519.415636-3-ehabkost@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
</feed>
