things are back to normal

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-11-01 12:49:34 -05:00
parent edb7b34092
commit d1944c388f
1 changed files with 8 additions and 0 deletions

View File

@ -38,6 +38,14 @@ func DumpNonStandardXML(domcfg *libvirtxml.Domain) (string, error) {
standardOS = true
}
}
if domcfg.OS.NVRam != nil {
result += fmt.Sprintf("nvram: %+v\n", domcfg.OS.NVRam)
standardOS = false
}
if domcfg.OS.Loader != nil {
result += fmt.Sprintf("loader: %+v\n", domcfg.OS.Loader)
standardOS = false
}
}
if standardOS {
domcfg.OS = nil