]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: fix Src2CL decode
authorAvi Kivity <avi@redhat.com>
Tue, 13 Sep 2011 07:45:38 +0000 (10:45 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:14:58 +0000 (19:14 +0300)
commitb23992e803884ba313d03c029eb51581808bd907
treed3abe3c1ccbbf46af58b8d737821cef6e80ebd84
parent272b43f4bbf2ac2243a556182c36a16b0d0c0f10
KVM: x86 emulator: fix Src2CL decode

Src2CL decode (used for double width shifts) erronously decodes only bit 3
of %rcx, instead of bits 7:0.

Fix by decoding %cl in its entirety.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c