Re: [PATCH v2] KVM: x86: update masterclock values on TSC writes

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

 



On 05/11/2014 00:30, Marcelo Tosatti wrote:
> +	/*
> +	 * If the vcpus have matched TSCs and host clocksource is TSC,
> +	 * perform request to enable masterclock.
> +	 *
> +	 * If the masterclock is enabled, perform request to update
> +	 * masterclock values.
> +	 */
> +	if ((vcpus_matched && gtod->clock.vclock_mode == VCLOCK_TSC) ||
> +	     ka->use_master_clock)

This is not an explanation, it is a literal translation from C to
English. :)  Can you also explain the why, especially for the first half
of the condition?

Paolo
--
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