Re: [PATCH 00/16] KVM: arm64: MMIO guard PV services

2021-07-22 Thread Marc Zyngier
On Thu, 22 Jul 2021 14:25:15 +0100, Andrew Jones wrote: > > On Thu, Jul 22, 2021 at 11:00:26AM +0100, Marc Zyngier wrote: > > On Wed, 21 Jul 2021 22:42:43 +0100, > > Andrew Jones wrote: > > > > > > On Thu, Jul 15, 2021 at 05:31:43PM +0100, Marc Zyngier wrote: > > > > KVM/arm64 currently

Re: [PATCH 00/16] KVM: arm64: MMIO guard PV services

2021-07-22 Thread Andrew Jones
On Thu, Jul 22, 2021 at 11:00:26AM +0100, Marc Zyngier wrote: > On Wed, 21 Jul 2021 22:42:43 +0100, > Andrew Jones wrote: > > > > On Thu, Jul 15, 2021 at 05:31:43PM +0100, Marc Zyngier wrote: > > > KVM/arm64 currently considers that any memory access outside of a > > > memslot is a MMIO access.

Re: [PATCH 00/16] KVM: arm64: MMIO guard PV services

2021-07-22 Thread Marc Zyngier
On Wed, 21 Jul 2021 22:42:43 +0100, Andrew Jones wrote: > > On Thu, Jul 15, 2021 at 05:31:43PM +0100, Marc Zyngier wrote: > > KVM/arm64 currently considers that any memory access outside of a > > memslot is a MMIO access. This so far has served us very well, but > > obviously relies on the guest

Re: [PATCH 00/16] KVM: arm64: MMIO guard PV services

2021-07-21 Thread Andrew Jones
On Thu, Jul 15, 2021 at 05:31:43PM +0100, Marc Zyngier wrote: > KVM/arm64 currently considers that any memory access outside of a > memslot is a MMIO access. This so far has served us very well, but > obviously relies on the guest trusting the host, and especially > userspace to do the right

[PATCH 00/16] KVM: arm64: MMIO guard PV services

2021-07-15 Thread Marc Zyngier
KVM/arm64 currently considers that any memory access outside of a memslot is a MMIO access. This so far has served us very well, but obviously relies on the guest trusting the host, and especially userspace to do the right thing. As we keep on hacking away at pKVM, it becomes obvious that this