spiegel_podman/pkg/machine
Paul Holzinger 61a67a07b1
pkg/machine/qemu: start VM check if qemu is alive
When trying to connect to the qemu ready socket we should check if the
qemu process is still running, if it is not we can just error out. There
is no point in retrying.
To do so we have to directly call wait with WNOHANG.

Also change StartProcess to os/exec package which is higher level and
allows us to use a buffer as qemu stderr fd.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-07-07 20:57:26 +02:00
..
e2e pkg/machine/e2e: do not import from cmd/podman 2022-07-07 20:48:28 +02:00
qemu pkg/machine/qemu: start VM check if qemu is alive 2022-07-07 20:57:26 +02:00
wsl Merge pull request #14762 from ashley-cui/machinfo 2022-07-07 15:17:40 +00:00
config.go Podman machine info 2022-07-05 15:18:41 -04:00
config_test.go pkg/machine: add missing build tags to tests 2022-07-04 18:09:30 +02:00
connection.go Introduce podman machine init --root=t|f and podman machine set --root=t|f 2022-02-16 03:49:17 -06:00
fcos.go golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
fedora.go enable gocritic linter 2022-04-26 18:12:22 +02:00
ignition.go Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
ignition_darwin.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_linux.go Set machine timezone 2021-12-16 12:40:20 -06:00
ignition_schema.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_windows.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
keys.go reveal machine error, ignore false state 2022-06-27 12:40:15 -05:00
machine_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
pull.go Remove error stutter 2022-03-25 21:47:04 -04:00