diff for duplicates of <53B6588C.4090502@linux.vnet.ibm.com> diff --git a/a/1.txt b/N1/1.txt index 1677185..218d8a1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -111,7 +111,7 @@ Ok Sure. >>>> * we don't emulate any guest instructions at this stage. >>>> */ >>>> case BOOK3S_INTERRUPT_H_EMUL_ASSIST: ->>>> + if (kvmppc_get_last_inst(vcpu) = KVMPPC_INST_BOOK3S_DEBUG ) { +>>>> + if (kvmppc_get_last_inst(vcpu) == KVMPPC_INST_BOOK3S_DEBUG ) { >>>> + run->exit_reason = KVM_EXIT_DEBUG; >>>> + run->debug.arch.address = kvmppc_get_pc(vcpu); >>>> + r = RESUME_HOST; diff --git a/a/content_digest b/N1/content_digest index ca0fefa..c319c12 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\053B64E4D.1010802@suse.de\0" "From\0Madhavan Srinivasan <maddy@linux.vnet.ibm.com>\0" "Subject\0Re: [PATCH v2] powerpc/kvm: support to handle sw breakpoint\0" - "Date\0Fri, 04 Jul 2014 07:44:28 +0000\0" + "Date\0Fri, 04 Jul 2014 13:02:28 +0530\0" "To\0Alexander Graf <agraf@suse.de>" benh@kernel.crashing.org " paulus@samba.org\0" @@ -126,7 +126,7 @@ ">>>> * we don't emulate any guest instructions at this stage.\n" ">>>> */\n" ">>>> case BOOK3S_INTERRUPT_H_EMUL_ASSIST:\n" - ">>>> + if (kvmppc_get_last_inst(vcpu) = KVMPPC_INST_BOOK3S_DEBUG ) {\n" + ">>>> + if (kvmppc_get_last_inst(vcpu) == KVMPPC_INST_BOOK3S_DEBUG ) {\n" ">>>> + run->exit_reason = KVM_EXIT_DEBUG;\n" ">>>> + run->debug.arch.address = kvmppc_get_pc(vcpu);\n" ">>>> + r = RESUME_HOST;\n" @@ -144,4 +144,4 @@ "> Alex\n" > -399cc72a98f0f6ce04a68204d8ebdedcdd678a38c6e6ff8baf4a3332f18c2946 +8c3872b99f957caed09b9546fac58407fc670831403592478448b2d7e4348bdb
diff --git a/a/1.txt b/N2/1.txt index 1677185..9c6dae4 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -111,7 +111,7 @@ Ok Sure. >>>> * we don't emulate any guest instructions at this stage. >>>> */ >>>> case BOOK3S_INTERRUPT_H_EMUL_ASSIST: ->>>> + if (kvmppc_get_last_inst(vcpu) = KVMPPC_INST_BOOK3S_DEBUG ) { +>>>> + if (kvmppc_get_last_inst(vcpu) == KVMPPC_INST_BOOK3S_DEBUG ) { >>>> + run->exit_reason = KVM_EXIT_DEBUG; >>>> + run->debug.arch.address = kvmppc_get_pc(vcpu); >>>> + r = RESUME_HOST; @@ -127,4 +127,9 @@ This makes sense. Can use the same call for pr kvm also. awesome :) > > Alex -> +> + +_______________________________________________ +Linuxppc-dev mailing list +Linuxppc-dev@lists.ozlabs.org +https://lists.ozlabs.org/listinfo/linuxppc-dev diff --git a/a/content_digest b/N2/content_digest index ca0fefa..f73c8a9 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -4,7 +4,7 @@ "ref\053B64E4D.1010802@suse.de\0" "From\0Madhavan Srinivasan <maddy@linux.vnet.ibm.com>\0" "Subject\0Re: [PATCH v2] powerpc/kvm: support to handle sw breakpoint\0" - "Date\0Fri, 04 Jul 2014 07:44:28 +0000\0" + "Date\0Fri, 04 Jul 2014 13:02:28 +0530\0" "To\0Alexander Graf <agraf@suse.de>" benh@kernel.crashing.org " paulus@samba.org\0" @@ -126,7 +126,7 @@ ">>>> * we don't emulate any guest instructions at this stage.\n" ">>>> */\n" ">>>> case BOOK3S_INTERRUPT_H_EMUL_ASSIST:\n" - ">>>> + if (kvmppc_get_last_inst(vcpu) = KVMPPC_INST_BOOK3S_DEBUG ) {\n" + ">>>> + if (kvmppc_get_last_inst(vcpu) == KVMPPC_INST_BOOK3S_DEBUG ) {\n" ">>>> + run->exit_reason = KVM_EXIT_DEBUG;\n" ">>>> + run->debug.arch.address = kvmppc_get_pc(vcpu);\n" ">>>> + r = RESUME_HOST;\n" @@ -142,6 +142,11 @@ "\n" "> \n" "> Alex\n" - > + "> \n" + "\n" + "_______________________________________________\n" + "Linuxppc-dev mailing list\n" + "Linuxppc-dev@lists.ozlabs.org\n" + https://lists.ozlabs.org/listinfo/linuxppc-dev -399cc72a98f0f6ce04a68204d8ebdedcdd678a38c6e6ff8baf4a3332f18c2946 +7ab30d67345c024135d6824260bd0d5dd17e96b9f08e09f217a06439356c3fa0
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.