From a314af7f8bfdbbd4234f2d0800a5b95ebfd207fa Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 26 Oct 2024 21:05:16 -0500 Subject: cleanup Signed-off-by: Jeff Carr --- hypervisior.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hypervisior.go') diff --git a/hypervisior.go b/hypervisior.go index cc96a94..2085e98 100644 --- a/hypervisior.go +++ b/hypervisior.go @@ -22,7 +22,8 @@ import ( "github.com/digitalocean/go-qemu/qemu" ) -func poolHypervisor(hv *hypervisor.Hypervisor) string { +// get the list of domains from libvirt +func pollHypervisor(hv *hypervisor.Hypervisor) string { var out string // fmt.Printf("\n**********Domains**********\n") domains, err := hv.Domains() @@ -76,6 +77,7 @@ func poolHypervisor(hv *hypervisor.Hypervisor) string { return out } +/* func displayBlockDevices(domain *qemu.Domain) { // var []blks string blockDevices, err := domain.BlockDevices() @@ -105,3 +107,4 @@ func displayPCIDevices(domain *qemu.Domain) { fmt.Printf("[%10s] [%20s]\n", pciDevice.QdevID, pciDevice.ClassInfo.Desc) } } +*/ -- cgit v1.2.3