libvirt/src/conf
Wang Xin 493d2769f2 qemu: add support for shmem-{plain, doorbell} role
Role(master or peer) controls how the domain behaves on migration.
For more details about migration with ivshmem, see
https://git.qemu.org/?p=qemu.git;a=blob_plain;f=docs/system/ivshmem.rst;hb=HEAD

It's a optional attribute in libvirt, and qemu will choose default
role for ivshmem device if the user is not specified.

With device property 'role', the value can be 'master' or 'peer'.
 - 'master' (means 'master=on' in qemu), the guest will copy
   the shared memory on migration to the destination host.
 - 'peer' (means 'master=off' in qemu), the migration is disabled.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Signed-off-by: Yang Hang <yanghang44@huawei.com>
Signed-off-by: Wang Xin <wangxinxin.wang@huawei.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2020-08-03 10:57:47 +02:00
..
backup_conf.c backup: Allow configuring incremental backup per-disk individually 2020-07-08 08:40:30 +02:00
backup_conf.h backup: Allow configuring incremental backup per-disk individually 2020-07-08 08:40:30 +02:00
capabilities.c conf: eliminate unnecessary labels 2020-07-08 16:35:36 -04:00
capabilities.h Add a space before ending a comment 2020-01-30 12:32:03 +01:00
checkpoint_conf.c conf: eliminate unnecessary labels 2020-07-08 16:35:36 -04: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: eliminate unnecessary labels 2020-07-08 16:35:36 -04:00
cpu_conf.h conf: Introduce migratable attribute for the <cpu> element 2020-06-09 20:32:50 +02:00
device_conf.c conf: use g_autofree for all pointers to virXMLPropString() in device_conf.c 2020-07-08 23:11:21 -04:00
device_conf.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
domain_addr.c conf: use g_auto() for all virBuffers 2020-07-08 16:34:17 -04:00
domain_addr.h qemu/conf: set HOTPLUGGABLE connect flag during PCI address set init 2020-04-12 22:39:51 -04: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_auto() for all virBuffers 2020-07-08 16:34:17 -04:00
domain_capabilities.h conf: Advertise migratable attribute for CPU in domcaps 2020-06-09 20:32:50 +02:00
domain_conf.c qemu: add support for shmem-{plain, doorbell} role 2020-08-03 10:57:47 +02:00
domain_conf.h qemu: add support for shmem-{plain, doorbell} role 2020-08-03 10:57:47 +02:00
domain_event.c conf: remove NULL check from virDomainQemuMonitorEventNew 2019-11-21 12:44:23 +01:00
domain_event.h conf: remove NULL check from virDomainQemuMonitorEventNew 2019-11-21 12:44:23 +01:00
domain_nwfilter.c
domain_nwfilter.h
interface_conf.c conf: use g_auto() for all virBuffers 2020-07-08 16:34:17 -04: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: do not pass vm object to virDomainClearNetBandwidth 2020-02-25 17:50:47 +01: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 Use more of VIR_XPATH_NODE_AUTORESTORE 2020-06-03 21:06:02 +02:00
netdev_vlan_conf.h
netdev_vport_profile_conf.c conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
netdev_vport_profile_conf.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
network_conf.c conf: Remove superfluous breaks 2020-07-21 15:53:15 +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 Use more of VIR_XPATH_NODE_AUTORESTORE 2020-06-03 21:06:02 +02:00
networkcommon_conf.h
node_device_conf.c virNodeDevPCICapSRIOVVirtualParseXML: fix memleak of addr 2020-07-30 17:52:47 +02:00
node_device_conf.h nodedev: store mdev UUID in mdev caps 2020-06-19 10:39:55 +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 qemu: Build HMAT command line 2020-07-08 12:05:24 +02:00
numa_conf.h numa: expose HMAT APIs 2020-07-08 12:05:24 +02:00
nwfilter_conf.c conf: eliminate unnecessary labels 2020-07-08 16:35:36 -04:00
nwfilter_conf.h
nwfilter_ipaddrmap.c conf: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:56 +02:00
nwfilter_ipaddrmap.h
nwfilter_params.c conf: Remove superfluous breaks 2020-07-21 15:53:15 +02:00
nwfilter_params.h
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
object_event.h conf: misc: use #pragma once in headers 2019-06-13 17:05:09 +02:00
secret_conf.c conf: eliminate unnecessary labels 2020-07-08 16:35:36 -04: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
snapshot_conf.c conf: eliminate unnecessary labels 2020-07-08 16:35:36 -04:00
snapshot_conf.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
storage_adapter_conf.c Use more of VIR_XPATH_NODE_AUTORESTORE 2020-06-03 21:06:02 +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 conf: storagecaps: Fix broken attempt at being const-correct 2019-11-12 14:37:57 +01:00
storage_conf.c conf: add control over COW for storage pool directories 2020-07-23 16:18:09 +01: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 virchrdev: Drop needless 'cleanup' label in virChrdevLockFileCreate() 2020-01-16 14:13:47 +01:00
virchrdev.h
virconftypes.h backup: Parse and output backup XML 2019-12-10 12:41:56 +01:00
virdomaincheckpointobjlist.c src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virdomaincheckpointobjlist.h
virdomainmomentobjlist.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virdomainmomentobjlist.h
virdomainobjlist.c conf: drop virCapsPtr param from domain obj list APIs 2019-12-09 10:17:27 +00:00
virdomainobjlist.h conf: drop virCapsPtr param from domain obj list APIs 2019-12-09 10:17:27 +00:00
virdomainsnapshotobjlist.c
virdomainsnapshotobjlist.h
virinterfaceobj.c
virinterfaceobj.h
virnetworkobj.c conf: eliminate unnecessary labels 2020-07-08 16:35:36 -04:00
virnetworkobj.h
virnetworkportdef.c conf: use g_auto() for all virBuffers 2020-07-08 16:34:17 -04:00
virnetworkportdef.h conf: reduce includes in virnetworkportdef.h 2020-02-25 17:50:47 +01:00
virnodedeviceobj.c nodedev: add mdev support to virNodeDeviceCreateXML() 2020-06-19 10:39:55 +02:00
virnodedeviceobj.h nodedev: add mdev support to virNodeDeviceCreateXML() 2020-06-19 10:39:55 +02:00
virnwfilterbindingdef.c conf: use g_auto() for all virBuffers 2020-07-08 16:34:17 -04: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
virnwfilterbindingobjlist.h
virnwfilterobj.c
virnwfilterobj.h
virsavecookie.c conf: eliminate unnecessary labels 2020-07-08 16:35:36 -04:00
virsavecookie.h
virsecretobj.c conf: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virsecretobj.h
virstorageobj.c Unlock the storage pool objects after looking it up 2020-05-18 11:31:58 +02:00
virstorageobj.h