recovery

package
v2.0.0-...-f0b7fcc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecoverVMs

func RecoverVMs(root string) (map[string][]MinimegaQemuKVM, error)

RecoverVMs attempts to read through and recover each VM linked in the namespaces directory. If a VM's state is either RUNNING or PAUSED, an existing QEMU process is searched for.

Types

type MinimegaQemuKVM

type MinimegaQemuKVM struct {
	QemuProcess

	Namespace string
	State     string
}

type QemuProcess

type QemuProcess struct {
	PID  int
	UUID string
	VMID string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL