s390x: support virtio-mem-pci
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 5 repliesIn review
- v12 patches 5 repliesSuperseded
Changes in v2 from the cover letter
* There are no transitional/non_transitional devices for virtio-mem
* Spell out removal of "return;" in second patch
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | virtio-mem-pci: Allow setting nvectors, so we can use MSI-Xhw/ hw/ | +13 | 1 reply | |
| 2/2 | s390x/s390-virtio-ccw: Support plugging PCI-based virtio memory deviceshw/ | +14 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Huth | Mario Casquero |
|---|---|---|
| Series | T-b | |
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] s390x: support virtio-mem-pci
This is based-on [1], which adds MSI-X support to virtio-balloon-pci, but can be applied independently.
Turns out it is fairly easy to get virtio-mem-pci running on s390x. We only have to add MSI-X support to virtio-mem-pci, and wire-up the (un)plugging in the machine.
Tried some simple stuff (hotplug/hotunplug/resize/reboot), and all seems to be working as expected.
The kernel in the VM needs both, CONFIG_VIRTIO_PCI and CONFIG_VIRTIO_MEM for it to work.
[1] https://lkml.kernel.org/r/[email protected]
v1 -> v2:
* There are no transitional/non_transitional devices for virtio-mem
* Spell out removal of "return;" in second patch
David Hildenbrand (2):
virtio-mem-pci: Allow setting nvectors, so we can use MSI-X s390x/s390-virtio-ccw: Support plugging PCI-based virtio memory
devices
hw/core/machine.c | 1 + hw/s390x/s390-virtio-ccw.c | 20 ++++++++++++++------ hw/virtio/virtio-mem-pci.c | 12 ++++++++++++ 3 files changed, 27 insertions(+), 6 deletions(-)
Signature · 1 line
2.48.1