Merge pull request #12835 from baude/issue12815

Wait for podman stop to complete
This commit is contained in:
OpenShift Merge Robot
2022-01-13 00:34:19 +01:00
committed by GitHub
2 changed files with 119 additions and 12 deletions

View File

@ -29,6 +29,15 @@ type InitOptions struct {
ReExec bool
}
type QemuMachineStatus = string
const (
// Running indicates the qemu vm is running
Running QemuMachineStatus = "running"
// Stopped indicates the vm has stopped
Stopped QemuMachineStatus = "stopped"
)
type Provider interface {
NewMachine(opts InitOptions) (VM, error)
LoadVMByName(name string) (VM, error)