• J
    Don't replace persistent domain config with migrated config · 59821682
    Jiri Denemark 提交于
    When a domain is defined on host1, migrated to host2 and then migrated
    back to host1, its current configuration would overwrite the libvirtd's
    in-memory copy of persistent configuration of that domain. This is not
    desired as we want to preserve the persistent configuration untouched.
    
    This patch introduces new 'live' parameter to virDomainAssignDef.
    Passing 'true' for 'live' means the configuration passed to
    virDomainAssignDef describes a configuration of live instance of the
    domain. This applies for saved domains which are being restored or for
    incoming domains during migration.
    
    All callers have been changed to pass the appropriate value.
    59821682
test_driver.c 150.4 KB