Set the VIRTIO_SCSI_MULTIQUEUE feature on our images.
@@ -46,6 +46,7 @@ IMAGE_CREATION_VMS = {
"source_image_family": "ubuntu-1804-lts",
"setup_script": "setup-docker.sh",
"boot_disk_size": "10GB",
+ "guest_os_features": ["VIRTIO_SCSI_MULTIQUEUE"],
"licenses": [
"https://www.googleapis.com/compute/v1/projects/vm-options/global/licenses/enable-vmx"
],
@@ -57,6 +58,7 @@ IMAGE_CREATION_VMS = {
"source_image_family": "ubuntu-1804-lts",
"setup_script": "setup-docker.sh",
"boot_disk_size": "10GB",
+ "guest_os_features": ["VIRTIO_SCSI_MULTIQUEUE"],
"licenses": [
"https://www.googleapis.com/compute/v1/projects/vm-options/global/licenses/enable-vmx"
],
@@ -68,6 +70,7 @@ IMAGE_CREATION_VMS = {
"source_image_family": "ubuntu-1804-lts",
"setup_script": "setup-docker.sh",
"boot_disk_size": "10GB",
+ "guest_os_features": ["VIRTIO_SCSI_MULTIQUEUE"],
"licenses": [
"https://www.googleapis.com/compute/v1/projects/vm-options/global/licenses/enable-vmx"
],
@@ -79,6 +82,7 @@ IMAGE_CREATION_VMS = {
"source_image_family": "windows-1809-core",
"setup_script": "setup-windows.ps1",
"boot_disk_size": "32GB",
+ "guest_os_features": ["VIRTIO_SCSI_MULTIQUEUE"],
},
"bk-testing-windows-java8": {
"project": "bazel-untrusted",
@@ -87,6 +91,7 @@ IMAGE_CREATION_VMS = {
"source_image_family": "windows-1809-core",
"setup_script": "setup-windows.ps1",
"boot_disk_size": "32GB",
+ "guest_os_features": ["VIRTIO_SCSI_MULTIQUEUE"],
},
"bk-trusted-windows-java8": {
"project": "bazel-public",
@@ -103,6 +108,7 @@ IMAGE_CREATION_VMS = {
"source_image_family": "windows-2019",
"setup_script": "setup-windows.ps1",
"boot_disk_size": "50GB",
+ "guest_os_features": ["VIRTIO_SCSI_MULTIQUEUE"],
},
}
@@ -234,6 +240,7 @@ def workflow(name, params):
source_disk=instance_name,
source_disk_zone=zone,
licenses=params.get("licenses", []),
+ guest_os_features=params.get("guest_os_features", []),
)
finally:
gcloud.delete_instance(instance_name, project=project, zone=zone)
