<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/linux-user/i386, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/linux-user/i386?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/linux-user/i386?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-25T07:20:40+00:00</updated>
<entry>
<title>linux-user: Add guest memory layout to exception dump</title>
<updated>2022-10-25T07:20:40+00:00</updated>
<author>
<name>Helge Deller</name>
</author>
<published>2022-10-24T20:18:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bd5ccd61080abf976a6a6cc2d09d31299bea0cee'/>
<id>urn:sha1:bd5ccd61080abf976a6a6cc2d09d31299bea0cee</id>
<content type='text'>
When the emulation stops with a hard exception it's very useful for
debugging purposes to dump the current guest memory layout (for an
example see /proc/self/maps) beside the CPU registers.

The open_self_maps() function provides such a memory dump, but since
it's located in the syscall.c file, various changes (add #includes, make
this function externally visible, ...) are needed to be able to call it
from the existing EXCP_DUMP() macro.

This patch takes another approach by re-defining EXCP_DUMP() to call
target_exception_dump(), which is in syscall.c, consolidates the log
print functions and allows to add the call to dump the memory layout.

Beside a reduced code footprint, this approach keeps the changes across
the various callers minimal, and keeps EXCP_DUMP() highlighted as
important macro/function.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;Y1bzAWbw07WBKPxw@p100&gt;
[lv: remove pc declaration and setting]
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>linux-user: i386/signal: support XSAVE/XRSTOR for signal frame fpstate</title>
<updated>2022-10-11T08:27:35+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-10-10T13:28:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5d2456789ac50b11c2bd560ddf3470fe820bb0ff'/>
<id>urn:sha1:5d2456789ac50b11c2bd560ddf3470fe820bb0ff</id>
<content type='text'>
Add support for saving/restoring extended save states when signals
are delivered.  This allows using AVX, MPX or PKRU registers in
signal handlers.

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>linux-user: i386/signal: support FXSAVE fpstate on 32-bit emulation</title>
<updated>2022-10-11T07:36:01+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-10-06T11:31:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2796f290b5469a7f6749ea119a48bc17f489effd'/>
<id>urn:sha1:2796f290b5469a7f6749ea119a48bc17f489effd</id>
<content type='text'>
Linux can use FXSAVE to save/restore XMM registers even on 32-bit
systems.  This requires some care in order to keep the FXSAVE area
aligned to 16 bytes; for this reason, get_sigframe is changed to
pass the offset into the FXSAVE area rather than the full frame
size.

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>linux-user: i386/signal: move fpstate at the end of the 32-bit frames</title>
<updated>2022-10-11T07:36:01+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-10-07T13:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5154d35beda383af8042061099a5cd2decf88e69'/>
<id>urn:sha1:5154d35beda383af8042061099a5cd2decf88e69</id>
<content type='text'>
Recent versions of Linux moved the 32-bit fpstate towards the end of the
frame, so that the variable-sized xsave data does not overwrite the
(ABI-defined) extramask[] field.  Follow suit in QEMU.

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>linux-user: Provide MADV_* definitions</title>
<updated>2022-09-27T07:30:09+00:00</updated>
<author>
<name>Ilya Leoshkevich</name>
</author>
<published>2022-09-06T00:08:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9f22020b91ae235be2b27c47d11e842872ec5e85'/>
<id>urn:sha1:9f22020b91ae235be2b27c47d11e842872ec5e85</id>
<content type='text'>
Provide MADV_* definitions using target_mman.h header, similar to what
kernel does. Most architectures use the same values, with the exception
of alpha and hppa.

Signed-off-by: Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220906000839.1672934-2-iii@linux.ibm.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>linux-user: use 'max' instead of 'qemu32' / 'qemu64' by default</title>
<updated>2022-09-23T12:04:17+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2022-09-23T11:04:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d135f781405f7c78153aa65e0327b05a4aa72e50'/>
<id>urn:sha1:d135f781405f7c78153aa65e0327b05a4aa72e50</id>
<content type='text'>
The 'qemu64' CPU model implements the least featureful x86_64 CPU that's
possible. Historically this hasn't been an issue since it was rare for
OS distros to build with a higher mandatory CPU baseline.

With RHEL-9, however, the entire distro is built for the x86_64-v2 ABI
baseline:

  https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level

It is likely that other distros may take similar steps in the not too
distant future. For example, it has been suggested for Fedora on a
number of occasions.

This new baseline is not compatible with the qemu64 CPU model though.
While it is possible to pass a '-cpu xxx' flag to qemu-x86_64, the
usage of QEMU doesn't always allow for this. For example, the args
are typically controlled via binfmt rules that the user has no ability
to change. This impacts users who are trying to use podman on aarch64
platforms, to run containers with x86_64 content. There's no arg to
podman that can be used to change the qemu-x86_64 args, and a non-root
user of podman can not change binfmt rules without elevating privileges:

  https://github.com/containers/podman/issues/15456#issuecomment-1228210973

Changing to the 'max' CPU model gives 'qemu-x86_64' maximum
compatibility with binaries it is likely to encounter in the wild,
and not likely to have a significant downside for existing usage.

Most other architectures already use an 'any' CPU model, which is
often mapped to 'max' (or similar) already, rather than the oldest
possible CPU model.

For the sake of consistency the 'i386' architecture is also changed
from using 'qemu32' to 'max'.

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-Id: &lt;20220923110413.70593-1-berrange@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>misc: fix commonly doubled up words</title>
<updated>2022-08-01T09:58:02+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2022-07-07T16:37:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7a21bee2aa52fc95b25e38372678986ee94f05f1'/>
<id>urn:sha1:7a21bee2aa52fc95b25e38372678986ee94f05f1</id>
<content type='text'>
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-Id: &lt;20220707163720.1421716-5-berrange@redhat.com&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>Remove qemu-common.h include from most units</title>
<updated>2022-04-06T12:31:55+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-03-23T15:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0f9668e0c197ab6de95f61a906703a1d127c11f8'/>
<id>urn:sha1:0f9668e0c197ab6de95f61a906703a1d127c11f8</id>
<content type='text'>
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20220323155743.1585078-33-marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>linux-user: Add missing "qemu/timer.h" include</title>
<updated>2022-02-21T09:18:06+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2022-02-07T08:27:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=cdf06ce5629ac19d13064989012c88dd581bf6f6'/>
<id>urn:sha1:cdf06ce5629ac19d13064989012c88dd581bf6f6</id>
<content type='text'>
"qemu/timer.h" declares cpu_get_host_ticks().

Signed-off-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220207082756.82600-9-f4bug@amsat.org&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>linux-user: Move generic TARGET_RLIMIT* definitions to generic/target_resource.h</title>
<updated>2022-02-01T07:01:38+00:00</updated>
<author>
<name>Serge Belyshev</name>
</author>
<published>2022-01-29T19:46:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b13e49bc86961c6725b2ebddd53898fe1366f6dc'/>
<id>urn:sha1:b13e49bc86961c6725b2ebddd53898fe1366f6dc</id>
<content type='text'>
Signed-off-by: Serge Belyshev &lt;belyshev@depni.sinp.msu.ru&gt;
Message-Id: &lt;87ee4ql3yk.fsf_-_@depni.sinp.msu.ru&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
</feed>
