diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-07 15:17:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 15:17:40 +0000 |
commit | dd0418a5fe0c44d4358b0118bd2a9847d78a80a2 (patch) | |
tree | 16878580c5e99c505a1b339e6fb270c07d5eb79a /pkg/machine/qemu | |
parent | 1855b63e5acc4d96dcbb0c4269b8c40498cdd000 (diff) | |
parent | 9d6efb34428811cc2b55b306733911cf20bd0b44 (diff) | |
download | podman-dd0418a5fe0c44d4358b0118bd2a9847d78a80a2.tar.gz podman-dd0418a5fe0c44d4358b0118bd2a9847d78a80a2.tar.bz2 podman-dd0418a5fe0c44d4358b0118bd2a9847d78a80a2.zip |
Merge pull request #14762 from ashley-cui/machinfo
Podman machine info
Diffstat (limited to 'pkg/machine/qemu')
-rw-r--r-- | pkg/machine/qemu/machine.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go index ca7947e34..d208b11eb 100644 --- a/pkg/machine/qemu/machine.go +++ b/pkg/machine/qemu/machine.go @@ -1701,6 +1701,9 @@ func isProcessAlive(pid int) bool { if err == nil || err == unix.EPERM { return true } - return false } + +func (p *Provider) VMType() string { + return vmtype +} |