From: "Jan Beulich" Subject: Re: [PATCH v3 2/2] x86/hvm: Always do SMAP check when updating secondary system time for guest Date: Tue, 29 Jul 2014 08:21:21 +0100 Message-ID: <53D7679102000078000271C3@mail.emea.novell.com> References: <978994327-6622-1-git-send-email-feng.wu@intel.com> <978994327-6622-3-git-send-email-feng.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <978994327-6622-3-git-send-email-feng.wu@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: Feng Wu Cc: linux@eikelenboom.it, tim@xen.org, keir@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 08.01.01 at 23:52, wrote: > -bool_t update_secondary_system_time(const struct vcpu *v, > +bool_t update_secondary_system_time(struct vcpu *v, > struct vcpu_time_info *u) > { > XEN_GUEST_HANDLE(vcpu_time_info_t) user_u = v->arch.time_info_guest; > + smap_check_policy_t saved_policy; Actually, here as much as in patch 1 - "saved_policy" isn't the best name as it doesn't make clear this is the smap policy. "smap_policy" would seem better to me, just in case something else (but similar) turns up in the future. Jan