diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2025-07-25 16:45:07 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2025-07-26 23:04:35 +0100 |
commit | bd0eb9b0cdb69ce8eafa85258a564596eeb165b7 (patch) | |
tree | 90a48d83f7f99b32d42d77166a96b12d555370d7 | |
parent | 1ab41da6bb17b8c8abaabe5c9dbf65d0667cd9ec (diff) | |
download | qemu-bd0eb9b0cdb69ce8eafa85258a564596eeb165b7.zip qemu-bd0eb9b0cdb69ce8eafa85258a564596eeb165b7.tar.gz qemu-bd0eb9b0cdb69ce8eafa85258a564596eeb165b7.tar.bz2 |
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 <manos.pitsidianakis@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250725154517.3523095-5-alex.bennee@linaro.org>
-rw-r--r-- | docs/user/main.rst | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/user/main.rst b/docs/user/main.rst index b8ff203..05de904 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 ~~~~~~~~~~~~~~~~~~~~~ |