From: "Jan Beulich" Subject: Re: [PATCH v5 09/15] x86/altp2m: alternate p2m memory events. Date: Tue, 14 Jul 2015 15:08:23 +0100 Message-ID: <55A533F70200007800090C3C@mail.emea.novell.com> References: <1436832903-12639-1-git-send-email-edmund.h.white@intel.com> <1436832903-12639-10-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: <1436832903-12639-10-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 , George Dunlap , Andrew Cooper , Ian Jackson , xen-devel@lists.xen.org, tlengyel@novetta.com, Daniel De Graaf List-Id: xen-devel@lists.xenproject.org >>> On 14.07.15 at 02:14, wrote: > --- a/xen/include/public/vm_event.h > +++ b/xen/include/public/vm_event.h > @@ -47,6 +47,16 @@ > #define VM_EVENT_FLAG_VCPU_PAUSED (1 << 0) > /* Flags to aid debugging mem_event */ > #define VM_EVENT_FLAG_FOREIGN (1 << 1) > +/* > + * This flag can be set in a request or a response > + * > + * On a request, indicates that the event occurred in the alternate p2m specified by > + * the altp2m_idx request field. > + * > + * On a response, indicates that the VCPU should resume in the alternate p2m specified > + * by the altp2m_idx response field if possible. > + */ > +#define VM_EVENT_FLAG_ALTERNATE_P2M (1 << 5) So I suppose you use 5 here because of what went into staging recently. But the patch context doesn't reflect this, i.e. the patch is inconsistent at this point (and won't apply). Jan