Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions os_builders/build.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,17 @@ source "openstack" "builder" {
metadata = {
"hw_machine_type" : "q35",
"hw_disk_bus" : "scsi",
"hw_firmware_type" : "uefi",
"hw_qemu_guest_agent" : "yes",
"hw_scsi_model" : "virtio-scsi",
"hw_vif_multiqueue_enabled" : "true",
"os_require_quiesce" : "yes"
"os_require_quiesce" : "yes",
# This must be set to BIOS to avoid problems where NVIDIA drivers expect BAR support
# (as we are in EFI mode) but our host HVs are still in BIOS mode.
# "NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:"
# "NVRM: BAR0 is 0M @ 0x0", where the BAR offered is a 0MB region so obviously invalid.
# Once we're RL9 + EFI + Above 4GB decoding everywhere we can enable EFI which gives
# some perf benefits for GPU passthrough where REBAR can be used
"hw_firmware_type" : "bios"
}
}

Expand Down