Re: [Xen-devel] [PATCH RFC 05/12] x86/np2m: add np2m_generation

2017-08-28 Thread George Dunlap
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

[Xen-devel] [PATCH RFC 05/12] x86/np2m: add np2m_generation

2017-07-18 Thread Sergey Dyasli
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