libvirt/src/util
Daniel P. Berrangé 7be5fe66cd qemu: directly create virResctrlInfo ignoring capabilities
We always refresh the capabilities object when using virResctrlInfo
during process startup. This is undesirable overhead, because we can
just directly create a virResctrlInfo instead.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-12-09 10:17:27 +00:00
..
glibcompat.c util: add stdlib.h include for abort() prototype 2019-10-18 15:43:39 +01:00
glibcompat.h glibcompat: Reimplement g_strdup_printf() and g_strdup_vprintf() 2019-10-18 15:32:04 +02:00
iohelper.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
Makefile.inc.am vircgroup: introduce virCgroupV2DevicesAvailable 2019-11-15 12:58:04 +01:00
viralloc.c util: use glib memory allocation functions 2019-10-14 10:54:42 +01:00
viralloc.h util: alloc: drop xalloc_oversized macro 2019-10-24 19:35:34 +02:00
virarch.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
virarch.h
virarptable.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virarptable.h
viratomic.c
viratomic.h
viraudit.c Use g_strdup_vprintf() instead of virVasprintf() everywhere 2019-11-12 16:15:59 +01:00
viraudit.h Use G_GNUC_PRINTF instead of ATTRIBUTE_FMT_PRINTF 2019-10-15 16:14:18 +02:00
virauth.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virauth.h
virauthconfig.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virauthconfig.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virbitmap.c util: buffer: Remove virBufferCheckError 2019-10-24 19:35:34 +02:00
virbitmap.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virbpf.c virbpf: Fix typecast to __aligned_u64 type 2019-11-18 08:59:13 +01:00
virbpf.h util: introduce virbpf helpers 2019-11-15 12:58:00 +01:00
virbuffer.c util: buffer: Remove virBufferCheckError 2019-10-24 19:35:34 +02:00
virbuffer.h util: buffer: remove virBufferSetChildIndent 2019-11-13 09:10:30 +01:00
vircgroup.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
vircgroup.h
vircgroupbackend.c
vircgroupbackend.h vircgroup: workaround devices in hybrid mode 2019-11-15 12:58:43 +01:00
vircgrouppriv.h vircgroup: introduce virCgroupV2DevicesAttachProg 2019-11-15 12:58:05 +01:00
vircgroupv1.c vircgroup: workaround devices in hybrid mode 2019-11-15 12:58:43 +01:00
vircgroupv1.h
vircgroupv2.c vircgroup: workaround devices in hybrid mode 2019-11-15 12:58:43 +01:00
vircgroupv2.h
vircgroupv2devices.c vircgroupv2devices: Fix format string for size_t variable 2019-11-18 08:53:30 +01:00
vircgroupv2devices.h vircgroupmock: mock virCgroupV2DevicesAvailable 2019-11-15 12:58:43 +01:00
virclosecallbacks.c
virclosecallbacks.h
vircommand.c util: use GRegex in virCommandRunRegex 2019-11-14 17:45:40 +01:00
vircommand.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
vircommandpriv.h
virconf.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virconf.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
vircrypto.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
vircrypto.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virdbus.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virdbus.h Revert "dbus: correctly build reply message" 2019-09-10 09:47:13 +02:00
virdbuspriv.h
virdevmapper.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virdevmapper.h
virdnsmasq.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virdnsmasq.h
virebtables.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virebtables.h
virendian.h
virenum.c
virenum.h Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
virerror.c util: introduce virbpf helpers 2019-11-15 12:58:00 +01:00
virerror.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virerrorpriv.h
virevent.c
virevent.h
vireventpoll.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
vireventpoll.h
virfcp.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virfcp.h
virfdstream.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virfdstream.h
virfile.c util: whitelist Oracle ACFS as a shared filesystem 2019-11-27 14:19:57 +00:00
virfile.h util: whitelist Oracle ACFS as a shared filesystem 2019-11-27 14:19:57 +00:00
virfilecache.c util: buffer: Remove virBufferCheckError 2019-10-24 19:35:34 +02:00
virfilecache.h
virfirewall.c Use g_strdup_vprintf() instead of virVasprintf() everywhere 2019-11-12 16:15:59 +01:00
virfirewall.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virfirewalld.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
virfirewalld.h
virfirewalldpriv.h
virfirewallpriv.h
virfirmware.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virfirmware.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC instead of VIR_DEFINE_AUTOPTR_FUNC 2019-10-16 12:06:43 +02:00
virgettext.c
virgettext.h
virgic.c
virgic.h
virhash.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virhash.h util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virhashcode.c Use G_GNUC_FALLTHROUGH instead of ATTRIBUTE_FALLTHROUGH 2019-10-15 16:14:19 +02:00
virhashcode.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virhook.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
virhook.h
virhostcpu.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
virhostcpu.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virhostcpupriv.h
virhostdev.c conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virhostdev.h virhostdev: Introduce and use virHostdevIsVFIODevice 2019-10-21 13:50:23 +02:00
virhostmem.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virhostmem.h
virhostuptime.c virhostuptime: Wrap virHostGetBootTimeProcfs() call in an ifdef 2019-11-14 16:42:51 +01:00
virhostuptime.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
viridentity.c util: convert virIdentity class to use GObject 2019-10-14 10:54:42 +01:00
viridentity.h util: convert virIdentity class to use GObject 2019-10-14 10:54:42 +01:00
virinitctl.c util: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virinitctl.h
viriptables.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
viriptables.h network: allow DHCP/DNS/TFTP explicitly in OUTPUT rules 2019-10-18 18:49:54 +01:00
viriscsi.c remove unused regex.h includes 2019-11-14 17:45:40 +01:00
viriscsi.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virjson.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virjson.h util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virkeycode.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
virkeycode.h
virkeyfile.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virkeyfile.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virkmod.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virkmod.h
virlease.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virlease.h
virlockspace.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virlockspace.h
virlog.c g_mkstemp_full: pass O_RDWR 2019-11-18 18:49:02 +01:00
virlog.h util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virmacaddr.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
virmacaddr.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virmacmap.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virmacmap.h
virmdev.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virmdev.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virmodule.c util: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virmodule.h
virnetdev.c conf: make virDomainNetGetActualVlan arg/return val const 2019-11-25 15:29:46 -05:00
virnetdev.h conf: make virDomainNetGetActualVlan arg/return val const 2019-11-25 15:29:46 -05:00
virnetdevbandwidth.c conf: make virDomainNetGetActualBandwidth arg/return value const 2019-11-25 15:29:51 -05:00
virnetdevbandwidth.h conf: make virDomainNetGetActualBandwidth arg/return value const 2019-11-25 15:29:51 -05:00
virnetdevbridge.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
virnetdevbridge.h util: set bridge device MAC address explicitly during virNetDevBridgeCreate 2019-11-07 22:09:19 -05:00
virnetdevip.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virnetdevip.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virnetdevmacvlan.c conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevmacvlan.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevmidonet.c conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevmidonet.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevopenvswitch.c conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevopenvswitch.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevtap.c conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevtap.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevveth.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virnetdevveth.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virnetdevvlan.c
virnetdevvlan.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virnetdevvportprofile.c conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevvportprofile.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetlink.c util: allow sending mac addr to virNetNewLink without ifindex 2019-11-07 22:08:55 -05:00
virnetlink.h m4: virt-libnl: drop libnl-1.0 support 2019-10-23 14:30:47 +02:00
virnodesuspend.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
virnodesuspend.h
virnuma.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virnuma.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virobject.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virobject.h util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virpci.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
virpci.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virperf.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
virperf.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virpidfile.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
virpidfile.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virpolkit.c util: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virpolkit.h
virportallocator.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virportallocator.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virprobe.h
virprocess.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virprocess.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virqemu.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virqemu.h
virrandom.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virrandom.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virresctrl.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virresctrl.h qemu: directly create virResctrlInfo ignoring capabilities 2019-12-09 10:17:27 +00:00
virresctrlpriv.h
virrotatingfile.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virrotatingfile.h
virscsi.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virscsi.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virscsihost.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virscsihost.h
virscsivhost.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virscsivhost.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virseclabel.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virseclabel.h
virsecret.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virsecret.h
virsocketaddr.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virsocketaddr.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virstorageencryption.c virstorage: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:58 +02:00
virstorageencryption.h
virstoragefile.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virstoragefile.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virstoragefilebackend.c
virstoragefilebackend.h
virstring.c util: use GRegex in virStringMatch 2019-11-14 17:45:40 +01:00
virstring.h Drop virVasprintf() 2019-11-12 16:15:59 +01:00
virsysinfo.c Remove VIR_STRNDUP usage that subtracts from a non-NULL pointer 2019-11-13 17:01:38 +01:00
virsysinfo.h
virsysinfopriv.h
virsystemd.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virsystemd.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virsystemdpriv.h
virthread.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
virthread.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virthreadjob.c
virthreadjob.h
virthreadpool.c
virthreadpool.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virtime.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
virtime.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virtpm.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virtpm.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virtypedparam-public.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virtypedparam.c qemu: Fix migration without parameters 2019-11-28 14:27:11 +01:00
virtypedparam.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
viruri.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
viruri.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virusb.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
virusb.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virutil.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virutil.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
viruuid.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
viruuid.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virvhba.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virvhba.h
virvsock.c util: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virvsock.h
virxdrdefs.h
virxml.c util: xml: Make virXMLFormatElement void 2019-10-24 19:35:34 +02:00
virxml.h util: xml: Make virXMLFormatElement void 2019-10-24 19:35:34 +02:00