summaryrefslogtreecommitdiffstats
path: root/kernel/mutex.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-05-07 12:12:25 +0200
committerAvi Kivity <avi@redhat.com>2012-05-14 10:32:38 +0200
commitd54e4237bcbb400fda11c902fd538aa0b4805720 (patch)
treef2b89d6c56fc585fa4b0edacb109889f1ed64d9f /kernel/mutex.h
parentKVM: VMX: unlike vmcs on fail path (diff)
downloadlinux-d54e4237bcbb400fda11c902fd538aa0b4805720.tar.xz
linux-d54e4237bcbb400fda11c902fd538aa0b4805720.zip
KVM: x86 emulator: convert bsf/bsr instructions to emulate_2op_SrcV_nobyte()
The instruction emulation for bsrw is broken in KVM because the code always uses bsr with 32 or 64 bit operand size for emulation. Fix that by using emulate_2op_SrcV_nobyte() macro to use guest operand size for emulation. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions