>>> On 07.08.18 at 12:00, <wei.l...@citrix.com> 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@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to