From: "Jan Beulich" Subject: Re: [PATCH v2 04/12] x86/altp2m: basic data structures and support routines. Date: Wed, 24 Jun 2015 15:44:51 +0100 Message-ID: <558ADE83020000780008900A@mail.emea.novell.com> References: <1434999372-3688-1-git-send-email-edmund.h.white@intel.com> <1434999372-3688-5-git-send-email-edmund.h.white@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1434999372-3688-5-git-send-email-edmund.h.white@intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ed White Cc: Tim Deegan , Ravi Sahita , Wei Liu , Andrew Cooper , Ian Jackson , xen-devel@lists.xen.org, tlengyel@novetta.com, Daniel De Graaf List-Id: xen-devel@lists.xenproject.org >>> On 22.06.15 at 20:56, wrote: > --- a/xen/include/asm-x86/hvm/hvm.h > +++ b/xen/include/asm-x86/hvm/hvm.h > @@ -210,6 +210,14 @@ struct hvm_function_table { > uint32_t *ecx, uint32_t *edx); > > void (*enable_msr_exit_interception)(struct domain *d); > + > + /* Alternate p2m */ > + int (*ahvm_vcpu_initialise)(struct vcpu *v); > + void (*ahvm_vcpu_destroy)(struct vcpu *v); > + int (*ahvm_vcpu_reset)(struct vcpu *v); > + void (*ahvm_vcpu_update_eptp)(struct vcpu *v); > + void (*ahvm_vcpu_update_vmfunc_ve)(struct vcpu *v); > + bool_t (*ahvm_vcpu_emulate_ve)(struct vcpu *v); > }; These ahvm_ prefixes are pretty strange - this isn't about alternate HVM after all. Jan