spiegel_podman/pkg/machine/qemu
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
..
claim_darwin.go Initial implementation of mac forwarding using a privileged docker sock claim helper 2022-02-16 03:49:17 -06:00
claim_unsupported.go Initial implementation of mac forwarding using a privileged docker sock claim helper 2022-02-16 03:49:17 -06:00
config.go Make podman machine stop wait for qemu to exit 2022-06-28 13:28:38 -04:00
config_test.go pkg/machine: add missing build tags to tests 2022-07-04 18:09:30 +02:00
machine.go pkg/machine/qemu: start VM check if qemu is alive 2022-07-07 20:57:26 +02:00
machine_test.go pkg/machine: add missing build tags to tests 2022-07-04 18:09:30 +02:00
machine_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
options_darwin.go Fix #11418 - Default TMPDIR to /tmp on OS X 2021-09-04 08:40:57 +02:00
options_darwin_amd64.go Fix warning of unsupported feature on MacOS 2021-09-06 09:55:24 -07:00
options_darwin_arm64.go Merge pull request #14324 from anjannath/qemu-test 2022-06-14 18:02:27 +00:00
options_linux.go bump go module to version 4 2022-01-18 12:47:07 +01:00
options_linux_amd64.go Add machine support for more Linux distros 2021-03-28 13:35:56 +02:00
options_linux_arm64.go Add machine support for qemu-system-aarch64 2021-03-29 21:53:48 +02:00