Skip to content
Snippets Groups Projects
  • Avi Kivity's avatar
    d0c2b805
    kvmclock: make per-cpu · d0c2b805
    Avi Kivity authored
    The kvmclock ABI requires it to calculate system time using values for the cpu
    it is running on.
    
    Do this by:
      - changing the system time structure to be per-cpu
      - adding a cpu notifier so that per-cpu MSRs are initialized for each cpu
      - hacking around initialization order issues
    d0c2b805
    History
    kvmclock: make per-cpu
    Avi Kivity authored
    The kvmclock ABI requires it to calculate system time using values for the cpu
    it is running on.
    
    Do this by:
      - changing the system time structure to be per-cpu
      - adding a cpu notifier so that per-cpu MSRs are initialized for each cpu
      - hacking around initialization order issues