summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaya Rashish <maya@NetBSD.org>2021-09-03 22:42:41 +0300
committerMaya Rashish <maya@NetBSD.org>2021-09-03 22:43:38 +0300
commit274a3bc80b933a9b0e194c007f24bba9856fbd03 (patch)
treed46c64f92c09f85454aa2929036be0a36a086846
parent469900406ac51332785455bc8668bd1c053badd6 (diff)
downloadpodman-274a3bc80b933a9b0e194c007f24bba9856fbd03.tar.gz
podman-274a3bc80b933a9b0e194c007f24bba9856fbd03.tar.bz2
podman-274a3bc80b933a9b0e194c007f24bba9856fbd03.zip
Remove unused stubs intended to start a machine with libvirt
[NO TESTS NEEDED] Signed-off-by: Maya Rashish <maya@NetBSD.org>
-rw-r--r--pkg/machine/libvirt/config.go6
-rw-r--r--pkg/machine/libvirt/machine.go17
-rw-r--r--pkg/machine/libvirt/machine_unsupported.go3
3 files changed, 0 insertions, 26 deletions
diff --git a/pkg/machine/libvirt/config.go b/pkg/machine/libvirt/config.go
deleted file mode 100644
index 1ce5ab154..000000000
--- a/pkg/machine/libvirt/config.go
+++ /dev/null
@@ -1,6 +0,0 @@
-// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
-
-package libvirt
-
-type MachineVM struct {
-}
diff --git a/pkg/machine/libvirt/machine.go b/pkg/machine/libvirt/machine.go
deleted file mode 100644
index e1aa1569b..000000000
--- a/pkg/machine/libvirt/machine.go
+++ /dev/null
@@ -1,17 +0,0 @@
-// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
-
-package libvirt
-
-import "github.com/containers/podman/v3/pkg/machine"
-
-func (v *MachineVM) Init(name string, opts machine.InitOptions) error {
- return nil
-}
-
-func (v *MachineVM) Start(name string) error {
- return nil
-}
-
-func (v *MachineVM) Stop(name string) error {
- return nil
-}
diff --git a/pkg/machine/libvirt/machine_unsupported.go b/pkg/machine/libvirt/machine_unsupported.go
deleted file mode 100644
index 8b54440fe..000000000
--- a/pkg/machine/libvirt/machine_unsupported.go
+++ /dev/null
@@ -1,3 +0,0 @@
-// +build !amd64 amd64,windows
-
-package libvirt