mirror of
https://github.com/containers/podman.git
synced 2025-08-02 09:12:36 +08:00
Merge pull request #12835 from baude/issue12815
Wait for podman stop to complete
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user