]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: do not count per-device boot elements when parsing <os><boot>
authorJán Tomko <jtomko@redhat.com>
Fri, 18 Aug 2017 15:55:54 +0000 (17:55 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 22 Aug 2017 15:47:24 +0000 (17:47 +0200)
commita530078cd2d7d9a47a6e96a64f70497fb7b2ff10
tree4125a5e503455da5ba9fb1f4f75fc18e2d9dad54
parent4b759a4041d1409de78c52ac9c5ba3a8dbc48e5f
conf: do not count per-device boot elements when parsing <os><boot>

When parsing bootable devices, we maintain a bitmap of used
<boot order=""> elements. Use it in the post-parse function
to figure out whether the user tried to mix per-device and
per-domain boot elements.

This removes the need to count them twice.
src/conf/domain_conf.c