mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
virtio-balloon-pci: Allow setting nvectors, so we can use MSI-X
Most virtio-pci devices allow MSI-X. Add it to virtio-balloon-pci, but only enable it in new machine types, so we don't break migration of existing machine types between different qemu versions. This copies what was done for virtio-rng-pci in:9ea02e8f13
("virtio-rng-pci: Allow setting nvectors, so we can use MSI-X")bad9c5a516
("virtio-rng-pci: fix migration compat for vectors")62bdb88715
("virtio-rng-pci: fix transitional migration compat for vectors") Acked-by: David Hildenbrand <david@redhat.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com> Tested-by: Mario Casquero <mcasquer@redhat.com> Message-ID: <20250115161425.246348-1-arbab@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
a4cda3f5df
commit
fe638ae67b
2 changed files with 15 additions and 0 deletions
|
@ -38,6 +38,9 @@
|
|||
|
||||
GlobalProperty hw_compat_9_2[] = {
|
||||
{"arm-cpu", "backcompat-pauth-default-use-qarma5", "true"},
|
||||
{ "virtio-balloon-pci", "vectors", "0" },
|
||||
{ "virtio-balloon-pci-transitional", "vectors", "0" },
|
||||
{ "virtio-balloon-pci-non-transitional", "vectors", "0" },
|
||||
};
|
||||
const size_t hw_compat_9_2_len = G_N_ELEMENTS(hw_compat_9_2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue