diff for duplicates of <573D818D.4000802@suse.de> diff --git a/a/1.txt b/N1/1.txt index dc26ff4..513daad 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,7 +1,7 @@ On 05/19/2016 10:44 AM, Thomas Huth wrote: > vcpu->arch.shadow_srr1 only contains usable values for injecting > a program exception into the guest if we entered the function -> kvmppc_handle_exit_pr() with exit_nr = BOOK3S_INTERRUPT_PROGRAM. +> kvmppc_handle_exit_pr() with exit_nr == BOOK3S_INTERRUPT_PROGRAM. > In other cases, the shadow_srr1 bits are zero. Since we want to > pass an illegal-instruction program check to the guest, set > "flags" to SRR1_PROGILL for these other cases. @@ -27,7 +27,7 @@ Alex > > program_interrupt: > - flags = vcpu->arch.shadow_srr1 & 0x1f0000ull; -> + if (exit_nr = BOOK3S_INTERRUPT_PROGRAM) +> + if (exit_nr == BOOK3S_INTERRUPT_PROGRAM) > + flags = vcpu->arch.shadow_srr1 & 0x1f0000ull; > + else > + flags = SRR1_PROGILL; diff --git a/a/content_digest b/N1/content_digest index e620b40..f8cf239 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01463647483-12148-1-git-send-email-thuth@redhat.com\0" "From\0Alexander Graf <agraf@suse.de>\0" "Subject\0Re: [PATCH] KVM: PPC: Fix contents of SRR1 when injecting a program exception in kvm-pr\0" - "Date\0Thu, 19 May 2016 09:04:13 +0000\0" + "Date\0Thu, 19 May 2016 11:04:13 +0200\0" "To\0Thomas Huth <thuth@redhat.com>" Alexander Graf <agraf@suse.com> Paul Mackerras <paulus@samba.org> @@ -13,7 +13,7 @@ "On 05/19/2016 10:44 AM, Thomas Huth wrote:\n" "> vcpu->arch.shadow_srr1 only contains usable values for injecting\n" "> a program exception into the guest if we entered the function\n" - "> kvmppc_handle_exit_pr() with exit_nr = BOOK3S_INTERRUPT_PROGRAM.\n" + "> kvmppc_handle_exit_pr() with exit_nr == BOOK3S_INTERRUPT_PROGRAM.\n" "> In other cases, the shadow_srr1 bits are zero. Since we want to\n" "> pass an illegal-instruction program check to the guest, set\n" "> \"flags\" to SRR1_PROGILL for these other cases.\n" @@ -39,7 +39,7 @@ "> \n" "> program_interrupt:\n" "> -\t\tflags = vcpu->arch.shadow_srr1 & 0x1f0000ull;\n" - "> +\t\tif (exit_nr = BOOK3S_INTERRUPT_PROGRAM)\n" + "> +\t\tif (exit_nr == BOOK3S_INTERRUPT_PROGRAM)\n" "> +\t\t\tflags = vcpu->arch.shadow_srr1 & 0x1f0000ull;\n" "> +\t\telse\n" "> +\t\t\tflags = SRR1_PROGILL;\n" @@ -47,4 +47,4 @@ "> \t\temul = kvmppc_get_last_inst(vcpu, INST_GENERIC, &last_inst);\n" "> \t\tif (emul != EMULATE_DONE) {" -87e2e738a93faaf080a8b2ca56b9147a5f50930f5de86aae81a7d1fad6be41ef +e49a755f6ca50b4f213493f8aecbcb8364d89ffff1eda0b01d4cc51f2ebb06f9
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.