]> xenbits.xensource.com Git - libvirt.git/commit
conf: Refactor virDomainDefOSValidate()
authorAndrea Bolognani <abologna@redhat.com>
Thu, 16 Jun 2022 09:30:30 +0000 (11:30 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 1 Jul 2022 13:10:32 +0000 (15:10 +0200)
commitf5dcd8b9796f7dacb9e91da17099d39c5622e328
tree7421347d0b8ab155bc27785b885ebd6928e0ef4b
parent421d4f1fa84529f9c7c5d884e09ec42a71d737f0
conf: Refactor virDomainDefOSValidate()

This makes it explicit that there are two possible scenarios
(whether or not firmware autoselection is in use) and will make
upcoming changes cleaner to implement.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_validate.c