libvirt/src/conf
Eric Blake 7b7bf00110 conf: store mirroring information in virStorageSource
The current implementation of 'virsh blockcopy' (virDomainBlockRebase)
is limited to copying to a local file name.  But future patches want
to extend it to also copy to network disks.  This patch converts over
to a virStorageSourcePtr, although it should have no semantic change
visible to the user, in anticipation of those future patches being
able to use more fields for non-file destinations.

* src/conf/domain_conf.h (_virDomainDiskDef): Change type of
mirror information.
* src/conf/domain_conf.c (virDomainDiskDefParseXML): Localize
mirror parsing into new object.
(virDomainDiskDefFormat): Adjust clients.
* src/qemu/qemu_domain.c (qemuDomainDeviceDefPostParse):
Likewise.
* src/qemu/qemu_driver.c (qemuDomainBlockPivot)
(qemuDomainBlockJobImpl, qemuDomainBlockCopy): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2014-06-06 09:56:28 -06:00
..
capabilities.c Always report an error if virBitmapFormat fails 2014-06-06 14:35:19 +02:00
capabilities.h virCaps: Expose distance between host NUMA nodes 2014-06-04 09:35:55 +02:00
cpu_conf.c conf: use typedefs for enums in "src/conf/cpu_conf.h" 2014-05-05 15:52:36 -06:00
cpu_conf.h conf: use typedefs for enums in "src/conf/cpu_conf.h" 2014-05-05 15:52:36 -06:00
device_conf.c Replace Pci with PCI throughout 2014-04-08 11:15:55 +01:00
device_conf.h conf: use typedefs for enums in "src/conf/cpu_conf.h" 2014-05-05 15:52:36 -06:00
domain_addr.c qemu: extract common PCI handling functions 2014-05-13 20:17:54 +04:00
domain_addr.h qemu: extract common PCI handling functions 2014-05-13 20:17:54 +04:00
domain_audit.c conf: more enum cleanups in "src/conf/domain_conf.h" 2014-06-02 15:32:58 -06:00
domain_audit.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
domain_conf.c conf: store mirroring information in virStorageSource 2014-06-06 09:56:28 -06:00
domain_conf.h conf: store mirroring information in virStorageSource 2014-06-06 09:56:28 -06:00
domain_event.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
domain_event.h qemu: create object for qemu monitor events 2014-03-20 11:25:37 -06:00
domain_nwfilter.c Use K&R style for curly braces in src/conf/ 2014-03-20 17:16:38 +01:00
domain_nwfilter.h
interface_conf.c conf: use typedefs for enums in "src/conf/{network,interface}_conf.h" 2014-05-05 16:04:53 -06:00
interface_conf.h conf: use typedefs for enums in "src/conf/{network,interface}_conf.h" 2014-05-05 16:04:53 -06:00
netdev_bandwidth_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_bandwidth_conf.h
netdev_vlan_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_vlan_conf.h maint: avoid 'const fooPtr' in conf 2013-10-14 14:34:38 -06:00
netdev_vport_profile_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_vport_profile_conf.h
network_conf.c Always report an error if virBitmapFormat fails 2014-06-06 14:35:19 +02:00
network_conf.h conf: use typedefs for enums in "src/conf/{network,interface}_conf.h" 2014-05-05 16:04:53 -06:00
network_event.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
network_event.h event: move event filtering to daemon (regression fix) 2014-02-05 08:03:31 -07:00
node_device_conf.c nodedev: Export NUMA node locality for PCI devices 2014-06-06 15:10:57 +02:00
node_device_conf.h nodedev: Export NUMA node locality for PCI devices 2014-06-06 15:10:57 +02:00
nwfilter_conf.c conf: use typedefs for enums in "src/conf/nwfilter_conf.h" 2014-05-14 09:49:57 -06:00
nwfilter_conf.h conf: use typedefs for enums in "src/conf/nwfilter_conf.h" 2014-05-14 09:49:57 -06:00
nwfilter_ipaddrmap.c Remove pointless storage of var names in virNWFilterHashTable 2014-04-25 15:44:09 +01:00
nwfilter_ipaddrmap.h
nwfilter_params.c conf: use typedefs for enums in node_device_conf, nwfilter_params 2014-05-12 16:49:43 -06:00
nwfilter_params.h conf: use typedefs for enums in node_device_conf, nwfilter_params 2014-05-12 16:49:43 -06:00
object_event_private.h event: prepare client to track domain callbackID 2014-02-12 10:48:15 -07:00
object_event.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
object_event.h event: add notion of remoteID for filtering client network events 2014-01-15 13:55:21 -07:00
secret_conf.c maint: shorten 'TypeType' function names 2014-05-16 00:22:18 -06:00
secret_conf.h maint: shorten 'TypeType' function names 2014-05-16 00:22:18 -06:00
snapshot_conf.c conf: store snapshot source as pointer, for easier manipulation 2014-06-06 09:56:27 -06:00
snapshot_conf.h conf: store snapshot source as pointer, for easier manipulation 2014-06-06 09:56:27 -06:00
storage_conf.c maint: shorten 'TypeType' function names 2014-05-16 00:22:18 -06:00
storage_conf.h maint: shorten 'TypeType' function names 2014-05-16 00:22:18 -06:00
virchrdev.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
virchrdev.h