← Back to team overview

kernel-packages team mailing list archive

[Bug 1567167] Re: Ubuntu 15.10: tsc_offset is error for hot-plugged vcpu.

 

I have tested 4.6-rc4, the bug exists.

** Tags removed: kernel-da-key wily
** Tags added: kernel-bug-exists-upstream

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1567167

Title:
  Ubuntu 15.10: tsc_offset is error for hot-plugged vcpu.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  1. when hot plug vcpu, KVM will call kvm_write_tsc set the new vcpu's
  tsc_offset to host tsc.  The new vcpu's tsc_offsets is greatly
  different from preallocated vcpu's tsc_offset.

  2. For redhat 6.x, the vm will show warning and turn off TSC clock.
  kernel: CPU 1 got hotplugged
  kernel: kvm-clock: cpu 1, msr 0:282367c1, secondary cpu clock
  kernel: TSC synchronization [CPU#0 -> CPU#1]:
  kernel: Measured 150076598781 cycles TSC warp between CPUs, turning off TSC clock.
  kernel: Marking TSC unstable due to check_tsc_sync_source failed

  3. I think should set the new vcpu's tsc_offset to
  kvm->arch.cur_tsc_offset.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1567167/+subscriptions