summaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-07-07 19:30:51 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-07-07 20:57:26 +0200
commit61a67a07b1f6d7ab0a358ee19da90b9392900f49 (patch)
tree881e88a032d97cda12f1bd88fa4cd84f3868592e /pkg/domain
parenta26cf638e070321ec529fce058f1cf1935f36708 (diff)
downloadpodman-61a67a07b1f6d7ab0a358ee19da90b9392900f49.tar.gz
podman-61a67a07b1f6d7ab0a358ee19da90b9392900f49.tar.bz2
podman-61a67a07b1f6d7ab0a358ee19da90b9392900f49.zip
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>
Diffstat (limited to 'pkg/domain')
0 files changed, 0 insertions, 0 deletions