From 9d6efb34428811cc2b55b306733911cf20bd0b44 Mon Sep 17 00:00:00 2001 From: Ashley Cui Date: Fri, 17 Jun 2022 14:47:26 -0400 Subject: Podman machine info Add podman machine info command, which displays infor about the machine host as well as version info. Signed-off-by: Ashley Cui --- pkg/machine/qemu/machine.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pkg/machine/qemu') diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go index 2fe0230cf..616d573eb 100644 --- a/pkg/machine/qemu/machine.go +++ b/pkg/machine/qemu/machine.go @@ -1698,6 +1698,9 @@ func isProcessAlive(pid int) bool { if err == nil || err == unix.EPERM { return true } - return false } + +func (p *Provider) VMType() string { + return vmtype +} -- cgit v1.2.3-54-g00ecf