Re: [PATCH v2 11/50] target/i386: Assert SS32 for x86_64 user-only

2021-05-18 Thread Paolo Bonzini
On 14/05/21 17:13, Richard Henderson wrote: For user-only, SS32 == !VM86, because we are never in real-mode. Since we cannot enter vm86 mode for x86_64 user-only, SS32 is always set. Since we're adding an accessor macro, pull the value directly out of flags otherwise. Signed-off-by: Richard He

[PATCH v2 11/50] target/i386: Assert SS32 for x86_64 user-only

2021-05-14 Thread Richard Henderson
For user-only, SS32 == !VM86, because we are never in real-mode. Since we cannot enter vm86 mode for x86_64 user-only, SS32 is always set. Since we're adding an accessor macro, pull the value directly out of flags otherwise. Signed-off-by: Richard Henderson --- target/i386/tcg/translate.c | 15