<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/net/can, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/net/can?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/net/can?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-04-20T17:51:11+00:00</updated>
<entry>
<title>util/log: Remove qemu_log_flush</title>
<updated>2022-04-20T17:51:11+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2022-04-17T18:29:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=90f37362d7d2037a47f0c18ab4a26055acbd7b3a'/>
<id>urn:sha1:90f37362d7d2037a47f0c18ab4a26055acbd7b3a</id>
<content type='text'>
All uses flush output immediately before or after qemu_log_unlock.
Instead of a separate call, move the flush into qemu_log_unlock.

Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220417183019.755276-20-richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>*: Use fprintf between qemu_log_trylock/unlock</title>
<updated>2022-04-20T17:51:11+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2022-04-17T18:29:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=78b548583e0725bb7054162a31dac552b01c02a8'/>
<id>urn:sha1:78b548583e0725bb7054162a31dac552b01c02a8</id>
<content type='text'>
Inside qemu_log, we perform qemu_log_trylock/unlock, which need
not be done if we have already performed the lock beforehand.

Always check the result of qemu_log_trylock -- only checking
qemu_loglevel_mask races with the acquisition of the lock on
the logfile.

Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220417183019.755276-10-richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>util/log: Rename qemu_log_lock to qemu_log_trylock</title>
<updated>2022-04-20T17:51:11+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2022-04-17T18:29:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c60f599bcb9bf9256eb87c1c60add55d23f76de3'/>
<id>urn:sha1:c60f599bcb9bf9256eb87c1c60add55d23f76de3</id>
<content type='text'>
This function can fail, which makes it more like ftrylockfile
or pthread_mutex_trylock than flockfile or pthread_mutex_lock,
so rename it.

To closer match the other trylock functions, release rcu_read_lock
along the failure path, so that qemu_log_unlock need not be called
on failure.

Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220417183019.755276-8-richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>can_host: Use class properties</title>
<updated>2020-12-15T15:02:07+00:00</updated>
<author>
<name>Eduardo Habkost</name>
</author>
<published>2020-11-11T18:38:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=70b756674c5a3712bb6ef2f86980b16f9c390c97'/>
<id>urn:sha1:70b756674c5a3712bb6ef2f86980b16f9c390c97</id>
<content type='text'>
Instance properties make introspection hard and are not shown by
"-object ...,help".  Convert them to class properties.

Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Tested-by: Pavel Pisa &lt;pisa@cmp.felk.cvut.cz&gt;
Message-Id: &lt;20201111183823.283752-9-ehabkost@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
<entry>
<title>can-host: Fix crash when 'canbus' property is not set</title>
<updated>2020-12-11T16:52:40+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2020-11-30T10:56:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7cc25f6c9ba1622c0e2c1186bb47fca8de03672b'/>
<id>urn:sha1:7cc25f6c9ba1622c0e2c1186bb47fca8de03672b</id>
<content type='text'>
Providing the 'if' property, but not 'canbus' segfaults like this:

 #0  0x0000555555b0f14d in can_bus_insert_client (bus=0x0, client=0x555556aa9af0) at ../net/can/can_core.c:88
 #1  0x00005555559c3803 in can_host_connect (ch=0x555556aa9ac0, errp=0x7fffffffd568) at ../net/can/can_host.c:62
 #2  0x00005555559c386a in can_host_complete (uc=0x555556aa9ac0, errp=0x7fffffffd568) at ../net/can/can_host.c:72
 #3  0x0000555555d52de9 in user_creatable_complete (uc=0x555556aa9ac0, errp=0x7fffffffd5c8) at ../qom/object_interfaces.c:23

Add the missing NULL check.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Message-Id: &lt;20201130105615.21799-5-kwolf@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>can-host-socketcan: Fix crash when 'if' option is not set</title>
<updated>2020-10-13T19:56:30+00:00</updated>
<author>
<name>Eduardo Habkost</name>
</author>
<published>2020-10-08T20:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d9753cca6b0db724bc6d15e60cfad1705f800b96'/>
<id>urn:sha1:d9753cca6b0db724bc6d15e60cfad1705f800b96</id>
<content type='text'>
Fix the following crash:

  $ qemu-system-x86_64 -object can-host-socketcan,id=obj0
  Segmentation fault (core dumped)

Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Reviewed-by: Li Qiang &lt;liq3ea@gmail.com&gt;
Acked-by: Pavel Pisa &lt;pisa@cmp.felk.cvut.cz&gt;
Message-Id: &lt;20201008202713.1416823-3-ehabkost@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
<entry>
<title>net/can: Add can_dlc2len and can_len2dlc for CAN FD.</title>
<updated>2020-09-30T17:11:37+00:00</updated>
<author>
<name>Jan Charvat</name>
</author>
<published>2020-09-14T08:13:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ad0c6740d1085a67f319ed1432598e3f3912a707'/>
<id>urn:sha1:ad0c6740d1085a67f319ed1432598e3f3912a707</id>
<content type='text'>
Signed-off-by: Jan Charvat &lt;charvj10@fel.cvut.cz&gt;
Signed-off-by: Pavel Pisa &lt;pisa@cmp.felk.cvut.cz&gt;
Reviewed-by: Vikram Garhwal &lt;fnu.vikram@xilinx.com&gt;
Message-Id: &lt;0a2efc6ef9c458505952ed230e49ae25cad7f324.1600069689.git.pisa@cmp.felk.cvut.cz&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>net/can: Initial host SocketCan support for CAN FD.</title>
<updated>2020-09-30T17:11:36+00:00</updated>
<author>
<name>Jan Charvat</name>
</author>
<published>2020-09-14T08:09:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d44948ccbd56cde7be989da5cc872b0c05bf6224'/>
<id>urn:sha1:d44948ccbd56cde7be989da5cc872b0c05bf6224</id>
<content type='text'>
Signed-off-by: Jan Charvat &lt;charvj10@fel.cvut.cz&gt;
Signed-off-by: Pavel Pisa &lt;pisa@cmp.felk.cvut.cz&gt;
Reviewed-by: Vikram Garhwal &lt;fnu.vikram@xilinx.com&gt;
Message-Id: &lt;41383d4eb3f35586c696a8e29c4dff4031a81338.1600069689.git.pisa@cmp.felk.cvut.cz&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>Use OBJECT_DECLARE_SIMPLE_TYPE when possible</title>
<updated>2020-09-18T18:12:32+00:00</updated>
<author>
<name>Eduardo Habkost</name>
</author>
<published>2020-09-16T18:25:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8063396bf3459a810d24e3efd6110b8480f0de5b'/>
<id>urn:sha1:8063396bf3459a810d24e3efd6110b8480f0de5b</id>
<content type='text'>
This converts existing DECLARE_INSTANCE_CHECKER usage to
OBJECT_DECLARE_SIMPLE_TYPE when possible.

$ ./scripts/codeconverter/converter.py -i \
  --pattern=AddObjectDeclareSimpleType $(git grep -l '' -- '*.[ch]')

Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Acked-by: Paul Durrant &lt;paul@xen.org&gt;
Message-Id: &lt;20200916182519.415636-6-ehabkost@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
<entry>
<title>Use DECLARE_*CHECKER* macros</title>
<updated>2020-09-09T13:27:09+00:00</updated>
<author>
<name>Eduardo Habkost</name>
</author>
<published>2020-08-31T21:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8110fa1d94f2997badc2af39231a1d279c5bb1ee'/>
<id>urn:sha1:8110fa1d94f2997badc2af39231a1d279c5bb1ee</id>
<content type='text'>
Generated using:

 $ ./scripts/codeconverter/converter.py -i \
   --pattern=TypeCheckMacro $(git grep -l '' -- '*.[ch]')

Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Reviewed-by: Juan Quintela &lt;quintela@redhat.com&gt;
Message-Id: &lt;20200831210740.126168-12-ehabkost@redhat.com&gt;
Reviewed-by: Juan Quintela &lt;quintela@redhat.com&gt;
Message-Id: &lt;20200831210740.126168-13-ehabkost@redhat.com&gt;
Message-Id: &lt;20200831210740.126168-14-ehabkost@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
</feed>
