summaryrefslogtreecommitdiff
path: root/libvirtxml.go
diff options
context:
space:
mode:
Diffstat (limited to 'libvirtxml.go')
-rw-r--r--libvirtxml.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/libvirtxml.go b/libvirtxml.go
index b40c3a1..38a90a1 100644
--- a/libvirtxml.go
+++ b/libvirtxml.go
@@ -376,7 +376,10 @@ func dumpNonStandardXML(domcfg *libvirtxml.Domain) (string, error) {
// this is probably something about what kind of OS you might be running
// todo: get this directly from the disk image
if domcfg.Metadata != nil {
- fmt.Printf("Not saving Domain.Metadata: %+v\n", domcfg.Metadata)
+ var s string
+ s = domcfg.Metadata.XML
+ log.Info("Not saving Domain.Metadata.XML:", s)
+ log.Info("todo: get this from disk image")
domcfg.Metadata = nil
}