]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: x86 emulator: limit instructions to 15 bytes
authorAvi Kivity <avi@redhat.com>
Tue, 24 Nov 2009 11:20:15 +0000 (13:20 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:52:23 +0000 (15:52 -0700)
commit8b91c56fd291670294e197bc2d25ba3844cc53fa
tree895b30a7f2ec94af0ee0f67975d88c00807d2244
parent6758be586812a95341a06b04e780fdde9c252ba2
KVM: x86 emulator: limit instructions to 15 bytes

commit eb3c79e64a70fb8f7473e30fa07e89c1ecc2c9bb upstream

[ <cebbert@redhat.com>: backport to 2.6.27 ]

While we are never normally passed an instruction that exceeds 15 bytes,
smp games can cause us to attempt to interpret one, which will cause
large latencies in non-preempt hosts.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/x86_emulate.c
include/asm-x86/kvm_x86_emulate.h