mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86: suppress SYSCALL feature for 32on64 guests
since Xen cannot handle it. Signed-off-by: Jan Beulich <jbeulich@novell.com>
This commit is contained in:
1 parent
cb16c56482
commit
ddb76c5b25
1 file changed
+2
@@ -597,6 +597,8 @@ static int emulate_forced_invalid_op(struct cpu_user_regs *regs)
|
||||
else if ( regs->eax == 0x80000001 )
|
||||
{
|
||||
/* Modify Feature Information. */
|
||||
if ( is_pv_32bit_vcpu(current) )
|
||||
clear_bit(X86_FEATURE_SYSCALL % 32, &d);
|
||||
clear_bit(X86_FEATURE_RDTSCP % 32, &d);
|
||||
}
|
||||
else
|
||||
|
||||