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:
kfraser@localhost.localdomain committed 2007-05-15 09:54:27 +01:00
1 parent cb16c56482
commit ddb76c5b25
1 file changed
+2
+2
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.