From: Alex Bennée Date: Fri, 25 Jul 2025 15:45:07 +0000 (+0100) Subject: docs/user: slightly reword section on system calls X-Git-Tag: v10.1.0-rc1~5^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd0eb9b0cdb69ce8eafa85258a564596eeb165b7;p=thirdparty%2Fqemu.git docs/user: slightly reword section on system calls Expand the description slightly and quote ioctl(). I did ponder mentioning something about why DRM ioctls are often missing but I see we have the I915 ones so I guess its just no one has done them. Reviewed-by: Manos Pitsidianakis Signed-off-by: Alex Bennée Message-ID: <20250725154517.3523095-5-alex.bennee@linaro.org> --- diff --git a/docs/user/main.rst b/docs/user/main.rst index b8ff203c21..05de904225 100644 --- a/docs/user/main.rst +++ b/docs/user/main.rst @@ -20,10 +20,14 @@ QEMU user space emulation has the following notable features: System call translation ~~~~~~~~~~~~~~~~~~~~~~~ -QEMU includes a generic system call translator. This means that the -parameters of the system calls can be converted to fix endianness -and 32/64-bit mismatches between hosts and targets. IOCTLs can be -converted too. +System calls are the principle interface between user-space and the +kernel. Generally the same system calls exist on all versions of the +kernel so QEMU includes a generic system call translator. The +translator takes care of adjusting endianess, 32/64 bit parameter size +and then calling the equivalent host system call. + +QEMU can also adjust device specific ``ioctl()`` calls in a similar +fashion. POSIX signal handling ~~~~~~~~~~~~~~~~~~~~~