Skip to content

Commit 88cd9dd

Browse files
committed
buildlet: change image name for COS-with-vmx buildlet
The COS image I'd forked from earlier didn't have CONFIG_KVM or CONFIG_KVM_INTEL enabled in its kernel, so even though I'd enabled the VMX license bit for the VM, the kernel was unable to use it. Now I've instead rebuilt the ChromiumOS "lakitu" board with a modified kernel config: https://cloud.google.com/container-optimized-os/docs/how-to/building-from-open-source More docs later. Still tinkering. Nothing uses this yet. Updates golang/go#15581 (solaris) Updates golang/go#23060 (dragonfly) Updates golang/go#30262 (riscv) Updates golang/go#30267 (fuchsia) Updates golang/go#23824 (android) Change-Id: Id2839066e67d9ddda939d96c5f4287af3267a769 Reviewed-on: https://go-review.googlesource.com/c/163057 Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 34d10b6 commit 88cd9dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildlet/gce.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ func StartNewVM(creds *google.Credentials, buildEnv *buildenv.Environment, instN
154154
// Virtualization reaches GA it'll just become a boolean we
155155
// can set in our compute.Instance creation request and this
156156
// license opt-in mechanism will be unnecessary.
157-
const coxVMXImage = "cos-stable-72-11316-136-0-vmx"
158-
srcImage = "https://www.googleapis.com/compute/v1/projects/" + projectID + "/global/images/" + coxVMXImage
157+
const cosVMXImage = "cros-kvm-2"
158+
srcImage = "https://www.googleapis.com/compute/v1/projects/" + projectID + "/global/images/" + cosVMXImage
159159
} else {
160160
var err error
161161
srcImage, err = cosImage(ctx, computeService)

0 commit comments

Comments
 (0)