]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Keep 'readonly' property when resetting disk source
authorPeter Krempa <pkrempa@redhat.com>
Fri, 7 Apr 2017 11:44:54 +0000 (13:44 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 13 Apr 2017 10:12:54 +0000 (12:12 +0200)
commit7526a71586d4072cef7d66798c3da4d30e163e7d
tree999fc895498148f3eb2c54c11d2355bab9b7d690
parentb003b9781b6ae633cfe4fdf6b9620ca246fa2432
conf: Keep 'readonly' property when resetting disk source

The property is necessary also for the disk using the source (e.g. cdrom)
which needs to be kept readonly.

Commit '462c4b66' was a bit too aggressive in this aspect, since the
readonly flag is set only while parsing.
src/conf/domain_conf.c