diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2021-05-14 10:13:00 -0500 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2021-05-19 12:15:46 -0500 |
| commit | 0ab011cca08651349172187d574e2fb1316283ef (patch) | |
| tree | 987b118d17247502e9412c97e442d442d27636bc /scripts/qapi/source.py | |
| parent | 01b9d8c1b23b6e5af631cb56b86011466b52789a (diff) | |
| download | focaccia-qemu-0ab011cca08651349172187d574e2fb1316283ef.tar.gz focaccia-qemu-0ab011cca08651349172187d574e2fb1316283ef.zip | |
target/i386: Assert IOPL is 0 for user-only
On real hardware, the linux kernel has the iopl(2) syscall which can set IOPL to 3, to allow e.g. the xserver to briefly disable interrupts while programming the graphics card. However, QEMU cannot and does not implement this syscall, so the IOPL is never changed from 0. Which means that all of the checks vs CPL <= IOPL are false for user-only. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210514151342.384376-9-richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions