Re: Using kvmclock cause to stuck VM when set a hot-plugged vCPU online

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2018-05-24 3:47 GMT+03:00 Wanpeng Li <kernellwp@xxxxxxxxx>:
> 2018-05-24 3:33 GMT+08:00 Sergey Al. Slabnov <sergey.slabnov@xxxxxxxxx>:
>> Hi!
>>
>> I found a problem that if you hot-add and enable vCPU, then the time
>> inside the virtual machine breaks down.
>> The problem occurs only if the properties of the virtual machine
>> include support for kvm-clocks. If you turn off the kvm-clock from the
>> host system side, then almost everything is fine.
>>
>>
>> My test host system:
>> QEMU emulator version 2.11.1 (in KVM mode)
>> libvirt 1.3.5
>>
>
> What's the version of your host kernel?
>

Li, thank you for reminding me about the host kernel version.
The simplest solution was the right one.

I check this kernel:
kernel 4.15.0-15-generic - no problem
kernel 4.13.0-43-generic - no problem
kernel 4.10.0-42-generic - broken kvmclock
kernel 4.8.0-58-generic - broken kvmclock
kernel 4.4.0-127-generic - broken kvmclock


-- 
Thank you,
Sergey



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux