mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
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:
parent
628c018344
commit
040ebb9d1b
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user