[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1454341137-14110-10-git-send-email-boris.ostrovsky@oracle.com>
Date: Mon, 1 Feb 2016 10:38:55 -0500
From: Boris Ostrovsky <boris.ostrovsky@...cle.com>
To: david.vrabel@...rix.com, konrad.wilk@...cle.com
Cc: xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org,
roger.pau@...rix.com, mcgrof@...e.com,
Boris Ostrovsky <boris.ostrovsky@...cle.com>
Subject: [PATCH v2 09/11] xen/hvmlite: Use x86's default timer init for HVMlite guests
xen_timer_init() will be called from apic_bsp_setup().
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@...cle.com>
---
arch/x86/xen/time.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c
index f1ba6a0..d77b398 100644
--- 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;
--
1.7.1
Powered by blists - more mailing lists