libvirt/src/remote
Eric Blake a27031c408 snapshot: Define explicit flags for snapshot xml
Commit f609cb85 (0.9.5) introduced virDomainSnapshotGetXMLDesc()'s use
of @flags as a subset of virDomainXMLFlags, documenting that 2 of the
3 flags defined at the time would never be valid.  Later, commit
28f8dfdc (1.0.0) introduced a new flag, VIR_DOMAIN_XML_MIGRATABLE, but
did not adjust the snapshot documentation to declare it as invalid.
However, since the flag is not accepted as valid by any of the
drivers (remote is just passthrough; esx and vbox don't support flags;
qemu, test, and vz only support VIR_DOMAIN_XML_SECURE), and it is
unlikely that the domain state saved off during a snapshot creation
needs to be migration-friendly (as the snapshot is not the source of
a migration), it is easier to just define an explicit set of supported
flags directly related to the snapshot API rather than trying to
borrow from domain API, and risking confusion if even more domain
flags are added later (in fact, I have an upcoming patch that plans to
add a new flag to virDomainGetXMLDesc that makes no sense for
snapshots).

There is no API or ABI impact (since we purposefully used unsigned int
rather than an enum type in public API, and since the new flag name
carries the same value as the reused name).

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2019-02-19 21:34:42 -06:00
..
libvirtd.aug rpc: remove remains of obsolete log_buffer_size config parameter 2018-03-23 10:44:35 +00:00
libvirtd.conf log: update docs for daemons to improve user understanding 2018-05-11 17:11:46 +01:00
libvirtd.init.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.libxl.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.lxc.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.pod daemon: move libvirtd POD manpage into src/remote/ 2018-02-22 12:21:09 +00:00
libvirtd.policy Do not generate polkit rules file 2018-03-14 12:46:26 +01:00
libvirtd.qemu.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.rules daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.sasl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.service.in libvirtd: Add service dependency on systemd-logind 2018-06-12 13:29:42 -04:00
libvirtd.sysconf daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.sysctl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.upstart daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
lxc_protocol.x Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
Makefile.inc.am src: Don't use double-colon rules 2019-01-16 10:19:48 +01:00
qemu_protocol.x Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
remote_daemon_config.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
remote_daemon_config.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
remote_daemon_dispatch.c remote: remove variable whose value is a constant 2019-01-31 10:38:30 +00:00
remote_daemon_dispatch.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
remote_daemon_stream.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
remote_daemon_stream.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
remote_daemon.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
remote_daemon.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
remote_driver.c rpc: client stream: dispose private data on stream dispose 2019-02-08 16:51:45 +01:00
remote_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
remote_protocol.x snapshot: Define explicit flags for snapshot xml 2019-02-19 21:34:42 -06:00
test_libvirtd.aug.in log: update docs for daemons to improve user understanding 2018-05-11 17:11:46 +01:00
virt-guest-shutdown.target.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00