|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v2 09/50] target/i386: Assert !VM86 for x86_64 user-only |
Date: | Tue, 18 May 2021 11:19:44 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 14/05/21 17:13, Richard Henderson wrote:
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> --- target/i386/tcg/translate.c | 40 ++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 18 deletions(-)
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |