Re: [Xen-devel] [v2] nested EPT: fix the handling of nested EPT

2015-06-26 Thread Li, Liang Z
> Please don't forget to Cc the maintainer (recently changed, now added). > > > @@ -1076,6 +1077,9 @@ void ept_sync_domain(struct p2m_domain *p2m) > > > > ASSERT(local_irq_is_enabled()); > > > > +if ( nestedhvm_enabled(d) && !p2m_is_nestedp2m(p2m) ) { > > +p2m_flush_nestedp2m(d);

Re: [Xen-devel] [v2] nested EPT: fix the handling of nested EPT

2015-06-26 Thread Jan Beulich
>>> On 26.06.15 at 23:57, wrote: > If the host EPT entry is changed, the nested EPT should be updated. > the current code does not do this, and it's wrong. > I have tested this patch, the L2 guest can boot and run as normal. > > Signed-off-by: Liang Li > Signed-off-by: Yang Zhang > Reported-by:

Re: [Xen-devel] [v2] nested EPT: fix the handling of nested EPT

2015-06-26 Thread Li, Liang Z
Sorry for the wrong email of Yang's, please ignore. I will resend. Liang > -Original Message- > From: Li, Liang Z > Sent: Saturday, June 27, 2015 5:57 AM > To: xen-devel@lists.xen.org > Cc: t...@xen.org; k...@xen.org; jbeul...@suse.com; > andrew.coop...@citrix.com; Tian, Kevin; Li, Lian

[Xen-devel] [v2] nested EPT: fix the handling of nested EPT

2015-06-26 Thread Liang Li
If the host EPT entry is changed, the nested EPT should be updated. the current code does not do this, and it's wrong. I have tested this patch, the L2 guest can boot and run as normal. Signed-off-by: Liang Li Signed-off-by: Yang Zhang Reported-by: Tim Deegan --- xen/arch/x86/mm/p2m-ept.c | 4