Re: [PATCH 12/25] target/i386: split X86_CHECK_prot into PE and VM86 checks

2024-06-08 Thread Richard Henderson
On 6/8/24 01:41, Paolo Bonzini wrote: SYSENTER is allowed in VM86 mode, but not in real mode. Split the check so that PE and !VM86 are covered by separate bits. Signed-off-by: Paolo Bonzini --- target/i386/tcg/decode-new.h | 8 ++-- target/i386/tcg/decode-new.c.inc | 9 +++-- 2

[PATCH 12/25] target/i386: split X86_CHECK_prot into PE and VM86 checks

2024-06-08 Thread Paolo Bonzini
SYSENTER is allowed in VM86 mode, but not in real mode. Split the check so that PE and !VM86 are covered by separate bits. Signed-off-by: Paolo Bonzini --- target/i386/tcg/decode-new.h | 8 ++-- target/i386/tcg/decode-new.c.inc | 9 +++-- 2 files changed, 13 insertions(+), 4 deletio