hv: timer: request timer irq once only

Since global vector table is being used on all pcpus, it's not necessary to request timer irq
at each cpu init. With this change, per_cpu timer nodes are removed, and only BSP registers
and unregisters timer irq.

Signed-off-by: Yan, Like <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Yan, Like
2018-07-31 14:09:41 +08:00
committed by lijinxia
parent b4a2ff5022
commit c663267b03
2 changed files with 18 additions and 21 deletions

View File

@@ -26,7 +26,6 @@ struct per_cpu_region {
uint64_t softirq_pending;
uint64_t spurious;
uint64_t vmxon_region_pa;
struct dev_handler_node *timer_node;
struct shared_buf *earlylog_sbuf;
void *vcpu;
void *ever_run_vcpu;