aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vmimpl
diff options
context:
space:
mode:
authorGreg Steuck <blackgnezdo@gmail.com>2018-11-27 04:14:06 -0800
committerDmitry Vyukov <dvyukov@google.com>2018-11-27 13:14:06 +0100
commit6419afbb779b26af853b46d8ad79cfe52b6f7805 (patch)
tree7b8ed176a713899de153619f9d41c675c703ed2a /vm/vmimpl
parentac912200b65d80413762b8d61eb6399ef9eccfd9 (diff)
openbsd: run on gce
* build/openbsd: minor cleanup (use tuples instead of maps) * Grammar nits in comments. * Simplify openbsd.Create, will defer when there's more than one error exit. * pkg/build: Support copying kernel into GCE image * Simple test for openbsd image copy build. * Cleanup in case something failed before. * Support multi-processor VMs on GCE. * More debug * Reformat * OpenBSD gce image needs to be raw. * GC * Force format to GNU directly on Go 1.10 or newer. * Use vmType passed as a parameter inside openbsd.go * gofmt * more fmt * Can't use GENERIC.mp just yet. * capitalize * Copyright
Diffstat (limited to 'vm/vmimpl')
-rw-r--r--vm/vmimpl/vmimpl.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/vmimpl/vmimpl.go b/vm/vmimpl/vmimpl.go
index e9ac59dd6..7831a0bef 100644
--- a/vm/vmimpl/vmimpl.go
+++ b/vm/vmimpl/vmimpl.go
@@ -33,8 +33,8 @@ type Instance interface {
// Copy copies a hostSrc file into VM and returns file name in VM.
Copy(hostSrc string) (string, error)
- // Forward setups forwarding from within VM to host port port
- // and returns address to use in VM.
+ // Forward sets up forwarding from within VM to the given tcp
+ // port on the host and returns the address to use in VM.
Forward(port int) (string, error)
// Run runs cmd inside of the VM (think of ssh cmd).