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:04 -0500
committerRichard Henderson <richard.henderson@linaro.org>2021-05-19 12:15:46 -0500
commiteec7d0f8386b600046843117d86b1189491cc5df (patch)
tree1a4fb0f97b2f7c620ccb6357536a220b86f8b67b /scripts/qapi/source.py
parentb40a47a17f9e5ed75287e9f6b6fb1b9d4a3a0c25 (diff)
downloadfocaccia-qemu-eec7d0f8386b600046843117d86b1189491cc5df.tar.gz
focaccia-qemu-eec7d0f8386b600046843117d86b1189491cc5df.zip
target/i386: Assert CODE64 for x86_64 user-only
For x86_64 user-only, there is no way to leave 64-bit mode.

Without x86_64, there is no way to enter 64-bit mode.  There is
an existing macro to aid with that; simply place it in the right
place in the ifdef chain.

Since we're adding an accessor macro, pull the value directly out
of flags when we're not assuming a constant.

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