Files
acrn-hypervisor/hypervisor/arch/x86/guest
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-01-14 10:21:23 +08:00
2020-04-16 21:59:03 +08:00
2019-12-02 09:31:12 +08:00
2020-03-25 13:26:58 +08:00
2020-04-16 21:59:03 +08:00
2020-03-25 13:26:58 +08:00
2019-07-19 16:47:06 +08:00
2020-04-15 14:34:15 +08:00
2020-01-07 11:23:32 +08:00
2020-04-17 09:53:59 +08:00
2019-05-07 09:10:13 +08:00
2020-02-25 09:08:14 +08:00