Hi all,
Nested virtualization is the ability to run a virtual machine inside another virtual machine. In other words, it’s about running a hypervisor (the guest hypervisor) on top of another hypervisor (the host hypervisor).
Reference: https://developer.arm.com/architectures/learn-the-architecture/armv8-a-virtualization/nested-virtualization
How to emulate synchronous exception for Guest Hypervisor (EL1) in Host Hypervisor (EL2)?
Example: Stage 2 address translation fault in Guest OS (EL1) will be routed to Host Hypervisor (EL2), not Guest Hypervisor. How the Guest Hypervisor knows and handles this fault.
Thanks,
Thanks for your answer!
My confusion is the exception virtualization e.g. we are in GuestOS (EL1) then we execute "HVC #1" that means an exception will be routed to Hypervisor (EL2). At that time, how the Guest Hypervisor (EL1) knows and handles that exception? or How Host Hypervisor emulate the exception for Guest Hypervisor?