summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-13 03:04:46 -0500
committerJeff Carr <[email protected]>2024-10-13 03:04:46 -0500
commite149b3218d26b4996fc76072145efda6eb9f9856 (patch)
tree43ea8d350ea5eaf20c8313a07037383b40dd7680 /structs.go
parentca1a78394fe2fe7d556153819dd5f20e3d65920a (diff)
last version restarted virtigod to libvirt hang
it would appear at this point there is some sort of bug that hangs libvirtd. stracing it isn't obvious to me due to my lack of experience with really working with strace much. When virtigod hangs, 'virsh list' also hangs from the command line. If I kill virtigod, everything starts working again and I get lots of output from libvirtd --listen but I haven't investigated any of the errors yet or looked further. I probably will just work around this problem rather than solving it in this case since my need here is to get to working on riscv uboot development where my usefullness is better. hopefully. Or, maybe it's what I'm more interested in. maybe this bug doesn't exist on riscv. haha to you reading this, virtualization with riscv doesn't really even exist much yet. The chips are still too new! Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 7d9d2cc..de73e77 100644
--- a/structs.go
+++ b/structs.go
@@ -24,6 +24,7 @@ type virtigoT struct {
// the stuff that is needed for a hypervisor
type HyperT struct {
Hostname string // the hypervisor hostname
+ Active bool // is allowed to start new droplets
Scan func() // the function to run to scan the hypervisor
Autoscan bool // to scan or not to scan
Delay time.Duration // how often to poll the hypervisor