target/i386: Assert !SVME for user-only
commit5d2238896af628fc3f01dbe73be06fdd5603dedd
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 14 May 2021 15:13:22 +0000 (14 10:13 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 19 May 2021 17:16:48 +0000 (19 12:16 -0500)
tree5843dc0341b2817d8f363796a3d4bed102369d0b
parent9f55e5a947512fdf8f2c4f8ccdfa84efaac8960c
target/i386: Assert !SVME for user-only

Most of the VMM instructions are already disabled for user-only,
by being usable only from ring 0.

The spec is intentionally loose for VMMCALL, allowing the VMM to
define syscalls for user-only.  However, we're not emulating any
VMM, so VMMCALL can just raise #UD unconditionally.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210514151342.384376-31-richard.henderson@linaro.org>
target/i386/tcg/translate.c