<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/replay/replay-char.c, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/replay/replay-char.c?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/replay/replay-char.c?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-09-29T10:38:05+00:00</updated>
<entry>
<title>chardev: src buffer const for write functions</title>
<updated>2022-09-29T10:38:05+00:00</updated>
<author>
<name>Arwed Meyer</name>
</author>
<published>2022-09-11T18:18:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8f9abdf586d48552273abe38cf55058f7d0c85fd'/>
<id>urn:sha1:8f9abdf586d48552273abe38cf55058f7d0c85fd</id>
<content type='text'>
Make source buffers const for char be write functions.
This allows using buffers returned by fifo as buf parameter and source buffer
should not be changed by write functions anyway.

Signed-off-by: Arwed Meyer &lt;arwed.meyer@gmx.de&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20220911181840.8933-3-arwed.meyer@gmx.de&gt;
</content>
</entry>
<entry>
<title>Use g_new() &amp; friends where that makes obvious sense</title>
<updated>2022-03-21T14:44:44+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2022-03-15T14:41:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b21e2380376c470900fcadf47507f4d5ade75e85'/>
<id>urn:sha1:b21e2380376c470900fcadf47507f4d5ade75e85</id>
<content type='text'>
g_new(T, n) is neater than g_malloc(sizeof(T) * n).  It's also safer,
for two reasons.  One, it catches multiplication overflowing size_t.
Two, it returns T * rather than void *, which lets the compiler catch
more type errors.

This commit only touches allocations with size arguments of the form
sizeof(T).

Patch created mechanically with:

    $ spatch --in-place --sp-file scripts/coccinelle/use-g_new-etc.cocci \
	     --macro-file scripts/cocci-macro-file.h FILES...

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Acked-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Message-Id: &lt;20220315144156.1595462-4-armbru@redhat.com&gt;
Reviewed-by: Pavel Dovgalyuk &lt;Pavel.Dovgalyuk@ispras.ru&gt;
</content>
</entry>
<entry>
<title>Clean up inclusion of sysemu/sysemu.h</title>
<updated>2019-08-16T11:31:53+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2019-08-12T05:23:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d5938f29fea29581725426f203a74da746ca03e7'/>
<id>urn:sha1:d5938f29fea29581725426f203a74da746ca03e7</id>
<content type='text'>
In my "build everything" tree, changing sysemu/sysemu.h triggers a
recompile of some 5400 out of 6600 objects (not counting tests and
objects that don't depend on qemu/osdep.h).

Almost a third of its inclusions are actually superfluous.  Delete
them.  Downgrade two more to qapi/qapi-types-run-state.h, and move one
from char/serial.h to char/serial.c.

hw/semihosting/config.c, monitor/monitor.c, qdev-monitor.c, and
stubs/semihost.c define variables declared in sysemu/sysemu.h without
including it.  The compiler is cool with that, but include it anyway.

This doesn't reduce actual use much, as it's still included into
widely included headers.  The next commit will tackle that.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-Id: &lt;20190812052359.30071-27-armbru@redhat.com&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>trivial: Make bios files and source files non-executable</title>
<updated>2018-09-25T15:26:18+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2018-05-07T14:32:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=55d38d10b84a256ca80484eb5114a4824608b85e'/>
<id>urn:sha1:55d38d10b84a256ca80484eb5114a4824608b85e</id>
<content type='text'>
These files can not be executed on the host, so they should not be
marked as executable.

Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>replay: push replay_mutex_lock up the call tree</title>
<updated>2018-03-12T16:10:36+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2018-02-27T09:52:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d759c951f3287fad04210a52f2dc93f94cf58c7f'/>
<id>urn:sha1:d759c951f3287fad04210a52f2dc93f94cf58c7f</id>
<content type='text'>
Now instead of using the replay_lock to guard the output of the log we
now use it to protect the whole execution section. This replaces what
the BQL used to do when it was held during TCG execution.

We also introduce some rules for locking order - mainly that you
cannot take the replay_mutex while holding the BQL. This leads to some
slight sophistry during start-up and extending the
replay_mutex_destroy function to unlock the mutex without checking
for the BQL condition so it can be cleanly dropped in the non-replay
case.

Signed-off-by: Alex BennÃ©e &lt;alex.bennee@linaro.org&gt;
Signed-off-by: Pavel Dovgalyuk &lt;pavel.dovgaluk@ispras.ru&gt;
Tested-by: Pavel Dovgalyuk &lt;pavel.dovgaluk@ispras.ru&gt;
Message-Id: &lt;20180227095248.1060.40374.stgit@pasha-VirtualBox&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>chardev: move headers to include/chardev</title>
<updated>2017-06-02T07:33:52+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2017-01-26T13:19:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8228e353d8906bf43399ca0ef28446c5c48bb686'/>
<id>urn:sha1:8228e353d8906bf43399ca0ef28446c5c48bb686</id>
<content type='text'>
So they are all in one place. The following patch will move serial &amp;
parallel declarations to the respective headers.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>char: rename CharDriverState Chardev</title>
<updated>2017-01-27T17:07:59+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2016-12-07T13:20:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0ec7b3e7f21caf6bfde404528928d600b661ea8d'/>
<id>urn:sha1:0ec7b3e7f21caf6bfde404528928d600b661ea8d</id>
<content type='text'>
Pick a uniform chardev type name.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>replay: Clean up includes</title>
<updated>2016-06-07T15:19:23+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2016-05-24T15:25:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2d7fedeb54f23780f7ae2257be28265308a80f01'/>
<id>urn:sha1:2d7fedeb54f23780f7ae2257be28265308a80f01</id>
<content type='text'>
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>replay: character devices</title>
<updated>2016-03-15T17:23:40+00:00</updated>
<author>
<name>Pavel Dovgalyuk</name>
</author>
<published>2016-03-14T07:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=33577b47c64435fcc2a1bc01c7e82534256f1fc3'/>
<id>urn:sha1:33577b47c64435fcc2a1bc01c7e82534256f1fc3</id>
<content type='text'>
This patch implements record and replay of character devices.
It records chardevs communication in replay mode. Recorded information
include data read from backend and counter of bytes written
from frontend to backend to preserve frontend internal state.
If character device was configured through the command line in record mode,
then in replay mode it should be also added to command line. Backend of
the character device could be changed in replay mode.
Replaying of devices that perform ioctl and get_msgfd operations is not
supported.
gdbstub which also acts as a backend is not recorded to allow controlling
the replaying through gdb. Monitor backends are also not recorded.

Signed-off-by: Pavel Dovgalyuk &lt;pavel.dovgaluk@ispras.ru&gt;
Message-Id: &lt;20160314074436.4980.83856.stgit@PASHA-ISP&gt;
[Add stubs. - Paolo]
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
