KVM: x86: emulator: inc/dec can have lock prefix
authorGleb Natapov <gleb@redhat.com>
Tue, 13 Jul 2010 13:40:23 +0000 (16:40 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:49 +0000 (06:40 +0300)
commitc0e0608cb902af1a1fd8d413ec0a07ee1e62c652
treed503fb8dd796a5cb2acdc54ada64073fe743b703
parent24157aaf833261e68e5a398fa54bd15e4fa1d0b7
KVM: x86: emulator: inc/dec can have lock prefix

Mark inc (0xfe/0 0xff/0) and dec (0xfe/1 0xff/1) as lock prefix capable.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c