summaryrefslogtreecommitdiffstats
path: root/crypto/lz4.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2015-03-20 20:39:40 +1100
committerAlexander Graf <agraf@suse.de>2015-03-20 11:42:33 +0100
commit2bf27601c7b50b6ced72f27304109dc52eb52919 (patch)
treef67616115092b183d45bfa42f80b37efb5251eac /crypto/lz4.c
parentecb6d6185b3ae40067330eb889977bf2a51f7429 (diff)
downloadlinux-stable-2bf27601c7b50b6ced72f27304109dc52eb52919.tar.gz
linux-stable-2bf27601c7b50b6ced72f27304109dc52eb52919.tar.bz2
linux-stable-2bf27601c7b50b6ced72f27304109dc52eb52919.zip
KVM: PPC: Book3S HV: Fix instruction emulation
Commit 4a157d61b48c ("KVM: PPC: Book3S HV: Fix endianness of instruction obtained from HEIR register") had the side effect that we no longer reset vcpu->arch.last_inst to -1 on guest exit in the cases where the instruction is not fetched from the guest. This means that if instruction emulation turns out to be required in those cases, the host will emulate the wrong instruction, since vcpu->arch.last_inst will contain the last instruction that was emulated. This fixes it by making sure that vcpu->arch.last_inst is reset to -1 in those cases. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'crypto/lz4.c')
0 files changed, 0 insertions, 0 deletions