<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/linux-user/host/s390x, 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/host/s390x?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/linux-user/host/s390x?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-01-12T13:08:29+00:00</updated>
<entry>
<title>user: move common-user includes to a subdirectory of {bsd,linux}-user/</title>
<updated>2022-01-12T13:08:29+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2021-12-21T15:20:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=05a248715cef192336a594afed812871a52efc1f'/>
<id>urn:sha1:05a248715cef192336a594afed812871a52efc1f</id>
<content type='text'>
Avoid polluting the compilation of common-user/ with local include files;
making an include file available to common-user/ should be a deliberate
decision in order to keep a clear interface that can be used by both
bsd-user/ and linux-user/.

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: 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>
<entry>
<title>linux-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS</title>
<updated>2021-12-20T04:47:33+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-11-22T18:47:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=af254a279255bd753c2b0b3a70fc39f09c724aab'/>
<id>urn:sha1:af254a279255bd753c2b0b3a70fc39f09c724aab</id>
<content type='text'>
This value is fully internal to qemu, and so is not a TARGET define.
We use this as an extra marker for both host and target errno.

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>
<entry>
<title>linux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h</title>
<updated>2021-12-20T04:47:33+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-11-15T19:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0a7e01904d407baa73c1baddbdfc9ccf2ace8356'/>
<id>urn:sha1:0a7e01904d407baa73c1baddbdfc9ccf2ace8356</id>
<content type='text'>
All supported hosts now define HAVE_SAFE_SYSCALL, so remove
the ifdefs.  This leaves hostdep.h empty, so remove it.

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>
<entry>
<title>linux-user: Move syscall error detection into safe_syscall_base</title>
<updated>2021-12-20T04:47:33+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-11-15T13:08:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a3310c0397e21df8f47cde3e55736104b9584d2d'/>
<id>urn:sha1:a3310c0397e21df8f47cde3e55736104b9584d2d</id>
<content type='text'>
The current api from safe_syscall_base() is to return -errno, which is
the interface provided by *some* linux kernel abis.  The wrapper macro,
safe_syscall(), detects error, stores into errno, and returns -1, to
match the api of the system syscall().

For those kernel abis that do not return -errno natively, this leads
to double syscall error detection.  E.g. Linux ppc64, which sets the
SO flag for error.

Simplify the usage from C by moving the error detection into assembly,
and usage from assembly by providing a C helper with which to set errno.

Reviewed-by: Warner Losh &lt;imp@bsdimp.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Untabify all safe-syscall.inc.S</title>
<updated>2021-12-20T04:47:33+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-11-23T10:44:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b9d2af3c62c22870c02410d5c9c6d097ee0ddf3f'/>
<id>urn:sha1:b9d2af3c62c22870c02410d5c9c6d097ee0ddf3f</id>
<content type='text'>
Reviewed-by: Warner Losh &lt;imp@bsdimp.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Suggested-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user/signal.c: Create a common rewind_if_in_safe_syscall</title>
<updated>2021-11-23T00:47:20+00:00</updated>
<author>
<name>Warner Losh</name>
</author>
<published>2021-11-13T04:56:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=07637888687bfecf3c0cc8351c5c24f29a611691'/>
<id>urn:sha1:07637888687bfecf3c0cc8351c5c24f29a611691</id>
<content type='text'>
All instances of rewind_if_in_safe_syscall are the same, differing only
in how the instruction point is fetched from the ucontext and the size
of the registers. Use host_signal_pc and new host_signal_set_pc
interfaces to fetch the pointer to the PC and adjust if needed. Delete
all the old copies of rewind_if_in_safe_syscall.

Acked-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Signed-off-by: Warner Losh &lt;imp@bsdimp.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-Id: &lt;20211113045603.60391-3-imp@bsdimp.com&gt;
[rth: include safe-syscall.h, simplify ifdefs]
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user/host/s390: Populate host_signal.h</title>
<updated>2021-11-02T11:00:46+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-09-17T17:44:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=66ee11d407c07cd5e093fabb48e81232388189d0'/>
<id>urn:sha1:66ee11d407c07cd5e093fabb48e81232388189d0</id>
<content type='text'>
Split host_signal_pc and host_signal_write out of user-exec.c.

Reviewed-by: Thomas Huth &lt;thuth@redhat.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>
<entry>
<title>linux-user: Reorg handling for SIGSEGV</title>
<updated>2021-10-30T16:52:04+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-09-16T21:44:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e6037d04c58284285726721d0d4741e1386594e9'/>
<id>urn:sha1:e6037d04c58284285726721d0d4741e1386594e9</id>
<content type='text'>
Add stub host-signal.h for all linux-user hosts.
Add new code replacing cpu_signal_handler.
Full migration will happen one host at a time.

Reviewed-by: Warner Losh &lt;imp@bsdimp.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Acked-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>Replace 'struct ucontext' with 'ucontext_t' type</title>
<updated>2017-07-20T09:10:28+00:00</updated>
<author>
<name>Khem Raj</name>
</author>
<published>2017-06-28T20:44:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=04b33e21866412689f18b7ad6daf0a54d8f959a7'/>
<id>urn:sha1:04b33e21866412689f18b7ad6daf0a54d8f959a7</id>
<content type='text'>
glibc used to have:

   typedef struct ucontext { ... } ucontext_t;

glibc now has:

   typedef struct ucontext_t { ... } ucontext_t;

(See https://sourceware.org/bugzilla/show_bug.cgi?id=21457
 for detail and rationale for the glibc change)

However, QEMU used "struct ucontext" in declarations. This is a
private name and compatibility cannot be guaranteed. Switch to
only using the standardized type name.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Message-id: 20170628204452.41230-1-raj.khem@gmail.com
Cc: Kamil Rytarowski &lt;kamil@netbsd.org&gt;
Cc: Riku Voipio &lt;riku.voipio@iki.fi&gt;
Cc: Laurent Vivier &lt;laurent@vivier.eu&gt;
Cc: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
[PMM: Rewrote commit message, based mostly on the one from
 Nathaniel McCallum]
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
</feed>
