libvirt/src/parallels
Dmitry Guryanov 2027045f8a parallels: fix virDomainDefineXML for domain in saved state
PCS doesn't store domain config in managed save state file.
It's forbidden to change config for VMs in this state.
It's possible to change config for containers, but after
restoring domain will have that new config, not a config,
which domain had at the moment of virDomainManagedSave.

So we need to handle this case differently from other states.
Let's forbid this operation, if config is changed and if it's
not changed - just do nothing.

Openstack/nova calls virDomainDefineXML on resume with
current domain config, so we can't forbid this operation
in managed save state.

Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
2015-04-10 13:39:35 +02:00
..
parallels_driver.c parallels: fix virDomainDefineXML for domain in saved state 2015-04-10 13:39:35 +02:00
parallels_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
parallels_network.c network_conf: Drop virNetworkObjIsDuplicate 2015-03-23 09:56:15 +01:00
parallels_sdk.c parallels: add implicit input devices 2015-04-10 09:50:30 +02:00
parallels_sdk.h parallels: implement virDomainManagedSave 2015-04-10 09:50:29 +02:00
parallels_storage.c parallels: Cleanup partly opened drivers on connect open failure 2015-03-05 08:38:21 +01:00
parallels_utils.c Indent top-level labels by one space in src/parallels/ 2014-03-25 14:58:39 +01:00
parallels_utils.h parallels: introduce and use string constants for network types and names 2015-03-18 17:35:21 +01:00