quiet xml checking output

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-10-23 14:35:59 -05:00
parent c8d734e290
commit b77eb0db4e
1 changed files with 7 additions and 7 deletions

14
xml.go
View File

@ -321,13 +321,13 @@ func dumpNonStandardXML(domcfg *libvirtxml.Domain) {
case "usb":
switch controller.Model {
case "ich9-ehci1":
fmt.Printf("OK USB: %s, %d\n", controller.Model, *controller.Index)
// fmt.Printf("OK USB: %s, %d\n", controller.Model, *controller.Index)
case "ich9-uhci1":
fmt.Printf("OK USB: %s, %d\n", controller.Model, *controller.Index)
// fmt.Printf("OK USB: %s, %d\n", controller.Model, *controller.Index)
case "ich9-uhci2":
fmt.Printf("OK USB: %s, %d\n", controller.Model, *controller.Index)
// fmt.Printf("OK USB: %s, %d\n", controller.Model, *controller.Index)
case "ich9-uhci3":
fmt.Printf("OK USB: %s, %d\n", controller.Model, *controller.Index)
// fmt.Printf("OK USB: %s, %d\n", controller.Model, *controller.Index)
default:
keepPCI = append(keepPCI, controller)
normalPCI = false
@ -337,13 +337,13 @@ func dumpNonStandardXML(domcfg *libvirtxml.Domain) {
fmt.Printf("USB: Domain: %+v Slot %d Function %d\n", *pci.Domain, *pci.Slot, *pci.Function)
}
case "ide":
fmt.Printf("IGNORE IDE\n")
// fmt.Printf("IGNORE IDE\n")
case "virtio-serial":
fmt.Printf("IGNORE virtio-serial\n")
// fmt.Printf("IGNORE virtio-serial\n")
case "scsi":
switch controller.Model {
case "lsilogic":
fmt.Printf("IGNORE SCSI: lsilogic\n")
// fmt.Printf("IGNORE SCSI: lsilogic\n")
default:
keepPCI = append(keepPCI, controller)
normalPCI = false