From: Nadav Amit Date: Sun, 2 Nov 2014 09:54:49 +0000 (+0200) Subject: KVM: x86: SYSCALL cannot clear eflags[1] X-Git-Tag: omap-for-v3.20/drop-legacy-3517~40^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=807c142595abcb99285746bd5512447bdf40b9b1;p=pandora-kernel.git KVM: x86: SYSCALL cannot clear eflags[1] SYSCALL emulation currently clears in 64-bit mode eflags according to MSR_SYSCALL_MASK. However, on bare-metal eflags[1] which is fixed to one cannot be cleared, even if MSR_SYSCALL_MASK masks the bit. This wrong behavior may result in failed VM-entry, as VT disallows entry with eflags[1] cleared. This patch sets the bit after masking eflags on syscall. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed