libvirt/src/conf
zhenwei pi b866adf8d9 libvirt: support memory failure event
Introduce memory failure event. Libvirt should monitor domain's
event, then posts it to uplayer. According to the hardware memory
corrupted message, a cloud scheduler could migrate domain to another
health physical server.

Several changes in this patch:
public API:
    include/*
    src/conf/*
    src/remote/*
    src/remote_protocol-structs

client:
    examples/c/misc/event-test.c
    tools/virsh-domain.c

With this patch, each driver could implement its own method to run
this new event.

Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-10-23 09:41:52 +02:00
..
backup_conf.c virStorageSourceNew: Abort on failure 2020-09-23 22:37:56 +02:00
backup_conf.h backup: Allow configuring incremental backup per-disk individually 2020-07-08 08:40:30 +02:00
capabilities.c conf: capabilities: use g_new0 2020-10-08 11:09:26 +02:00
capabilities.h Add a space before ending a comment 2020-01-30 12:32:03 +01:00
checkpoint_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
checkpoint_conf.h conf: checkpoint: Add a flag storing whether disk 'size' is valid 2020-07-07 12:58:19 +02:00
cpu_conf.c conf: cpu: use g_new0 2020-10-08 11:09:27 +02:00
cpu_conf.h cpu: Wire in XML validation 2020-10-07 11:26:27 +02:00
device_conf.c virDomainNetFindIdx: add support for CCW addresses 2020-09-24 13:48:31 +02:00
device_conf.h virDomainNetFindIdx: add support for CCW addresses 2020-09-24 13:48:31 +02:00
domain_addr.c util: hash: Remove virHashValueFree 2020-10-22 15:02:46 +02:00
domain_addr.h conf: domain_addr: Refactor hash usage in zpci reservation code 2020-10-22 15:02:46 +02:00
domain_audit.c conf, qemu, security, tests: introducing 'def->tpms' array 2020-06-23 17:27:50 +02:00
domain_audit.h
domain_capabilities.c conf: use g_new0 2020-10-08 11:09:27 +02:00
domain_capabilities.h conf: Advertise migratable attribute for CPU in domcaps 2020-06-09 20:32:50 +02:00
domain_conf.c Replace all instances of 'virHashCreate' with 'virHashNew' 2020-10-22 15:02:46 +02:00
domain_conf.h conf: Add support for vDPA network devices 2020-10-20 14:46:52 -04:00
domain_event.c libvirt: support memory failure event 2020-10-23 09:41:52 +02:00
domain_event.h libvirt: support memory failure event 2020-10-23 09:41:52 +02:00
domain_nwfilter.c conf: nwfilter: Replace 'virNWFilterHashTableCreate' with 'virHashNew' 2020-10-22 15:02:46 +02:00
domain_nwfilter.h
interface_conf.c conf: interface: use g_new0 2020-10-08 11:09:27 +02:00
interface_conf.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
meson.build meson: src: build libvirt.so library 2020-08-03 09:27:04 +02:00
moment_conf.c src: replace clock_gettime()/gettimeofday() with g_get_real_time() 2020-01-03 15:42:13 +00:00
moment_conf.h
netdev_bandwidth_conf.c conf: Add support for vDPA network devices 2020-10-20 14:46:52 -04:00
netdev_bandwidth_conf.h conf: do not pass vm object to virDomainClearNetBandwidth 2020-02-25 17:50:47 +01:00
netdev_vlan_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
netdev_vlan_conf.h
netdev_vport_profile_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
netdev_vport_profile_conf.h
network_conf.c conf: network: use g_new0 2020-10-08 11:09:26 +02:00
network_conf.h conf: convert network_conf.c to use g_auto* pointers 2020-06-15 16:02:16 -04:00
network_event.c
network_event.h
networkcommon_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
networkcommon_conf.h
node_device_conf.c conf: node_device: use g_new0 2020-10-08 11:09:27 +02:00
node_device_conf.h virsh: nodedev: ability to filter CSS capabilities 2020-09-15 09:06:24 +02:00
node_device_event.c
node_device_event.h
node_device_util.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
node_device_util.h
numa_conf.c conf: numa: use g_new0 2020-10-08 11:09:27 +02:00
numa_conf.h numa: expose HMAT APIs 2020-07-08 12:05:24 +02:00
nwfilter_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
nwfilter_conf.h
nwfilter_ipaddrmap.c conf: nwfilter: Replace 'virNWFilterHashTableCreate' with 'virHashNew' 2020-10-22 15:02:46 +02:00
nwfilter_ipaddrmap.h
nwfilter_params.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
nwfilter_params.h conf: nwfilter: Replace 'virNWFilterHashTableCreate' with 'virHashNew' 2020-10-22 15:02:46 +02:00
object_event_private.h conf: fix alignment in virObjectEvent to be 8 not 4 bytes 2020-06-04 11:17:05 +01:00
object_event.c conf: use g_new0 2020-10-08 11:09:27 +02:00
object_event.h
secret_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
secret_conf.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
secret_event.c
secret_event.h
snapshot_conf_priv.h virDomainSnapshotDiskDefFree: Export and register as autoptr func 2020-10-01 09:55:02 +02:00
snapshot_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
snapshot_conf.h virDomainSnapshotDiskDefFree: Export and register as autoptr func 2020-10-01 09:55:02 +02:00
storage_adapter_conf.c VIR_XPATH_NODE_AUTORESTORE: remove semicolon from users 2020-08-25 19:03:12 +02:00
storage_adapter_conf.h
storage_capabilities.c conf: use g_auto() for all virBuffers 2020-07-08 16:34:17 -04:00
storage_capabilities.h
storage_conf.c conf: storage: use g_new0 2020-10-08 11:09:27 +02:00
storage_conf.h conf: add control over COW for storage pool directories 2020-07-23 16:18:09 +01:00
storage_event.c
storage_event.h
virchrdev.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virchrdev.h
virconftypes.h conf: allow to map sound device to host device 2020-08-25 08:42:16 +04:00
virdomaincheckpointobjlist.c conf: use g_new0 2020-10-08 11:09:27 +02:00
virdomaincheckpointobjlist.h
virdomainmomentobjlist.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virdomainmomentobjlist.h
virdomainobjlist.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virdomainobjlist.h
virdomainsnapshotobjlist.c conf: use g_new0 2020-10-08 11:09:27 +02:00
virdomainsnapshotobjlist.h
virinterfaceobj.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virinterfaceobj.h
virnetworkobj.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virnetworkobj.h
virnetworkportdef.c conf: use g_new0 2020-10-08 11:09:27 +02:00
virnetworkportdef.h conf: reduce includes in virnetworkportdef.h 2020-02-25 17:50:47 +01:00
virnodedeviceobj.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virnodedeviceobj.h nodedev: add mdev support to virNodeDeviceCreateXML() 2020-06-19 10:39:55 +02:00
virnwfilterbindingdef.c conf: nwfilter: Replace 'virNWFilterHashTableCreate' with 'virHashNew' 2020-10-22 15:02:46 +02:00
virnwfilterbindingdef.h conf: virnwfilterbindingdef: include virxml.h 2020-02-25 17:46:45 +01:00
virnwfilterbindingobj.c conf: use g_auto() for all virBuffers 2020-07-08 16:34:17 -04:00
virnwfilterbindingobj.h
virnwfilterbindingobjlist.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virnwfilterbindingobjlist.h
virnwfilterobj.c conf: use g_new0 2020-10-08 11:09:27 +02:00
virnwfilterobj.h
virsavecookie.c VIR_XPATH_NODE_AUTORESTORE: remove semicolon from users 2020-08-25 19:03:12 +02:00
virsavecookie.h
virsecretobj.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virsecretobj.h
virstorageobj.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virstorageobj.h