Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1324248
| From | David Vrabel <david.vrabel@citrix.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [Xen-devel] [PATCH v2 09/11] xen/hvmlite: Use x86's default timer init for HVMlite guests |
| Date | 2016-02-02 17:30 +0100 |
| Message-ID | <qXM02-5FW-11@gated-at.bofh.it> (permalink) |
| References | <qXoTM-4WL-7@gated-at.bofh.it> <qXoTO-4WL-43@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 01/02/16 15:38, Boris Ostrovsky wrote:
> xen_timer_init() will be called from apic_bsp_setup().
I must be missing something because xen_init_time_ops() is only called
from the PV-only xen_start_kernel()?
David
> --- a/arch/x86/xen/time.c
> +++ b/arch/x86/xen/time.c
> @@ -492,7 +492,10 @@ void __init xen_init_time_ops(void)
> {
> pv_time_ops = xen_time_ops;
>
> - x86_init.timers.timer_init = xen_time_init;
> + if (!xen_hvmlite)
> + x86_init.timers.timer_init = xen_time_init;
> + else
> + x86_init.timers.timer_init = x86_init_noop;
> x86_init.timers.setup_percpu_clockev = x86_init_noop;
> x86_cpuinit.setup_percpu_clockev = x86_init_noop;
>
>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 09/11] xen/hvmlite: Use x86's default timer init for HVMlite guests Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2016-02-01 16:50 +0100
Re: [Xen-devel] [PATCH v2 09/11] xen/hvmlite: Use x86's default timer init for HVMlite guests David Vrabel <david.vrabel@citrix.com> - 2016-02-02 17:30 +0100
Re: [Xen-devel] [PATCH v2 09/11] xen/hvmlite: Use x86's default timer init for HVMlite guests Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2016-02-02 18:10 +0100
csiph-web