Re: [PATCH] x86/kvm: fix condition to update kvm master clocks

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

 



While we're at this:

According to the comments in the code, the purpose of the masterclock
scheme is to prevent any vCPU from seeing an outdated hv_clock of
another vCPU.

However I'm missing how that is achieved.  AFAICS the guest entry is
allowed as soon as all vCPUs are kicked from guest with
KVM_REQ_CLOCK_UPDATE set; what stops one vCPU from processing it and
entering the guest before another vCPU even started updating its
hv_clock?

Thanks,
Roman.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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