Skip to contentSkip to conversation

Xen not running the pmtimer's timer on VCPUs different from VCPU#0

DISCUSSION Paolo Bonzini 2 participants 2 messages Mar 3, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

in order to support kdump/kexec on multiprocessor HVM guests, the patch at
http://xenbits.xensource.com/xen-unstable.hg/rev/19907 was committed. The patch migrates all timers (via the pt infrastructure) to a VCPU whose LAPIC is configured to receive the legacy 8259 interrupts.

In doing this, however, the pmtimer is left out. Its timer won't ever move away from VCPU#0. Is there a reason for this, or is it just an oversight?

Thanks in advance,

Paolo

#1 lore raw
Quoted 10 lines · Paolo Bonzini

Hi,

in order to support kdump/kexec on multiprocessor HVM guests, the patch at
http://xenbits.xensource.com/xen-unstable.hg/rev/19907 was committed. The patch migrates all timers (via the pt infrastructure) to a VCPU whose LAPIC is configured to receive the legacy 8259 interrupts.

In doing this, however, the pmtimer is left out. Its timer won't ever move away from VCPU#0. Is there a reason for this, or is it just an oversight?

The pmtimer emulation isn't hooked into the vpt infrastructure, hence I don't think its essential for it to be using pt_global_vcpu_target(). That said it might still be a good for consistency. Something to consider after 4.1.0 is released, however.

-- Keir

Quoted 8 lines

Thanks in advance,

Paolo

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel