[libvirt] [PATCH v2 3/7] util: Add virHostCPUGetTscInfo

Ján Tomko jtomko at redhat.com
Mon Jun 3 12:45:38 UTC 2019


On Mon, Jun 03, 2019 at 02:27:54PM +0200, Jiri Denemark wrote:
>On a KVM x86_64 host which supports invariant TSC this function can be
>used to detect the TSC frequency and the availability of TSC scaling.
>
>The magic MSR numbers required to check if VMX scaling is supported on
>the host are documented in Volume 3 of the Intel® 64 and IA-32
>Architectures Software Developer’s Manual.
>
>Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
>---
> src/util/virhostcpu.c | 71 +++++++++++++++++++++++++++++++++++++++++++
> src/util/virhostcpu.h | 11 +++++++
> 2 files changed, 82 insertions(+)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190603/c0291a30/attachment-0001.sig>


More information about the libvir-list mailing list