Skip to content

hw/virtio: fix crash in virtio-balloon and test it

Daniel P. Berrangé qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 9 repliesIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

* Add qtest coverage for the crash scenario

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/virtio: fix crash in processing balloon statshw/virtio/virtio-balloon.c+15 -12 replies
2/3tests/qtest: drop 'fuzz-' prefix from virtio-balloon testtests/qtest/meson.build tests/qtest/virtio-balloon-test.c+3 -32 replies
3/3tests/qtest: add test for querying balloon guest statstests/qtest/virtio-balloon-test.c+20 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard W.M. JonesDavid HildenbrandFabiano RosasPhilippe Mathieu-DaudéMichael TokarevMichael S. Tsirkin
SeriesA-b
1/3R-b R-b R-b
2/3R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3 for 9.2] hw/virtio: fix crash in virtio-balloon and test it

See patch 1 for the background info on the problem

Changed in v2:

* Add qtest coverage for the crash scenario

Daniel P. Berrangé (3):
hw/virtio: fix crash in processing balloon stats tests/qtest: drop 'fuzz-' prefix from virtio-balloon test tests/qtest: add test for querying balloon guest stats

 hw/virtio/virtio-balloon.c             | 16 +++++++-
 tests/qtest/fuzz-virtio-balloon-test.c | 37 -----------------
 tests/qtest/meson.build                |  2 +-
 tests/qtest/virtio-balloon-test.c      | 57 ++++++++++++++++++++++++++
 4 files changed, 73 insertions(+), 39 deletions(-)
 delete mode 100644 tests/qtest/fuzz-virtio-balloon-test.c
 create mode 100644 tests/qtest/virtio-balloon-test.c
Signature · 1 line
2.46.0