summary refs log tree commit diff stats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-05-14 10:13:01 -0500
committerRichard Henderson <richard.henderson@linaro.org>2021-05-19 12:15:46 -0500
commitf8a35846d5479fb076c12c8c84c010cb479bdc49 (patch)
treec6c69debdc9859122ab8f57b75b5e55c9894e79b /scripts/qapi/source.py
parent0ab011cca08651349172187d574e2fb1316283ef (diff)
downloadfocaccia-qemu-f8a35846d5479fb076c12c8c84c010cb479bdc49.tar.gz
focaccia-qemu-f8a35846d5479fb076c12c8c84c010cb479bdc49.zip
target/i386: Assert !VM86 for x86_64 user-only
For i386-linux-user, we can enter vm86 mode via the vm86(2) syscall.
That syscall explicitly returns to 32-bit mode, and the syscall does
not exist for a 64-bit x86_64 executable.

Since we're adding an accessor macro, pull the value directly out of
flags otherwise.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-10-richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions