[PATCH 03/23] KVM: PPC: Book3S HV: Fix instruction emulation

2015-03-20 Thread Paul Mackerras
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

[PATCH 03/23] KVM: PPC: Book3S HV: Fix instruction emulation

2015-03-20 Thread Paul Mackerras
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