Re: [PATCH 2/6] KVM: X86: Let kvm-clock report the right tsc frequency

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

 



On 03/24/2011 09:40 AM, Joerg Roedel wrote:
This patch changes the kvm_guest_time_update function to use
TSC frequency the guest actually has for updating its clock.



+	bool (*use_virtual_tsc_khz)(struct kvm_vcpu *vcpu);

Just put virtual_tsc_khz into vcpu->arch.  If nonzero, consider it enabled.

(we could even set it if we have a constant_tsc; to the real tsc frequency).

--
error compiling committee.c: too many arguments to function

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