aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorShane Smith <shane.smith@shopify.com>2022-06-15 14:58:08 -0400
committerShane Smith <shane.smith@shopify.com>2022-06-28 13:28:38 -0400
commit59a7ac210b56865540131c73777a90ebe96c591c (patch)
tree601a2ec2d5f07e8c07dbc1eb1d2a046b232dd07e /utils
parent8f79604864412a05d5d1b8614cb356f5b481306b (diff)
downloadpodman-59a7ac210b56865540131c73777a90ebe96c591c.tar.gz
podman-59a7ac210b56865540131c73777a90ebe96c591c.tar.bz2
podman-59a7ac210b56865540131c73777a90ebe96c591c.zip
Make `podman machine stop` wait for qemu to exit
- New `VMPidFilePath` field in MachineVM config holds the path for the qemu PID file - qemu is now started with the `-pidfile` argument set to `VMPidFilePath` - Machines created before this won't have the VM PID file configured, stopping these VMs will revert back to waiting on the state to change away from `Running`, plus an added 2s sleep to give time for the VM to exit and to avoid potential issues - Machines created after this will have a VM PID file configured and stopping the machine will wait indefinitely for the VM to exit [NO NEW TESTS NEEDED] Signed-off-by: Shane Smith <shane.smith@shopify.com>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions