libvirt/src/util
Boris Fiuczynski 47e57159b3 virmdev: prepare type and attributes for dual state
Create a new structure holding type and attributes as these are
modifiable in a persistent mdev configuration and run out of sync with
the active mdev configuration.

Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2024-02-26 10:50:43 +01:00
..
glibcompat.c glibcompat: Provide proper override for 'g_hash_table_steal_extended' 2022-06-01 12:27:10 +02:00
glibcompat.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
iohelper.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
meson.build Move src/keycodemapdb -> subprojects/keycodemapdb 2023-04-17 15:02:38 +02:00
viracpi.c util: acpi: include unistd.h 2023-04-06 15:39:37 +02:00
viracpi.h util: Introduce virAcpi module 2023-04-06 12:48:22 +02:00
viracpipriv.h util: Introduce virAcpi module 2023-04-06 12:48:22 +02:00
viralloc.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
viralloc.h util: fix various ATTRIBUTE_NONNULL calls 2021-11-23 09:59:00 +01:00
virarch.c src: update log/error messages pointing to old mailing list addr 2023-10-31 10:04:25 +00:00
virarch.h util:hostcpu: Report physical address size based on Architecture 2023-10-20 12:46:47 +02:00
virarptable.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virarptable.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
viraudit.c lib: Drop intermediary return variables 2021-10-25 12:48:46 +02:00
viraudit.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virauth.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virauth.h util: virauth: Export virAuthGetCredential 2023-01-23 16:32:26 +01:00
virauthconfig.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
virauthconfig.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virbitmap.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
virbitmap.h virbitmap: Allow NULL bitmap in functions returning index of a set/clear bit 2023-02-06 13:34:06 +01:00
virbpf.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virbpf.h meson: remove obsolete check for BPF_PROG_QUERY 2022-12-12 10:36:18 +00:00
virbuffer.c util: Remove unused includes 2022-06-16 06:43:57 +02:00
virbuffer.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virccw.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
virccw.h util: add virCCWDeviceAddressFromString to virccw 2022-05-23 16:31:59 +02:00
vircgroup.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
vircgroup.h vircgroupv2: fix cpu.weight limits check 2023-01-17 10:57:50 +01:00
vircgroupbackend.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
vircgroupbackend.h util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
vircgrouppriv.h vircgroup: Fix virCgroupKillRecursive() wrt nested controllers 2021-04-19 11:21:40 +02:00
vircgroupv1.c virCgroupV1GetBlkioIo(Device)Serviced: Refactor extraction of cgroup data 2023-04-14 15:20:14 +02:00
vircgroupv1.h
vircgroupv2.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
vircgroupv2.h
vircgroupv2devices.c util: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
vircgroupv2devices.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
vircommand.c util: vircommand: fix redundant if 2023-10-10 12:36:15 +02:00
vircommand.h util: make virCommandSetSendBuffer testable 2023-09-19 14:28:50 -05:00
vircommandpriv.h util: make virCommandSetSendBuffer testable 2023-09-19 14:28:50 -05:00
virconf.c src: Avoid needless checks before calling g_strdup() 2023-09-18 14:46:24 +02:00
virconf.h virconf: Make virConfSetValue() clear consumed pointer 2022-01-17 09:53:45 +01:00
vircrypto.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
vircrypto.h util: Remove use of virCryptoHaveCipher(VIR_CRYPTO_CIPHER_AES256CBC) 2021-09-22 14:53:55 +02:00
virdaemon.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
virdaemon.h Exit on errors from virDaemonSetupLogging 2022-01-05 14:08:39 +01:00
virdevmapper.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virdevmapper.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
virdnsmasq.c virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
virdnsmasq.h virdnsmasq: Drop dnsmasqCapsNewFromBuffer() 2022-01-18 16:18:57 +01:00
virebtables.c util: Remove unused includes 2022-06-16 06:43:57 +02:00
virebtables.h
virendian.h
virenum.c util: Remove unused includes 2022-06-16 06:43:57 +02:00
virenum.h util: enum: Add helpers for converting virTristate* to a plain bool 2021-12-01 13:39:47 +01:00
virerror.c Adding Public Get and Set APIs for Network Metadata 2023-08-25 12:36:37 +02:00
virerror.h virerror: Make virReportEnumRangeError() check for type mismatch 2023-09-20 17:18:48 +02:00
virerrorpriv.h
virevent.c docstring: remove 'v' from since metadata 2022-05-04 18:11:06 +02:00
virevent.h
vireventglib.c util: Remove unused includes 2022-06-16 06:43:57 +02:00
vireventglib.h
vireventglibwatch.c
vireventglibwatch.h
vireventthread.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
vireventthread.h
virfcp.c lib: Replace virBuildPath() with g_build_filename() 2023-10-17 08:32:13 +02:00
virfcp.h
virfdstream.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virfdstream.h
virfile.c virfile: Switch to virReportSystemError after failed VIR_CLOSE() 2024-02-22 10:23:20 +01:00
virfile.h network: convert virFileLinkPointsTo to return bool 2023-12-07 11:31:29 +01:00
virfilecache.c util: Allow virFileCache data to be any GObject 2023-09-19 14:28:49 -05:00
virfilecache.h util: Allow virFileCache data to be any GObject 2023-09-19 14:28:49 -05:00
virfirewall.c util: Update format strings in translated messages (part 2) 2023-04-01 11:40:35 +02:00
virfirewall.h util: make virFirewallRuleToString() global 2022-08-24 12:22:47 -04:00
virfirewalld.c virfirewalld: Drop useless memset() in virFirewallDApplyRule() 2023-08-03 16:35:58 +02:00
virfirewalld.h util: include virfirewall.h in virfirewalld.h 2023-05-10 14:41:53 +02:00
virfirewalldpriv.h
virfirmware.c util: Update format strings in translated messages (part 2) 2023-04-01 11:40:35 +02:00
virfirmware.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virgdbus.c util: Update format strings in translated messages (part 2) 2023-04-01 11:40:35 +02:00
virgdbus.h
virgettext.c
virgettext.h
virgic.c
virgic.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virglibutil.c util: Add helpers for auto-freeing GSList filled with strings 2021-02-11 17:05:32 +01:00
virglibutil.h util: Add helpers for auto-freeing GSList filled with strings 2021-02-11 17:05:32 +01:00
virhash.c lib: Replace qsort() with g_qsort_with_data() 2023-11-24 09:53:14 +01:00
virhash.h util: virhash: Replace 'virHashDataFree' by 'GDestroyNotify' 2021-12-01 13:53:12 +01:00
virhashcode.c
virhashcode.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
virhook.c lib: Replace virBuildPath() with g_build_filename() 2023-10-17 08:32:13 +02:00
virhook.h
virhostcpu.c conf: Report CPU clusters in capabilities XML 2024-01-15 14:56:35 +01:00
virhostcpu.h conf: Report CPU clusters in capabilities XML 2024-01-15 14:56:35 +01:00
virhostcpupriv.h
virhostmem.c virhostmem: Get total memory on macOS properly 2023-11-06 12:01:57 +01:00
virhostmem.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
virhostuptime.c util: Update format strings in translated messages (part 2) 2023-04-01 11:40:35 +02:00
virhostuptime.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
viridentity.c util: Update format strings in translated messages (part 2) 2023-04-01 11:40:35 +02:00
viridentity.h virIdentityGetParameters: Return 'virTypedParamList' 2022-05-18 13:46:30 +02:00
viridentitypriv.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
virinitctl.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virinitctl.h
viriptables.c util: Update format strings in translated messages (part 2) 2023-04-01 11:40:35 +02:00
viriptables.h network: eliminate code that uses default iptables chains 2021-12-13 13:37:31 -05:00
viriscsi.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
viriscsi.h
virjson.c util: json: Remove 'virJSONValueObjectReplaceValue' 2024-02-01 10:39:40 +01:00
virjson.h util: json: Remove 'virJSONValueObjectReplaceValue' 2024-02-01 10:39:40 +01:00
virkeycode.c
virkeycode.h
virkmod.c util: Remove unused includes 2022-06-16 06:43:57 +02:00
virkmod.h
virlease.c util: Update format strings in translated messages (part 2) 2023-04-01 11:40:35 +02:00
virlease.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virlockspace.c util: Update format strings in translated messages (part 2) 2023-04-01 11:40:35 +02:00
virlockspace.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virlog.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virlog.h util: Check for errors in virLogSetFromEnv 2022-01-05 14:08:40 +01:00
virmacaddr.c conf: Generate MAC address instead of keeping all zeroes 2023-09-04 16:01:24 +02:00
virmacaddr.h conf: Generate MAC address instead of keeping all zeroes 2023-09-04 16:01:24 +02:00
virmacmap.c util: Update format strings in translated messages (part 2) 2023-04-01 11:40:35 +02:00
virmacmap.h conf: add cleanup func for virMacMap 2021-09-09 18:06:13 +02:00
virmdev.c util: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virmdev.h virmdev: prepare type and attributes for dual state 2024-02-26 10:50:43 +01:00
virmodule.c util: Update format strings in translated messages (part 2) 2023-04-01 11:40:35 +02:00
virmodule.h
virnetdev.c util: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virnetdev.h qemuxml2argvmock: Mock virNetDevSetMTU 2024-01-04 22:26:10 +01:00
virnetdevbandwidth.c util: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virnetdevbandwidth.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
virnetdevbridge.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virnetdevbridge.h
virnetdevip.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virnetdevip.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
virnetdevmacvlan.c Decrease scope of some variables 2023-08-03 16:35:11 +02:00
virnetdevmacvlan.h virnetdevmacvlan: Drop G_GNUC_WARN_UNUSED_RESULT annotation for virNetDevMacVLanDeleteWithVPortProfile() 2023-02-01 15:44:20 +01:00
virnetdevmidonet.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virnetdevmidonet.h
virnetdevopenvswitch.c virnetdevopenvswitch: Propagate OVS error messages 2023-09-08 13:42:25 +02:00
virnetdevopenvswitch.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
virnetdevpriv.h Allow VF vlanid to be passed as a pointer 2022-02-03 16:52:05 +01:00
virnetdevtap.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virnetdevtap.h virnetdevtap.c: Disallow pre-existing TAP devices 2022-12-09 08:46:39 +01:00
virnetdevveth.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virnetdevveth.h
virnetdevvlan.c util: Remove unused includes 2022-06-16 06:43:57 +02:00
virnetdevvlan.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virnetdevvportprofile.c virNetDevVPortProfileOp8021Qbh: Use proper type in virReportEnumRangeError() 2023-09-20 17:18:48 +02:00
virnetdevvportprofile.h conf: Rewrite virNetDevVPortProfileCopy 2022-08-18 08:34:30 +02:00
virnetlink.c util: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virnetlink.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virnodesuspend.c util: add logging about node suspend availability 2023-07-20 11:01:08 +01:00
virnodesuspend.h
virnuma.c virnuma: Avoid integer overflow in virNumaGetPages() 2023-11-24 16:35:19 +01:00
virnuma.h qemuxml2argvmock: Drop virNuma* mocks 2023-03-15 12:46:36 +01:00
virnvme.c util: use "stubDriverType" instead of just "stubDriver" 2023-08-24 23:36:18 -04:00
virnvme.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virobject.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virobject.h util: remove virObjectUnref() adapters 2022-07-15 16:44:39 -05:00
virpci.c virPCIDeviceGetVPD: Fix multiple error handling bugs 2024-01-31 17:24:07 +01:00
virpci.h qemu: automatically bind to a vfio variant driver, if available 2024-01-08 01:00:11 -05:00
virpcivpd.c virPCIVPDParse: Do reasonable error reporting 2024-01-31 17:24:07 +01:00
virpcivpd.h util: virpcivpd: Remove return value from virPCIVPDResourceUpdateKeyword 2024-01-31 17:24:07 +01:00
virpcivpdpriv.h util: virpcivpd: Remove return value from virPCIVPDResourceCustomUpsertValue 2024-01-31 17:24:07 +01:00
virperf.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virperf.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virpidfile.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virpidfile.h util: add quiet parameter to virPidFileAcquirePathFull 2023-03-08 12:16:56 +01:00
virpolkit.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virpolkit.h util: Add virPolkitAgentAvailable 2021-11-23 12:51:09 +01:00
virportallocator.c util: virtportallocator: Add VIR_DEBUG statements for port allocations and release 2024-01-31 15:25:53 +01:00
virportallocator.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virprobe.h
virprocess.c virprocess: virProcessGetNamespaces() to void 2024-01-04 17:06:14 +01:00
virprocess.h virprocess: virProcessGetNamespaces() to void 2024-01-04 17:06:14 +01:00
virqemu.c util: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virqemu.h util: qemu: Remove 'skipKey' argument from virQEMUBuildCommandLineJSONArrayFormatFunc prototype 2023-01-04 14:01:16 +01:00
virrandom.c virrandom: Accept "nodedev" driver in virRandomGenerateWWN() 2023-07-25 14:54:37 +02:00
virrandom.h virrandommock: Drop virRandomGenerateWWN 2023-07-19 13:09:11 +02:00
virresctrl.c lib: Replace qsort() with g_qsort_with_data() 2023-11-24 09:53:14 +01:00
virresctrl.h util: Remove unused includes 2022-06-16 06:43:57 +02:00
virresctrlpriv.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virrotatingfile.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virrotatingfile.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virscsi.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virscsi.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
virscsihost.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virscsihost.h
virscsivhost.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virscsivhost.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
virseclabel.c util: Remove unused includes 2022-06-16 06:43:57 +02:00
virseclabel.h virSecurityLabelDef: Declare 'type' as 'virDomainSeclabelType' 2021-11-24 09:20:38 +01:00
virsecret.c tests: Rename 'qemuxml2argvtest' to 'qemuxmlconftest' 2024-01-17 17:31:12 +01:00
virsecret.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virsecureerase.c util: implement secure erase with explicit_bzero 2022-12-13 04:46:59 -05:00
virsecureerase.h util: virsecureerase: Introduce virSecureEraseString 2021-02-03 13:07:13 +01:00
virsocket.c virsocket: Simplify virSocketSendFD() 2024-02-07 12:34:54 +01:00
virsocket.h virSocketSendMsgWithFDs: Introduce @payload_len argument 2024-02-07 11:01:30 +01:00
virsocketaddr.c util: Introduce virSocketAddrBytes 2024-02-07 14:19:42 +01:00
virsocketaddr.h util: Introduce virSocketAddrBytes 2024-02-07 14:19:42 +01:00
virstoragefile.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virstoragefile.h Remove virStorageFileCanonicalizePath 2021-04-12 15:55:09 +02:00
virstring.c lib: Replace qsort() with g_qsort_with_data() 2023-11-24 09:53:14 +01:00
virstring.h lib: Replace qsort() with g_qsort_with_data() 2023-11-24 09:53:14 +01:00
virsysinfo.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virsysinfo.h conf: domain: Refactor cleanup in virSysinfoChassisParseXML 2022-11-02 09:22:56 +01:00
virsysinfopriv.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virsystemd.c util: Introduce virSystemdResolvedRegisterNameServer 2024-02-07 14:19:42 +01:00
virsystemd.h util: Introduce virSystemdResolvedRegisterNameServer 2024-02-07 14:19:42 +01:00
virsystemdpriv.h util: Introduce virSystemdHasResolved 2024-02-07 14:19:42 +01:00
virthread.c virthread: Introduce virLockGuard 2022-02-01 17:19:23 +01:00
virthread.h virthread: Introduce VIR_WITH_MUTEX_LOCK_GUARD 2022-02-01 17:19:32 +01:00
virthreadjob.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virthreadjob.h
virthreadpool.c util: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virthreadpool.h virthreadpool: Allow setting identity for workers 2021-10-27 17:11:29 +02:00
virtime.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
virtime.h
virtpm.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virtpm.h util: Add parsing support for swtpm's cmdarg-migration capability 2022-11-09 12:26:22 +01:00
virtypedparam-public.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virtypedparam.c lib: Replace qsort() with g_qsort_with_data() 2023-11-24 09:53:14 +01:00
virtypedparam.h virTypedParamsValidate: Allow typed params to be both _UINT and _ULLONG 2023-05-02 14:32:47 +02:00
viruri.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
viruri.h viruri: Introduce virURIParamsSetIgnore() 2023-02-08 16:50:45 +01:00
virusb.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virusb.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virutil.c util: add virGetSubUIDs 2023-12-14 17:10:22 +01:00
virutil.h util: add virGetSubUIDs 2023-12-14 17:10:22 +01:00
viruuid.c Decrease scope of some variables 2023-08-03 16:35:11 +02:00
viruuid.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
virvhba.c util: Update format strings in translated messages (part 3) 2023-04-01 11:40:35 +02:00
virvhba.h
virvsock.c meson: remove obsolete check for VHOST_VSOCK_SET_GUEST_CID 2022-12-12 10:36:15 +00:00
virvsock.h
virxdrdefs.h
virxml.c util: xml: Return GPtrArray from virXMLNodeGetSubelement 2024-01-08 09:27:31 +01:00
virxml.h util: xml: Return GPtrArray from virXMLNodeGetSubelement 2024-01-08 09:27:31 +01:00