On 07/18/2017 11:34 AM, Sergey Dyasli wrote:
> Add np2m_generation variable to both p2m_domain and nestedvcpu.
s/variable/element;
BTW still trying to get a feel for the whole series. Patches w/o
comments (or with minor comments like this) look plausible but I won't
know what I think of the whol
Add np2m_generation variable to both p2m_domain and nestedvcpu.
np2m's generation will be incremented each time the np2m is flushed.
This will allow to detect if a nested vcpu has the stale np2m.
Signed-off-by: Sergey Dyasli
---
xen/arch/x86/hvm/nestedhvm.c | 1 +
xen/arch/x86/mm/p2m.c