]> xenbits.xensource.com Git - libvirt.git/commit
domain_conf: fix internal flag verification
authorEric Blake <eblake@redhat.com>
Mon, 25 Aug 2014 18:58:49 +0000 (12:58 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 27 Aug 2014 04:34:03 +0000 (22:34 -0600)
commit79f4c4e694c36e81b585047767d981fdf79c5870
tree630c688d94b544b852c853b1ec7a51ea1fdcb94d
parent1db2f4f76761e64dc4bb4bf557eeccda0b424f99
domain_conf: fix internal flag verification

While working on virDomainBlockCopy, I noticed we had a verify()
concerning internal XML flags that was incomplete after several
recent flag additions; move that up higher in the code to make it
harder to forget to modify on the next flag addition.  Adjust
some formatting while at it.

* src/conf/domain_conf.c (verify): Move closer to internal flag
definitions.  Cover missing flags ALLOW_ROM and ALLOW_BOOT.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/conf/domain_conf.c