Skip to content

Commit

Permalink
Merge pull request #587 from kubevirt-bot/cherry-pick-586-to-release-…
Browse files Browse the repository at this point in the history
…v0.29

[release-v0.29] fix: Enable networkInterfaceMultiqueue only if sockets > 1
  • Loading branch information
kubevirt-bot authored Jun 20, 2024
2 parents 439a454 + 3f64e24 commit 6081478
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 6 deletions.
2 changes: 2 additions & 0 deletions templates/centos-stream8.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ objects:
guest: {{ item.memsize }}
devices:
rng: {}
{% if item.cpus > 1 %}
networkInterfaceMultiqueue: true
{% endif %}
{% if item.tablet %}
inputs:
- type: tablet
Expand Down
2 changes: 2 additions & 0 deletions templates/centos-stream9.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ objects:
guest: {{ item.memsize }}
devices:
rng: {}
{% if item.cpus > 1 %}
networkInterfaceMultiqueue: true
{% endif %}
{% if item.tablet %}
inputs:
- type: tablet
Expand Down
2 changes: 2 additions & 0 deletions templates/centos6.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ objects:
memory:
guest: {{ item.memsize }}
devices:
{% if item.cpus > 1 %}
networkInterfaceMultiqueue: true
{% endif %}
useVirtioTransitional: true
rng: {}
{% if item.tablet %}
Expand Down
2 changes: 2 additions & 0 deletions templates/centos7.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ objects:
guest: {{ item.memsize }}
devices:
rng: {}
{% if item.cpus > 1 %}
networkInterfaceMultiqueue: true
{% endif %}
{% if item.tablet %}
inputs:
- type: tablet
Expand Down
2 changes: 2 additions & 0 deletions templates/fedora.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ objects:
guest: {{ item.memsize }}
devices:
rng: {}
{% if item.cpus > 1 %}
networkInterfaceMultiqueue: true
{% endif %}
{% if item.tablet %}
inputs:
- type: tablet
Expand Down
2 changes: 2 additions & 0 deletions templates/opensuse.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ objects:
guest: {{ item.memsize }}
devices:
rng: {}
{% if item.cpus > 1 %}
networkInterfaceMultiqueue: true
{% endif %}
{% if item.tablet %}
inputs:
- type: tablet
Expand Down
2 changes: 2 additions & 0 deletions templates/rhel7.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ objects:
guest: {{ item.memsize }}
devices:
rng: {}
{% if item.cpus > 1 %}
networkInterfaceMultiqueue: true
{% endif %}
{% if item.tablet %}
inputs:
- type: tablet
Expand Down
2 changes: 2 additions & 0 deletions templates/rhel8.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ objects:
guest: {{ item.memsize }}
devices:
rng: {}
{% if item.cpus > 1 %}
networkInterfaceMultiqueue: true
{% endif %}
{% if item.tablet %}
inputs:
- type: tablet
Expand Down
2 changes: 2 additions & 0 deletions templates/rhel9.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ objects:
guest: {{ item.memsize }}
devices:
rng: {}
{% if item.cpus > 1 %}
networkInterfaceMultiqueue: true
{% endif %}
{% if item.tablet %}
inputs:
- type: tablet
Expand Down
2 changes: 2 additions & 0 deletions templates/ubuntu.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ objects:
guest: {{ item.memsize }}
devices:
rng: {}
{% if item.cpus > 1 %}
networkInterfaceMultiqueue: true
{% endif %}
{% if item.tablet %}
inputs:
- type: tablet
Expand Down
2 changes: 1 addition & 1 deletion templates/windows10.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ objects:
efi:
secureBoot: true
devices:
{% if item.multiqueue %}
{% if item.multiqueue and item.cpus > 1 %}
networkInterfaceMultiqueue: True
{% endif %}
disks:
Expand Down
2 changes: 1 addition & 1 deletion templates/windows11.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ objects:
efi:
secureBoot: true
devices:
{% if item.multiqueue %}
{% if item.multiqueue and item.cpus > 1 %}
networkInterfaceMultiqueue: True
{% endif %}
disks:
Expand Down
2 changes: 1 addition & 1 deletion templates/windows2k12.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ objects:
efi:
secureBoot: true
devices:
{% if item.multiqueue %}
{% if item.multiqueue and item.cpus > 1 %}
networkInterfaceMultiqueue: True
{% endif %}
disks:
Expand Down
2 changes: 1 addition & 1 deletion templates/windows2k16.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ objects:
efi:
secureBoot: true
devices:
{% if item.multiqueue %}
{% if item.multiqueue and item.cpus > 1 %}
networkInterfaceMultiqueue: True
{% endif %}
disks:
Expand Down
2 changes: 1 addition & 1 deletion templates/windows2k19.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ objects:
efi:
secureBoot: true
devices:
{% if item.multiqueue %}
{% if item.multiqueue and item.cpus > 1 %}
networkInterfaceMultiqueue: True
{% endif %}
disks:
Expand Down
2 changes: 1 addition & 1 deletion templates/windows2k22.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ objects:
efi:
secureBoot: true
devices:
{% if item.multiqueue %}
{% if item.multiqueue and item.cpus > 1 %}
networkInterfaceMultiqueue: True
{% endif %}
disks:
Expand Down

0 comments on commit 6081478

Please sign in to comment.