libvirt/src/conf
Pavel Hrdina 38af649761 domain_validate: drop cpu.shares cgroup check
This check is done when VM is defined but doesn't take into account what
cgroups version is currently used on the host system so it doesn't work
correctly.

To make proper check at this point we would have to figure out cgroups
version while defining a VM but that will still not guarantee that the
VM will start correctly in the future as the host may be rebooted with
different cgroups version.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2023-01-17 10:58:04 +01:00
..
schemas conf: remove <backend upstream='xxx'/> attribute 2023-01-13 10:02:05 +01:00
backup_conf.c conf: backup: Remove virDomainBackupDefParseNode 2022-10-06 10:54:25 +02:00
backup_conf.h conf: backup: Remove virDomainBackupDefParseNode 2022-10-06 10:54:25 +02:00
capabilities.c conf: skip resource cache init if sysfs files are missing 2022-11-15 10:12:23 +00:00
capabilities.h conf: define autoptr func for virCapsHostCacheBankFree 2022-11-15 10:12:06 +00:00
checkpoint_conf.c virDomainDefParseNode: Pass only the XPath context as argument 2022-10-06 10:54:25 +02:00
checkpoint_conf.h
cpu_conf.c conf: cpu: Extract and refactor parsing of cache from virCPUDefParseXML 2022-11-02 09:20:57 +01:00
cpu_conf.h conf: Add support for specifying CPU max physical address size 2022-08-04 09:04:07 +02:00
device_conf.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
device_conf.h conf: Remove unused includes 2022-06-16 06:43:56 +02:00
domain_addr.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
domain_addr.h util: refactor virDomainCCWAddressAsString into virccw 2022-05-23 16:31:42 +02:00
domain_audit.c conf: use g_autofree and remove unnecessary label 2023-01-09 04:38:52 +01:00
domain_audit.h
domain_capabilities.c domain_capabilities: Expose Hyper-V Enlightenments 2023-01-05 12:35:20 +01:00
domain_capabilities.h domain_capabilities: Expose Hyper-V Enlightenments 2023-01-05 12:35:20 +01:00
domain_conf.c conf: remove <backend upstream='xxx'/> attribute 2023-01-13 10:02:05 +01:00
domain_conf.h conf: remove <backend upstream='xxx'/> attribute 2023-01-13 10:02:05 +01:00
domain_event.c conf: Avoid double free in virDomainEventTunableNew callers 2022-11-02 16:10:38 +01:00
domain_event.h qemu: fix memory leak about virDomainEventTunableNew 2022-09-27 10:04:20 +02:00
domain_nwfilter.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
domain_nwfilter.h
domain_postparse.c conf: Add 'fdgroup' attribute for 'file' disks 2023-01-09 14:59:42 +01:00
domain_postparse.h conf: Separate domain post parse code into domain_postparse.c 2022-07-07 14:32:21 +02:00
domain_validate.c domain_validate: drop cpu.shares cgroup check 2023-01-17 10:58:04 +01:00
domain_validate.h domain_validate: Split out validation of disk startup policy 2022-06-14 16:38:11 +02:00
interface_conf.c virInterfaceDefParseMtu: Use virXPathUInt instead of virXPathULong 2022-11-02 09:20:57 +01:00
interface_conf.h conf: interface: Remove virInterfaceDefParseFile 2022-10-06 10:54:25 +02:00
meson.build move files: hypervisor/domain_job -> conf/virdomainjob 2022-09-07 12:06:17 +02:00
moment_conf.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
moment_conf.h
netdev_bandwidth_conf.c Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00
netdev_bandwidth_conf.h
netdev_vlan_conf.c virNetDevVlanParse: Use virXMLProp* helpers instead of XPath lookups 2022-11-02 09:20:57 +01:00
netdev_vlan_conf.h
netdev_vport_profile_conf.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
netdev_vport_profile_conf.h
network_conf.c virNetworkIPDefParseXML: Use virXMLPropUInt instead of virXPathULong 2022-11-02 09:20:57 +01:00
network_conf.h conf: network: Provide only virNetworkDefParse 2022-10-06 10:54:25 +02:00
network_event.c
network_event.h conf: Remove unused includes 2022-06-16 06:43:56 +02:00
networkcommon_conf.c virNetDevIPRouteParseXML: Refactor to use 'virXMLProp*' instead of XPath 2022-11-02 09:20:57 +01:00
networkcommon_conf.h virNetDevIPRouteParseXML: Refactor to use 'virXMLProp*' instead of XPath 2022-11-02 09:20:57 +01:00
node_device_conf.c node_device_conf: Avoid memleak in virNodeDeviceGetPCIVPDDynamicCap() 2022-12-01 08:38:01 +01:00
node_device_conf.h conf: node_device: Add 'validate' argument to virNodeDeviceDefParse 2022-11-01 13:07:20 +01:00
node_device_event.c
node_device_event.h conf: Remove unused includes 2022-06-16 06:43:56 +02:00
node_device_util.c conf: use g_autofree and remove unnecessary label 2023-01-09 04:38:52 +01:00
node_device_util.h
numa_conf.c conf: Allow > UINT_MAX of cache for NUMA nodes 2022-11-08 09:49:43 +01:00
numa_conf.h conf: Allow > UINT_MAX of cache for NUMA nodes 2022-11-08 09:49:43 +01:00
nwfilter_conf.c virNWFilterSaveConfig: remove the unnecessary variable 'ret' 2023-01-09 16:02:40 +01:00
nwfilter_conf.h conf: nwfilter: Provide only virNWFilterDefParse 2022-10-06 10:54:25 +02:00
nwfilter_ipaddrmap.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
nwfilter_ipaddrmap.h
nwfilter_params.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
nwfilter_params.h conf: Remove unused includes 2022-06-16 06:43:56 +02:00
object_event_private.h
object_event.c util: remove virObjectUnref() adapters 2022-07-15 16:44:39 -05:00
object_event.h conf: Remove unused includes 2022-06-16 06:43:56 +02:00
secret_conf.c conf: secret: Provide only virSecretDefParse 2022-10-06 10:54:24 +02:00
secret_conf.h conf: secret: Provide only virSecretDefParse 2022-10-06 10:54:24 +02:00
secret_event.c
secret_event.h conf: Remove unused includes 2022-06-16 06:43:56 +02:00
snapshot_conf_priv.h
snapshot_conf.c qemu_snapshot: when deleting snapshot invalidate parent snapshot 2023-01-09 13:33:07 +01:00
snapshot_conf.h qemu_snapshot: when deleting snapshot invalidate parent snapshot 2023-01-09 13:33:07 +01:00
storage_adapter_conf.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
storage_adapter_conf.h
storage_capabilities.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
storage_capabilities.h
storage_conf.c conf: Always use 'string()' conversion with virXPath(U)LongLong 2022-11-01 13:07:20 +01:00
storage_conf.h conf: storage: Add support for validating storage vol XML to virStorageVolDefParse 2022-11-01 13:07:20 +01:00
storage_encryption_conf.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
storage_encryption_conf.h
storage_event.c
storage_event.h conf: Remove unused includes 2022-06-16 06:43:56 +02:00
storage_source_conf.c security: selinux: Handle security labelling of FD-passed images 2023-01-09 14:59:43 +01:00
storage_source_conf.h security: selinux: Handle security labelling of FD-passed images 2023-01-09 14:59:43 +01:00
virchrdev.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
virchrdev.h
virconftypes.h conf: parse/format passt-related XML additions 2023-01-09 14:24:27 -05:00
virdomaincheckpointobjlist.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
virdomaincheckpointobjlist.h conf: Remove unused includes 2022-06-16 06:43:56 +02:00
virdomainjob.c qemu: Remember failed post-copy migration in job 2023-01-06 16:17:38 +01:00
virdomainjob.h qemu: Remember failed post-copy migration in job 2023-01-06 16:17:38 +01:00
virdomainmomentobjlist.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
virdomainmomentobjlist.h
virdomainobjlist.c conf: virdomainobjlist: Remove return value from virDomainObjListCollect 2023-01-06 15:27:52 +01:00
virdomainobjlist.h conf: virdomainobjlist: Remove return value from virDomainObjListCollect 2023-01-06 15:27:52 +01:00
virdomainsnapshotobjlist.c conf: Remove unused includes 2022-06-16 06:43:56 +02:00
virdomainsnapshotobjlist.h conf: Remove unused includes 2022-06-16 06:43:56 +02:00
virinterfaceobj.c util: remove virObjectUnref() adapters 2022-07-15 16:44:39 -05:00
virinterfaceobj.h
virnetworkobj.c conf: use g_autofree and remove unnecessary label 2023-01-09 04:38:52 +01:00
virnetworkobj.h virNetworkObjSetMacMap: take double pointer of @macmap 2022-08-09 17:35:11 +02:00
virnetworkportdef.c conf: use g_autofree and remove unnecessary label 2023-01-09 04:38:52 +01:00
virnetworkportdef.h conf: networkportdef: Provide only virNetworkPortDefParse 2022-10-06 10:54:24 +02:00
virnodedeviceobj.c util: remove virObjectUnref() adapters 2022-07-15 16:44:39 -05:00
virnodedeviceobj.h virnodedeviceobj: export virNodeDeviceObjHasCap 2022-03-17 10:57:17 +01:00
virnwfilterbindingdef.c conf: nwfilterbinding: Provide only virNWFilterBindingDefParse 2022-10-06 10:54:24 +02:00
virnwfilterbindingdef.h conf: nwfilterbinding: Provide only virNWFilterBindingDefParse 2022-10-06 10:54:24 +02:00
virnwfilterbindingobj.c conf: use g_autofree and remove unnecessary label 2023-01-09 04:38:52 +01:00
virnwfilterbindingobj.h virNWFilterBindingObjParse: Refactor XML parsing code 2022-10-06 10:54:24 +02:00
virnwfilterbindingobjlist.c virNWFilterBindingObjParse: Refactor XML parsing code 2022-10-06 10:54:24 +02:00
virnwfilterbindingobjlist.h
virnwfilterobj.c conf: use g_autofree and remove unnecessary label 2023-01-09 04:38:52 +01:00
virnwfilterobj.h virNWFilterDriverState: Destroy mutex safely 2022-04-08 16:43:16 +02:00
virsavecookie.c conf: savecookie: Remove virSaveCookieParseNode 2022-10-06 10:54:25 +02:00
virsavecookie.h
virsecretobj.c conf: secret: Provide only virSecretDefParse 2022-10-06 10:54:24 +02:00
virsecretobj.h conf: Remove unused includes 2022-06-16 06:43:56 +02:00
virstorageobj.c conf: use g_autofree and remove unnecessary label 2023-01-09 04:38:52 +01:00
virstorageobj.h conf: Remove unused includes 2022-06-16 06:43:56 +02:00