aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vmimpl/vmimpl.go
diff options
context:
space:
mode:
Diffstat (limited to 'vm/vmimpl/vmimpl.go')
-rw-r--r--vm/vmimpl/vmimpl.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/vm/vmimpl/vmimpl.go b/vm/vmimpl/vmimpl.go
index 5a8fed098..b3b7b19e4 100644
--- a/vm/vmimpl/vmimpl.go
+++ b/vm/vmimpl/vmimpl.go
@@ -59,6 +59,12 @@ type Instance interface {
Close()
}
+// Infoer is an optional interface that can be implemented by Instance.
+type Infoer interface {
+ // MachineInfo returns additional info about the VM, e.g. VMM version/arguments.
+ Info() ([]byte, error)
+}
+
// Env contains global constant parameters for a pool of VMs.
type Env struct {
// Unique name