mbox series

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

Message ID 20241129135507.699030-1-berrange@redhat.com (mailing list archive)
Headers show
Series hw/virtio: fix crash in virtio-balloon and test it | expand

Message

Daniel P. Berrangé Nov. 29, 2024, 1:55 p.m. UTC
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