[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 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;
> 

Tested-by: Wei Liu <wei.liu2@xxxxxxxxxx>

Tested with Debian 7.4, SeaBIOS / OVMF.
> 
> 

> x86/EPT: fix super page splitting when resolving EPT_MISCONFIG VM exits
> 
> 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;


_______________________________________________
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®.