From d3d7cc3e59bea677addb2ced5267de382ba30844 Mon Sep 17 00:00:00 2001 From: Roman Tomjak <6570684+romantomjak@users.noreply.github.com> Date: Thu, 16 Jul 2020 17:56:58 +0100 Subject: [PATCH] configure packet queues on nics --- builder/proxmox/step_start_vm.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builder/proxmox/step_start_vm.go b/builder/proxmox/step_start_vm.go index 63d961125..11b9c2760 100644 --- a/builder/proxmox/step_start_vm.go +++ b/builder/proxmox/step_start_vm.go @@ -106,6 +106,10 @@ func generateProxmoxNetworkAdapters(nics []nicConfig) proxmox.QemuDevices { setDeviceParamIfDefined(devs[idx], "bridge", nics[idx].Bridge) setDeviceParamIfDefined(devs[idx], "tag", nics[idx].VLANTag) setDeviceParamIfDefined(devs[idx], "firewall", strconv.FormatBool(nics[idx].Firewall)) + + if nics[idx].PacketQueues > 0 { + devs[idx]["queues"] = nics[idx].PacketQueues + } } return devs }