diff for duplicates of <57604435.3080808@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 5112204..908cddb 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,7 +1,7 @@ On 19.05.2016 11:33, 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. @@ -29,7 +29,7 @@ On 19.05.2016 11:33, Thomas Huth wrote: > + * an illegal-instruction exception when injecting a program > + * interrupt into the guest. > + */ -> + 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 09d9ead..69d09e4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01463650411-13597-1-git-send-email-thuth@redhat.com\0" "From\0Thomas Huth <thuth@redhat.com>\0" "Subject\0Re: [PATCH v2] KVM: PPC: Fix contents of SRR1 when injecting a program exception in kvm-pr\0" - "Date\0Tue, 14 Jun 2016 17:51:49 +0000\0" + "Date\0Tue, 14 Jun 2016 19:51:49 +0200\0" "To\0Alexander Graf <agraf@suse.com>" Paul Mackerras <paulus@samba.org> " kvm-ppc@vger.kernel.org\0" @@ -12,7 +12,7 @@ "On 19.05.2016 11:33, 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" @@ -40,7 +40,7 @@ "> +\t\t * an illegal-instruction exception when injecting a program\n" "> +\t\t * interrupt into the guest.\n" "> +\t\t */\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" @@ -53,4 +53,4 @@ "\n" Thomas -f7dfc1eaaecd7108b4b9d496de54201b04297f21cdbb5142d3901904f7ef9f34 +88e3b8f5c29d1fe89dc36ba9742bedc4176f916895ba435a29766b7213ed6ba3
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.