]> xenbits.xensource.com Git - libvirt.git/commit
conf: Move setting type for NVRAM source
authorAndrea Bolognani <abologna@redhat.com>
Thu, 16 Jun 2022 15:53:11 +0000 (17:53 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 1 Jul 2022 13:10:19 +0000 (15:10 +0200)
commitcec35f4a5225d9188a6c201d03531cb9562dabfe
treeec8338ff32555d91f609e695a88340d2914d5ef1
parent040ebb9d1b5d1817ab41c446303ee12d157abda6
conf: Move setting type for NVRAM source

When the 'type' attribute is present we'd end up overwriting
this value via virDomainStorageSourceParse(). Moving this
assignment makes the current code clearer and will also help
with upcoming changes.

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