]> www.infradead.org Git - users/dwmw2/qemu.git/commit
virtio-mem-pci: Allow setting nvectors, so we can use MSI-X
authorDavid Hildenbrand <david@redhat.com>
Tue, 28 Jan 2025 18:57:04 +0000 (19:57 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 30 Jan 2025 09:39:37 +0000 (10:39 +0100)
commit03248e714b0dc95f13221cfd4496cbdfa118e114
treea224d4a03bb771e88bd583a850430e3ee3d1931e
parentfe638ae67bf804aeaeb3360675e88f233eb24604
virtio-mem-pci: Allow setting nvectors, so we can use MSI-X

Let's do it similar as virtio-balloon-pci. With this change, we can
use virtio-mem-pci on s390x, although plugging will still fail until
properly wired up in the machine.

No need to worry about transitional/non_transitional devices, because they
don't exist for virtio-mem.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250128185705.1609038-2-david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/core/machine.c
hw/virtio/virtio-mem-pci.c