[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/EPT: fix super page splitting when resolving EPT_MISCONFIG VM exits



On Wed, Apr 23, 2014 at 10:00:20AM +0100, Jan Beulich wrote:
> >>> On 23.04.14 at 10:51, <wei.liu2@xxxxxxxxxx> wrote:
> > On Wed, Apr 23, 2014 at 07:47:30AM +0100, Jan Beulich wrote:
> >> Reported-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> >> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> >> 
> >> --- a/xen/arch/x86/mm/p2m-ept.c
> >> +++ b/xen/arch/x86/mm/p2m-ept.c
> >> @@ -352,6 +352,7 @@ bool_t ept_handle_misconfig(uint64_t gpa
> >>                  {
> >>                      if ( ept_split_super_page(p2m, &e, level, level - 1) )
> >>                      {
> >> +                        atomic_write_ept_entry(&epte[i], e);
> >>                          unmap_domain_page(epte);
> >>                          mfn = e.mfn;
> >>                          continue;
> >> 
> > 
> > This patch doesn't apply to Xen master branch...
> 
> Right - I could have mentioned that this requires 75e253bb
> ("x86/EPT: correct double unmap_domain_page() on error path")
> as a prereq, but I'm generally assuming that patches are against
> the staging tree...
> 

Ah, OK. Haven't noticed that there's changes in staging tree. Will give
this patch a quick run.

Wei.

> Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.