diff options
| author | Jeff Carr <[email protected]> | 2024-10-25 16:08:55 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-25 16:08:55 -0500 |
| commit | 15f48a01ab043a996b72460358ffca2e47b3d88f (patch) | |
| tree | 209ac91813d3f74e21913af6754f665cf44883de /libvirtxml.go | |
| parent | cf79357bbab75b356ba3cc77f2c7f7e7c86d3bbd (diff) | |
pretty good XML handling at this pointv0.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'libvirtxml.go')
| -rw-r--r-- | libvirtxml.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libvirtxml.go b/libvirtxml.go index 64b6814..f872c75 100644 --- a/libvirtxml.go +++ b/libvirtxml.go @@ -331,10 +331,9 @@ func dumpNonStandardXML(domcfg *libvirtxml.Domain) (string, error) { domcfg.CPU = nil case "custom": updatedXML, _ := xml.MarshalIndent(domcfg.CPU, "", " ") - log.Info("Ignore custom CPU Start") + log.Info("Ignoring custom CPU Start") fmt.Println(string(updatedXML)) - log.Info("Ignore custom CPU End") - log.Info("Add --xml-ignore-cpu to ignore this") + log.Info("Ignoring custom CPU End (--xml-ignore-cpu=true)") if argv.IgnoreCpu { domcfg.CPU = nil } |
