libvirt/src/util
Jiri Denemark f0f6faba63 util: Add virHostCPUGetTscInfo
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@redhat.com>
2019-06-03 18:07:16 +02:00
..
iohelper.c iohelper: Remove remaining newlines from error messages 2019-02-20 08:51:39 +01:00
Makefile.inc.am util: Fix NAME section for virkey{code,name}-* 2019-04-15 16:20:46 +02:00
viralloc.c util: alloc: Add automatic cleanup/disposal of strings 2019-04-03 11:58:10 +02:00
viralloc.h util: Move the VIR_AUTO(CLEAN|PTR) helper macros into a separate header 2019-04-10 09:12:03 +02:00
virarch.c
virarch.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virarptable.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virarptable.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
viratomic.c
viratomic.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
viraudit.c
viraudit.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virauth.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virauth.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virauthconfig.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virauthconfig.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virautoclean.h util: Move the VIR_AUTO(CLEAN|PTR) helper macros into a separate header 2019-04-10 09:12:03 +02:00
virbitmap.c Handle copying bitmaps to larger data buffers 2019-04-25 10:18:48 +02:00
virbitmap.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virbuffer.c virBuffer: Try harder to free buffer 2019-05-06 09:33:10 +02:00
virbuffer.h virbuffer: Use signed integer for storing error 2019-05-04 23:39:35 +02:00
vircgroup.c vircgroup: no need to ifdef virCgroupFree 2019-04-25 11:43:07 +02:00
vircgroup.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
vircgroupbackend.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
vircgroupbackend.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
vircgrouppriv.h vircgrouppriv.h: Use #pragma once 2019-04-04 18:42:10 -04:00
vircgroupv1.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
vircgroupv1.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
vircgroupv2.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
vircgroupv2.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virclosecallbacks.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
virclosecallbacks.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
vircommand.c virCommand: Make virCommandPassFDGetFDIndex fail if passed command is in error state 2019-05-14 15:58:30 +02:00
vircommand.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
vircommandpriv.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virconf.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virconf.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
vircrypto.c Fix minor typos in messages and docs 2018-12-05 10:39:54 +01:00
vircrypto.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virdbus.c util: eliminate duplicate function virDBusMessageRead 2019-04-15 12:47:44 -04:00
virdbus.h util: eliminate duplicate function virDBusMessageRead 2019-04-15 12:47:44 -04:00
virdbuspriv.h util: eliminate duplicate function virDBusMessageRead 2019-04-15 12:47:44 -04:00
virdevmapper.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
virdevmapper.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virdnsmasq.c lib: Don't use virReportSystemError() if virCommandRun() fails 2019-04-12 15:56:28 +02:00
virdnsmasq.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virebtables.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virebtables.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virendian.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virenum.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virenum.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virerror.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virerror.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virerrorpriv.h util: error: Export virErrorMsg for use in testsuite 2018-12-14 13:54:50 +01:00
virevent.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virevent.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
vireventpoll.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
vireventpoll.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virfcp.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virfcp.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virfdstream.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
virfdstream.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virfile.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virfile.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virfilecache.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
virfilecache.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virfirewall.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virfirewall.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virfirewalld.c util: eliminate duplicate function virDBusMessageRead 2019-04-15 12:47:44 -04:00
virfirewalld.h util: new virFirewallD APIs + docs 2019-02-01 12:08:37 -05:00
virfirewalldpriv.h util: move all firewalld-specific stuff into its own files 2019-02-01 12:08:37 -05:00
virfirewallpriv.h util: move all firewalld-specific stuff into its own files 2019-02-01 12:08:37 -05:00
virfirmware.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virfirmware.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virgettext.c
virgettext.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virgic.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virgic.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virhash.c util: hash: Append to hash buckets when adding new entries 2019-04-25 13:28:16 +02:00
virhash.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virhashcode.c
virhashcode.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virhook.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virhook.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virhostcpu.c util: Add virHostCPUGetTscInfo 2019-06-03 18:07:16 +02:00
virhostcpu.h util: Add virHostCPUGetTscInfo 2019-06-03 18:07:16 +02:00
virhostcpupriv.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virhostdev.c misc: Drop useless checks from *Dispose() functions 2019-05-23 13:59:06 +02:00
virhostdev.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virhostmem.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virhostmem.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
viridentity.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
viridentity.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virinitctl.c virinitctl: Provide a stub list of init fifos for non-Linux 2019-02-07 16:17:56 +01:00
virinitctl.h virinitctl: Expose fifo paths and allow caller to chose one 2019-02-07 11:24:09 +01:00
viriptables.c network: split setup of ipv4 and ipv6 top level chains 2019-03-19 10:01:53 +00:00
viriptables.h network: split setup of ipv4 and ipv6 top level chains 2019-03-19 10:01:53 +00:00
viriscsi.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
viriscsi.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virjson.c util: json: Use VIR_APPEND_ELEMENT in virJSONValueObjectAppend 2019-04-10 16:34:57 +02:00
virjson.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virkeycode.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virkeycode.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virkeyfile.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virkeyfile.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virkmod.c
virkmod.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virlease.c Remove EMPTY_STR macro 2019-02-14 14:09:38 +01:00
virlease.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virlockspace.c Revert "virlockspace: Allow caller to specify start and length offset in virLockSpaceAcquireResource" 2018-11-16 13:42:39 +01:00
virlockspace.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virlog.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virlog.h Require a semicolon for VIR_LOG_INIT calls 2019-02-03 17:46:29 -05:00
virmacaddr.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virmacaddr.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virmacmap.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virmacmap.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virmdev.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virmdev.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virmodule.c Fix minor typos in messages and docs 2018-12-05 10:39:54 +01:00
virmodule.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnetdev.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnetdev.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virnetdevbandwidth.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virnetdevbandwidth.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnetdevbridge.c util: Fix uninitalized variable to avoid garbage value. 2019-04-30 09:44:21 +02:00
virnetdevbridge.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnetdevip.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnetdevip.h util: Move the VIR_AUTO(CLEAN|PTR) helper macros into a separate header 2019-04-10 09:12:03 +02:00
virnetdevmacvlan.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virnetdevmacvlan.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virnetdevmidonet.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virnetdevmidonet.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnetdevopenvswitch.c util: suppress unimportant ovs-vsctl errors when getting interface stats 2019-03-28 11:19:03 -04:00
virnetdevopenvswitch.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnetdevtap.c util: add helper method for re-attaching a tap device to a bridge 2019-04-16 14:44:53 +01:00
virnetdevtap.h util: add helper method for re-attaching a tap device to a bridge 2019-04-16 14:44:53 +01:00
virnetdevveth.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virnetdevveth.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnetdevvlan.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virnetdevvlan.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virnetdevvportprofile.c util: add API for copying virtual port profile data 2019-04-17 14:12:56 +01:00
virnetdevvportprofile.h util: add API for copying virtual port profile data 2019-04-17 14:12:56 +01:00
virnetlink.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virnetlink.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virnodesuspend.c
virnodesuspend.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnuma.c Use NULLSTR_EMPTY 2019-02-14 14:09:38 +01:00
virnuma.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virobject.c object: Add sanity check on correct parent class 2019-03-15 11:10:12 -05:00
virobject.h util: Move VIR_AUTOUNREF definition to virobject.h 2019-04-05 18:07:51 +02:00
virpci.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virpci.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virperf.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virperf.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virpidfile.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virpidfile.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virpolkit.c lib: Avoid double close when passing FDs with virCommandPassFD() 2019-05-17 16:01:11 +02:00
virpolkit.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virportallocator.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
virportallocator.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virprobe.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virprocess.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virprocess.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virqemu.c util: Fix misaligned arguments and misaligned conditions for [if|while|...] 2018-09-24 10:02:40 +02:00
virqemu.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virrandom.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virrandom.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virresctrl.c virresctrl: Sort resctrl array correctly in virResctrlMonitorGetStats() 2019-05-13 14:38:58 +02:00
virresctrl.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virresctrlpriv.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virrotatingfile.c lib: Use more of VIR_STEAL_PTR() 2019-01-28 14:46:58 +01:00
virrotatingfile.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virscsi.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virscsi.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virscsihost.c
virscsihost.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virscsivhost.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virscsivhost.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virseclabel.c
virseclabel.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virsecret.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virsecret.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virsexpr.c
virsexpr.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virsocketaddr.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virsocketaddr.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virstorageencryption.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
virstorageencryption.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virstoragefile.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virstoragefile.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virstoragefilebackend.c Fix names for abs_top_{src,build}dir variables 2019-03-14 10:05:28 +01:00
virstoragefilebackend.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virstring.c util: Introduce virStringParseYesNo helper 2019-03-13 14:24:18 +01:00
virstring.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virsysinfo.c virSysinfoReadARM: Try reading DMI table 2019-06-03 17:59:38 +02:00
virsysinfo.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
virsysinfopriv.h virsysinfo: Rename virSysinfoReadX86 to virSysinfoReadDMI 2019-06-03 17:51:12 +02:00
virsystemd.c util: eliminate duplicate function virDBusMessageRead 2019-04-15 12:47:44 -04:00
virsystemd.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virsystemdpriv.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virthread.c
virthread.h Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
virthreadjob.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
virthreadjob.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virthreadpool.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virthreadpool.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virtime.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virtime.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virtpm.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virtpm.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virtypedparam.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virtypedparam.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
viruri.c Use NULLSTR_EMPTY 2019-02-14 14:09:38 +01:00
viruri.h util: uri: Introduce VIR_AUTOPTR freeing function 2019-04-10 16:34:57 +02:00
virusb.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virusb.h util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virutil.c m4: Provide default value fore UDEVADM 2019-05-17 15:08:59 +02:00
virutil.h Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
viruuid.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
viruuid.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virvhba.c
virvhba.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virvsock.c
virvsock.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virxdrdefs.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virxml.c util: XML: Introduce automatic reset of XPath's current node 2019-03-04 13:04:20 +01:00
virxml.h util: Move the VIR_AUTO(CLEAN|PTR) helper macros into a separate header 2019-04-10 09:12:03 +02:00