Re: [PATCH v3 14/15] KVM: arm64: Handle protected guests at 32 bits

2021-08-12 Thread Fuad Tabba
Hi Will, On Thu, Aug 12, 2021 at 11:57 AM Will Deacon wrote: > > On Mon, Jul 19, 2021 at 05:03:45PM +0100, Fuad Tabba wrote: > > Protected KVM does not support protected AArch32 guests. However, > > it is possible for the guest to force run AArch32, potentially > > causing problems. Add an

Re: [PATCH v3 14/15] KVM: arm64: Handle protected guests at 32 bits

2021-08-12 Thread Will Deacon
On Mon, Jul 19, 2021 at 05:03:45PM +0100, Fuad Tabba wrote: > Protected KVM does not support protected AArch32 guests. However, > it is possible for the guest to force run AArch32, potentially > causing problems. Add an extra check so that if the hypervisor > catches the guest doing that, it can

Re: [PATCH v3 14/15] KVM: arm64: Handle protected guests at 32 bits

2021-07-21 Thread Fuad Tabba
Hi Oliver, On Mon, Jul 19, 2021 at 8:43 PM Oliver Upton wrote: > > On Mon, Jul 19, 2021 at 9:04 AM Fuad Tabba wrote: > > > > Protected KVM does not support protected AArch32 guests. However, > > it is possible for the guest to force run AArch32, potentially > > causing problems. Add an extra

Re: [PATCH v3 14/15] KVM: arm64: Handle protected guests at 32 bits

2021-07-19 Thread Oliver Upton
On Mon, Jul 19, 2021 at 9:04 AM Fuad Tabba wrote: > > Protected KVM does not support protected AArch32 guests. However, > it is possible for the guest to force run AArch32, potentially > causing problems. Add an extra check so that if the hypervisor > catches the guest doing that, it can prevent

[PATCH v3 14/15] KVM: arm64: Handle protected guests at 32 bits

2021-07-19 Thread Fuad Tabba
Protected KVM does not support protected AArch32 guests. However, it is possible for the guest to force run AArch32, potentially causing problems. Add an extra check so that if the hypervisor catches the guest doing that, it can prevent the guest from running again by resetting vcpu->arch.target