On Mon, Jul 03, 2017 at 09:56:06PM +0000, Raz wrote:
> Hey
> 
> I am trying to trap any real IRQ  into EL2.
> I created a thin hypervisor with mmu enabled and set hcr_el2 as follows:
> hcr_el2= HCR_IMO  | HCR_VM | HCR_RW.
> 
> 
> Now it seems that once I set hcr_el2 to the above value and then exit from
> EL2 I immediately jump back to EL2.

You could read the ESR_EL2 and figure out what caused the exception...

-Christoffer
_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Reply via email to