From 15f48a01ab043a996b72460358ffca2e47b3d88f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 25 Oct 2024 16:08:55 -0500 Subject: pretty good XML handling at this point Signed-off-by: Jeff Carr --- libvirtxml.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libvirtxml.go') 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 } -- cgit v1.2.3