bin liu f971801b10 qemu: only set wait parameter for server mode socket based char device
Now the `wait` is passed to qmp command, even at non-server mode. This
will cause qemu return this error:
'wait' option is incompatible with socket in client connect mode

Fixes: #205

Signed-off-by: bin liu <liubin0329@gmail.com>
2021-11-18 15:52:22 +08:00
2017-12-11 11:05:31 +00:00
2017-12-11 11:05:31 +00:00
2021-07-21 11:38:07 -05:00

Virtual Machine Manager for Go

Go Report Card Build Status GoDoc Coverage Status

Virtual Machine Manager for Go (govmm) is a suite of packages that provide Go APIs for creating and managing virtual machines. There's currently support for only one hypervisor, qemu/kvm (version 5.0 and later), support for which is provided by the github.com/kata-containers/govmm/qemu package.

The qemu package provides APIs for launching qemu instances and for managing those instances via QMP, once launched. VM instances can be stopped, have devices attached to them and monitored for events via the qemu APIs.

The qemu package has no external dependencies apart from the Go standard library and so is nice and easy to vendor inside other projects.

Languages
Rust 58%
Go 24.6%
Shell 10.1%
RPC 5.3%
Makefile 1%
Other 0.9%