Re: [PATCH v5 34/69] KVM: arm64: nv: Configure HCR_EL2 for nested virtualization

2022-01-04 Thread Marc Zyngier
On Tue, 04 Jan 2022 08:53:42 +, Ganapatrao Kulkarni wrote: > > > > On 30-11-2021 01:31 am, Marc Zyngier wrote: > > From: Jintack Lim > > > > We enable nested virtualization by setting the HCR NV and NV1 bit. > > > > When the virtual E2H bit is set, we can support EL2 register accesses >

[PATCH v5 34/69] KVM: arm64: nv: Configure HCR_EL2 for nested virtualization

2021-11-29 Thread Marc Zyngier
From: Jintack Lim We enable nested virtualization by setting the HCR NV and NV1 bit. When the virtual E2H bit is set, we can support EL2 register accesses via EL1 registers from the virtual EL2 by doing trap-and-emulate. A better alternative, however, is to allow the virtual EL2 to access EL2