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

Re: [Xen-devel] [PATCH 8/9] x86/time: only HVM has RTC



>>> On 07.08.18 at 12:00, <wei.liu2@xxxxxxxxxx> wrote:
> --- a/xen/arch/x86/time.c
> +++ b/xen/arch/x86/time.c
> @@ -1144,6 +1144,7 @@ void force_update_vcpu_system_time(struct vcpu *v)
>  
>  static void update_domain_rtc(void)
>  {
> +#if CONFIG_HVM
>      struct domain *d;
>  
>      rcu_read_lock(&domlist_read_lock);
> @@ -1153,13 +1154,16 @@ static void update_domain_rtc(void)
>              rtc_update_clock(d);
>  
>      rcu_read_unlock(&domlist_read_lock);
> +#endif
>  }

I think the function should gain a hvm_ prefix and move to
hvm/rtc.c.

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.