<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/common-user, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/common-user?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/common-user?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-06-28T09:12:05+00:00</updated>
<entry>
<title>common-user: Only compile the common user code if have_user is set</title>
<updated>2022-06-28T09:12:05+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2022-06-22T14:03:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2296b4655694744f7c8dcdc9440c21d86e19968e'/>
<id>urn:sha1:2296b4655694744f7c8dcdc9440c21d86e19968e</id>
<content type='text'>
There is no need to waste cycles here if we only compile the system
binaries or tools. Additionally, this change is even a hard requirement
for building the tools on systems that do not have an entry in the
common-user/host/ folder (since common-user/meson.build is trying
to add such a path via the include_directories() command).

Reported-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Zhang Chen &lt;chen.zhang@intel.com&gt;
Message-Id: &lt;20220622140328.383961-1-thuth@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>common-user/host/sparc64: Fix safe_syscall_base</title>
<updated>2022-02-08T21:46:23+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2022-02-08T02:54:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=620d0b49a40e24465472b667f19b5fb0c63a6f0c'/>
<id>urn:sha1:620d0b49a40e24465472b667f19b5fb0c63a6f0c</id>
<content type='text'>
Use the "retl" instead of "ret" instruction alias, since we
do not allocate a register window in this function.

Fix the offset to the first stacked parameter, which lies
beyond the register window save area.

Fixes: 95c021dac835 ("linux-user/host/sparc64: Add safe-syscall.inc.S")
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>meson: cleanup common-user/ build</title>
<updated>2022-01-12T13:08:29+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2021-12-21T15:09:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9d24fb73a1c1b0d892f8c26297f922c85460513d'/>
<id>urn:sha1:9d24fb73a1c1b0d892f8c26297f922c85460513d</id>
<content type='text'>
It is not necessary to have a separate static_library just for common_user
files; using the one that already covers the rest of common_ss is enough
unless you need to reuse some source files between emulators and tests.
Just place common files for all user-mode emulators in common_ss,
similar to what is already done for softmmu_ss in full system emulators.

The only disadvantage is that the include_directories under bsd-user/include/
and linux-user/include/ are now enabled for all targets rather than only
user mode emulators.  This however is not different from how include/sysemu/
is available when building user mode emulators.

Tested-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>common-user: Really fix i386 calls to safe_syscall_set_errno_tail</title>
<updated>2022-01-05T05:14:23+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2022-01-05T05:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fb084237a3b78b20fd9d888dffd673b6656ea3be'/>
<id>urn:sha1:fb084237a3b78b20fd9d888dffd673b6656ea3be</id>
<content type='text'>
Brown bag time: offset 0 from esp is the return address,
offset 4 is the first argument.

Fixes: d7478d4229f0 ("common-user: Fix tail calls to safe_syscall_set_errno_tail")
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>common-user: Fix tail calls to safe_syscall_set_errno_tail</title>
<updated>2022-01-04T23:41:03+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2022-01-04T19:00:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d7478d4229f0a2b2817a55487e6b17081099fae4'/>
<id>urn:sha1:d7478d4229f0a2b2817a55487e6b17081099fae4</id>
<content type='text'>
For the ABIs in which the syscall return register is not
also the first function argument register, move the errno
value into the correct place.

Fixes: a3310c0397e2 ("linux-user: Move syscall error detection into safe_syscall_base")
Reported-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Tested-by: Laurent Vivier &lt;laurent@vivier.eu&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;20220104190454.542225-1-richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>common-user: Add safe syscall handling for loongarch64 hosts</title>
<updated>2021-12-21T21:17:06+00:00</updated>
<author>
<name>WANG Xuerui</name>
</author>
<published>2021-12-21T05:41:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6016b7b46edb714a53a31536b30ead9c3aafaef7'/>
<id>urn:sha1:6016b7b46edb714a53a31536b30ead9c3aafaef7</id>
<content type='text'>
Signed-off-by: WANG Xuerui &lt;git@xen0n.name&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20211221054105.178795-29-git@xen0n.name&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>common-user: Adjust system call return on FreeBSD</title>
<updated>2021-12-20T18:12:29+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-11-23T14:18:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5bfd125ec8ba8aab04f3a636dcea39f6c4075ced'/>
<id>urn:sha1:5bfd125ec8ba8aab04f3a636dcea39f6c4075ced</id>
<content type='text'>
FreeBSD system calls return positive errno.  On the 4 hosts for
which we have support, error is indicated by the C bit set or clear.

Reviewed-by: Warner Losh &lt;imp@bsdimp.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>common-user: Move safe-syscall.* from linux-user</title>
<updated>2021-12-20T18:12:24+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-11-17T15:14:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bbf15aaf7c7506c88062288b3ae122b882f65e69'/>
<id>urn:sha1:bbf15aaf7c7506c88062288b3ae122b882f65e69</id>
<content type='text'>
Move linux-user safe-syscall.S and safe-syscall-error.c to common-user
so that bsd-user can also use it.  Also move safe-syscall.h to
include/user/.  Since there is nothing here that is related to the guest,
as opposed to the host, build it once.

Reviewed-by: Warner Losh &lt;imp@bsdimp.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
</feed>
