conf: Rename virDomainLoaderDefParseXMLNvram()

The previous name was identical, modulo the case, to the
completely unrelated virDomainNVRAMDefParseXML().

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Andrea Bolognani 2022-06-16 17:49:08 +02:00
parent 628c018344
commit 040ebb9d1b

View File

@ -17993,10 +17993,10 @@ virDomainDefMaybeAddHostdevSCSIcontroller(virDomainDef *def)
static int static int
virDomainNvramDefParseXML(virDomainLoaderDef *loader, virDomainLoaderDefParseXMLNvram(virDomainLoaderDef *loader,
xmlXPathContextPtr ctxt, xmlXPathContextPtr ctxt,
virDomainXMLOption *xmlopt, virDomainXMLOption *xmlopt,
unsigned int flags) unsigned int flags)
{ {
g_autofree char *nvramType = virXPathString("string(./os/nvram/@type)", ctxt); g_autofree char *nvramType = virXPathString("string(./os/nvram/@type)", ctxt);
g_autoptr(virStorageSource) src = virStorageSourceNew(); g_autoptr(virStorageSource) src = virStorageSourceNew();
@ -18468,7 +18468,7 @@ virDomainDefParseBootLoaderOptions(virDomainDef *def,
fwAutoSelect) < 0) fwAutoSelect) < 0)
return -1; return -1;
if (virDomainNvramDefParseXML(def->os.loader, ctxt, xmlopt, flags) < 0) if (virDomainLoaderDefParseXMLNvram(def->os.loader, ctxt, xmlopt, flags) < 0)
return -1; return -1;
if (!fwAutoSelect) if (!fwAutoSelect)