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

Re: [Xen-devel] [PATCH v3 2/2] x86/hvm: Always do SMAP check when updating secondary system time for guest



>>> On 08.01.01 at 23:52, <feng.wu@xxxxxxxxx> 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


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