<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/replay, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/replay?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/replay?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-11-29T16:09:11+00:00</updated>
<entry>
<title>replay: Fix declaration of replay_read_next_clock</title>
<updated>2022-11-29T16:09:11+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2022-11-29T01:05:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fb72e779ebe3a51f55b16a49738380ee3e54c7d5'/>
<id>urn:sha1:fb72e779ebe3a51f55b16a49738380ee3e54c7d5</id>
<content type='text'>
Fixes the build with gcc 13:

replay/replay-time.c:34:6: error: conflicting types for  \
  'replay_read_next_clock' due to enum/integer mismatch; \
  have 'void(ReplayClockKind)' [-Werror=enum-int-mismatch]
   34 | void replay_read_next_clock(ReplayClockKind kind)
      |      ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../qemu/replay/replay-time.c:14:
replay/replay-internal.h:139:6: note: previous declaration of \
  'replay_read_next_clock' with type 'void(unsigned int)'
  139 | void replay_read_next_clock(unsigned int kind);
      |      ^~~~~~~~~~~~~~~~~~~~~~

Fixes: 8eda206e090 ("replay: recording and replaying clock ticks")
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Wilfred Mallawa &lt;wilfred.mallawa@wdc.com&gt;
Reviewed-by: Pavel Dovgalyuk &lt;Pavel.Dovgalyuk@ispras.ru&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20221129010547.284051-1-richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'trivial-branch-for-7.2-pull-request' of https://gitlab.com/laurent_vivier/qemu into staging</title>
<updated>2022-10-04T18:04:18+00:00</updated>
<author>
<name>Stefan Hajnoczi</name>
</author>
<published>2022-10-04T18:04:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fafd35a6dab8e70a7c395aaa8e1273267cf9f3c8'/>
<id>urn:sha1:fafd35a6dab8e70a7c395aaa8e1273267cf9f3c8</id>
<content type='text'>
Pull request trivial patches branch 20220930-v2

# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmM7XoISHGxhdXJlbnRA
# dml2aWVyLmV1AAoJEPMMOL0/L748D/0QAKbYtTWjhFPeapjZVoTv13YrTvczWrcF
# omL6IZivVq0t7hun4iem0DwmvXJELMGexEOTvEJOzM19IIlvvwvOsI8xnxpcMnEY
# 6GKVbs53Ba0bg2yh7Dll2W9jkou9eX27DwUHMVF8KX7qqsbU+WyD/vdGZitgGt+T
# 8yna7kzVvNVsdB3+DbIatI5RzzHeu4OqeuH/WCtAyzCaLB64UYTcHprskxIp4+wp
# dR+EUSoDEr9Qx4PC+uVEsTFK1zZjyAYNoNIkh6fhlkRvDJ1uA75m3EJ57P8xPPqe
# VbVkPMKi0d4c52m6XvLsQhyYryLx/qLLUAkJWVpY66aHcapYbZAEAfZmNGTQLrOJ
# qIOJzIkOdU6l3pRgXVdVCgkHRc2HETwET2LyVbNkUz/vBlW2wOZQbZFbezComael
# bQ/gNBYqP+eOGnZzeWbKBGHr/9QDBClNufidIMC+sOiUw0iSifzjkFwvH7IElx6K
# EQCOSV6pOhKVlinTpmBbk1XD3xDkQ7ZidiLT9g+P1c8dExrXBhWOnfUHueISb8+s
# KKMozuxQ/6/3c/DP5hwI9cKPEWEbqJfq1kMuxIvEivKGwUIqX2yq4VJ+hSlYJ+CW
# nGjXZldtf4KwH+cTsxyPmdZRR5Q7+ODr5Xo7GNvEKBuDsHs7uUl1c3vvOykQgje9
# +dyJR6TfbQWn
# =aK29
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 03 Oct 2022 18:13:22 EDT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier &lt;lvivier@redhat.com&gt;" [full]
# gpg:                 aka "Laurent Vivier &lt;laurent@vivier.eu&gt;" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) &lt;lvivier@redhat.com&gt;" [full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* tag 'trivial-branch-for-7.2-pull-request' of https://gitlab.com/laurent_vivier/qemu:
  docs: Update TPM documentation for usage of a TPM 2
  Use g_new() &amp; friends where that makes obvious sense
  Drop superfluous conditionals around g_free()
  block/qcow2-bitmap: Add missing cast to silent GCC error
  checkpatch: ignore target/hexagon/imported/* files
  mem/cxl_type3: fix GPF DVSEC
  .gitignore: add .cache/ to .gitignore
  hw/virtio/vhost-shadow-virtqueue: Silence GCC error "maybe-uninitialized"

Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>Drop superfluous conditionals around g_free()</title>
<updated>2022-10-03T22:10:11+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2022-09-23T09:04:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=76eb88b12baf2bd9a1729ded33bd58b7da5d7ec3'/>
<id>urn:sha1:76eb88b12baf2bd9a1729ded33bd58b7da5d7ec3</id>
<content type='text'>
There is no need to guard g_free(P) with if (P): g_free(NULL) is safe.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-Id: &lt;20220923090428.93529-1-armbru@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<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>replay: simplify async event processing</title>
<updated>2022-06-06T07:26:53+00:00</updated>
<author>
<name>Pavel Dovgalyuk</name>
</author>
<published>2022-05-27T10:46:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3e21408b0596aa2babe1e26996a15e7ad5eee71a'/>
<id>urn:sha1:3e21408b0596aa2babe1e26996a15e7ad5eee71a</id>
<content type='text'>
This patch joins replay event id and async event id into single byte in the log.
It makes processing a bit faster and log a bit smaller.

Signed-off-by: Pavel Dovgalyuk &lt;Pavel.Dovgalyuk@ispras.ru&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;

--

v2: minor enum fixes (suggested by Richard Henderson)
Message-Id: &lt;165364838393.688121.8191379555130516329.stgit@pasha-ThinkPad-X280&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>replay: rewrite async event handling</title>
<updated>2022-06-06T07:26:53+00:00</updated>
<author>
<name>Pavel Dovgalyuk</name>
</author>
<published>2022-05-27T10:46:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=60618e2d77691e44bb78e23b2b0cf07b5c405e56'/>
<id>urn:sha1:60618e2d77691e44bb78e23b2b0cf07b5c405e56</id>
<content type='text'>
This patch decouples checkpoints and async events.
It was a tricky part of replay implementation. Now it becomes
much simpler and easier to maintain.

Signed-off-by: Pavel Dovgalyuk &lt;Pavel.Dovgalyuk@ispras.ru&gt;
Acked-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;165364837856.688121.8785039478408995979.stgit@pasha-ThinkPad-X280&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>replay: fix event queue flush for qemu shutdown</title>
<updated>2022-06-06T07:26:53+00:00</updated>
<author>
<name>Pavel Dovgalyuk</name>
</author>
<published>2022-05-27T10:46:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c4b8ffcbb8531206e12cf3ad92fa90f7c80ed464'/>
<id>urn:sha1:c4b8ffcbb8531206e12cf3ad92fa90f7c80ed464</id>
<content type='text'>
This patch fixes event queue flush in the case of emulator
shutdown. replay_finish_events should be called when replay_mode
is not cleared.

Signed-off-by: Pavel Dovgalyuk &lt;Pavel.Dovgalyuk@ispras.ru&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;165364836758.688121.7959245442743676491.stgit@pasha-ThinkPad-X280&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&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>replay: notify CPU on event</title>
<updated>2021-04-01T08:37:20+00:00</updated>
<author>
<name>Pavel Dovgalyuk</name>
</author>
<published>2021-04-01T08:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=46967b1a43dead33fa0c4afecd91b456693d1c4f'/>
<id>urn:sha1:46967b1a43dead33fa0c4afecd91b456693d1c4f</id>
<content type='text'>
This patch enables vCPU notification to wake it up
when new async event comes in replay mode.

The motivation of this patch is the following.
Consider recorded block async event. It is saved into the log
with one of the checkpoints. This checkpoint may be passed in
vCPU loop. In replay mode when this async event is read from
the log, and block thread task is not finished yet, vCPU thread
goes to sleep. That is why this patch adds waking up the vCPU
to process this finished event.

Signed-off-by: Pavel Dovgalyuk &lt;Pavel.Dovgalyuk@ispras.ru&gt;
Message-Id: &lt;161726519158.1476949.7614181684462079836.stgit@pasha-ThinkPad-X280&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>replay: fix recursive checkpoints</title>
<updated>2021-04-01T07:40:45+00:00</updated>
<author>
<name>Pavel Dovgalyuk</name>
</author>
<published>2021-03-29T07:59:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7cebff0d0374d2ffd94f3bffe6ea922bb9091563'/>
<id>urn:sha1:7cebff0d0374d2ffd94f3bffe6ea922bb9091563</id>
<content type='text'>
Record/replay uses checkpoints to synchronize the execution
of the threads and timers. Hardware events such as BH are
processed at the checkpoints too.
Event processing can cause refreshing the virtual timers
and calling the icount-related functions, that also use checkpoints.
This patch prevents recursive processing of such checkpoints,
because they have their own records in the log and should be
processed later.

Signed-off-by: Pavel Dovgalyuk &lt;Pavel.Dovgalyuk@ispras.ru&gt;
Message-Id: &lt;161700476500.1140362.10108444973730452257.stgit@pasha-ThinkPad-X280&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
