| To: | Avi Kivity <avi@redhat.com> |
|---|---|
| Subject: | Re: [PATCH 07/20] KVM/MIPS32: Dynamic binary translation of select privileged instructions. |
| From: | Sanjay Lal <sanjayl@kymasys.com> |
| Date: | Fri, 2 Nov 2012 13:00:11 -0400 |
| Cc: | kvm@vger.kernel.org, linux-mips@linux-mips.org |
| In-reply-to: | <5092942C.4080402@redhat.com> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <3E678B37-B4C1-409F-A1CB-A7CC83B2D874@kymasys.com> <5092942C.4080402@redhat.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Nov 1, 2012, at 11:24 AM, Avi Kivity wrote: > On 10/31/2012 05:19 PM, Sanjay Lal wrote: >> Currently, the following instructions are translated: >> - CACHE (indexed) >> - CACHE (va based): translated to a synci, overkill on D-CACHE operations, >> but still much faster than a trap. >> - mfc0/mtc0: the virtual COP0 registers for the guest are implemented as 2-D >> array >> [COP#][SEL] and this is mapped into the guest kernel address space @ VA 0x0. >> mfc0/mtc0 operations are transformed to load/stores. >> > > Seems to be more of binary patching, yes? Binary translation usually > involves hiding the translated code so the guest is not able to detect > that it is patched. Now that you mention it, I think binary patching would be more applicable. If the "self-aware" guest ever compared the code it would realize that it has changed. Regards Sanjay |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 07/20] KVM/MIPS32: Dynamic binary translation of select privileged instructions., Sanjay Lal |
|---|---|
| Next by Date: | Re: [PATCH 02/20] KVM/MIPS32: Arch specific KVM data structures., Sanjay Lal |
| Previous by Thread: | Re: [PATCH 07/20] KVM/MIPS32: Dynamic binary translation of select privileged instructions., Sanjay Lal |
| Next by Thread: | Re: [PATCH 02/20] KVM/MIPS32: Arch specific KVM data structures., Avi Kivity |
| Indexes: | [Date] [Thread] [Top] [All Lists] |