]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Expose iothreadids when delete non sequential iothreadids
authorJohn Ferlan <jferlan@redhat.com>
Wed, 6 May 2015 14:13:54 +0000 (10:13 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 14 May 2015 12:36:34 +0000 (08:36 -0400)
commit375c185ca8a2b4bd1ba335d8568b0067632f61a4
tree7c536af1bf9609be4dedb12c6e61d9b11eff7bb6
parent60107346a40d362805301113a965213eaa33aa85
conf: Expose iothreadids when delete non sequential iothreadids

Since 'autofill'd iothreadid entries are not written during XML format
processing, it is possible that if an iothreadid in the middle of an
autofilled list would then change it's id on a subsequent restart.

Thus during the iothreadid deletion, if we determine the delete is not
the "last" thread, then clear the autofill bit for all iothreadid's
following the one being deleted (either the first or one in the middle).
This way, iothreadid's will be printed/saved.
src/conf/domain_conf.c