Files
acrn-hypervisor/hypervisor/arch/x86
Yin Fengwei 68269a559f gpa2hva: add INVAVLID_HPA return value check
For return value of local_gpa2hpa, either INVALID_HPA or NULL
means the EPT walking failure. Current code only take care of
NULL return and leave INVALID_HPA as correct case.

In some cases (if guest page table is filled with invalid memory
address), it could crash ACRN from guest.

Add INVALID_HPA return check as well.
Also add @pre assumptions for some gpa2hpa usages.

Tracked-On: #4730
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
2020-05-06 11:29:30 +08:00
..
2020-04-17 09:53:59 +08:00
2019-02-22 13:14:36 +08:00
2019-12-13 10:13:09 +08:00
2020-04-20 14:59:23 +08:00
2020-03-09 10:03:01 +08:00
2020-03-04 17:33:50 +08:00
2020-04-16 08:40:17 +08:00
2019-09-11 17:30:24 +08:00