Re: [Qemu-devel] Native Memory Virtualization in qemu-system-aarch64

2018-07-24 Thread Kevin Loughlin
Thanks! That was super helpful. To confirm, support for IOMMU regions in the CPU's memory access path did NOT exist prior to recent releases, correct? My QEMU version is 2.11, and I believe you're up to 3.0 now. If that's the case, I may stick with the "changing priorities" approach, since I know

Re: [Qemu-devel] Native Memory Virtualization in qemu-system-aarch64

2018-07-18 Thread Peter Maydell
On 18 July 2018 at 02:34, Kevin Loughlin wrote: > Under my setup, the CPU's MMU translates from VAs to IPAs, and an external > memory controller then intercepts all memory transactions and translates > these IPAs to true PAs. This allows the memory controller to enforce > physical isolation of env

Re: [Qemu-devel] Native Memory Virtualization in qemu-system-aarch64

2018-07-17 Thread Kevin Loughlin
I am indeed attempting to implement a non-standard extension to the ARMv8 architecture for experimental purposes. My high-level goal for the extension is to completely isolate *N* execution environments (for example, I even prohibit inter-environment communication) using purely HW-based isolation m

Re: [Qemu-devel] Native Memory Virtualization in qemu-system-aarch64

2018-07-13 Thread Peter Maydell
On 12 July 2018 at 17:48, Kevin Loughlin wrote: > I know TrustZone has support for memory virtualization in AArch64, but I'm > looking to create a different model. Namely, I'd like to fully virtualize > the memory map for the "virt" board. > > As a basic example of what I want, assuming an executi

[Qemu-devel] Native Memory Virtualization in qemu-system-aarch64

2018-07-12 Thread Kevin Loughlin
I know TrustZone has support for memory virtualization in AArch64, but I'm looking to create a different model. Namely, I'd like to fully virtualize the memory map for the "virt" board. As a basic example of what I want, assuming an execution environment that runs in a 1GB physical address space (