aboutsummaryrefslogtreecommitdiff
path: root/pkg/machine/qemu/config.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-26 09:08:31 -0400
committerGitHub <noreply@github.com>2022-04-26 09:08:31 -0400
commite7c30d855f7c827f3b8f7c9fcf7465a7543e3d29 (patch)
tree2a31481c55271a98de43e19d5a312cb164b7e810 /pkg/machine/qemu/config.go
parentace6672bf1a9b011a3c414783496668b5f27f3eb (diff)
parentd441a711e5590cc579ae0e0a73ea463718d4d79e (diff)
downloadpodman-e7c30d855f7c827f3b8f7c9fcf7465a7543e3d29.tar.gz
podman-e7c30d855f7c827f3b8f7c9fcf7465a7543e3d29.tar.bz2
podman-e7c30d855f7c827f3b8f7c9fcf7465a7543e3d29.zip
Merge pull request #13996 from cdoern/machine
machine starting status
Diffstat (limited to 'pkg/machine/qemu/config.go')
-rw-r--r--pkg/machine/qemu/config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/machine/qemu/config.go b/pkg/machine/qemu/config.go
index 7340de604..9473eef6f 100644
--- a/pkg/machine/qemu/config.go
+++ b/pkg/machine/qemu/config.go
@@ -86,6 +86,12 @@ type MachineVM struct {
ResourceConfig
// SSHConfig for accessing the remote vm
SSHConfig
+ // Starting tells us whether the machine is running or if we have just dialed it to start it
+ Starting bool
+ // Created contains the original created time instead of querying the file mod time
+ Created time.Time
+ // LastUp contains the last recorded uptime
+ LastUp time.Time
}
// ImageConfig describes the bootable image for the VM