Skip to content

Add 'q35' machine type to hotplug tests

Michael Labiuk via qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest9 patches 10 repliesIn review
  2. v47 patches 7 repliesSuperseded
  3. v35 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches1 replySuperseded
v11 patch2 repliesSuperseded

v5 -> v4 from the cover letter

* Unify device removing in tests.
* Using qtest_has_machine("q35") as condition.
* fixed typos.
* Replaced snprintf.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9tests/x86: add helper qtest_qmp_device_del_send()tests/qtest/device-plug-test.c tests/qtest/drive_del-test.c tests/qtest/libqos/pci-pc.c +2 more+24 -311 reply
2/9tests/x86: Add subtest with 'q35' machine type to device-plug-testtests/qtest/device-plug-test.c+41 -01 reply
3/9tests/x86: Refactor hot unplug hd-geo-testtests/qtest/hd-geo-test.c+57 -871 reply
4/9tests/x86: Add 'q35' machine type to override-tests in hd-geo-testtests/qtest/hd-geo-test.c+97 -01 reply
5/9tests/x86: Add 'q35' machine type to hotplug hd-geo-testtests/qtest/hd-geo-test.c+75 -11 reply
6/9tests/x86: Fix comment typo in drive_del-testtests/qtest/drive_del-test.c+1 -11 reply
7/9tests/x86: replace snprint() by g_strdup_printf() in drive_del-testtests/qtest/drive_del-test.c+4 -62 replies
8/9tests/x86: Add 'q35' machine type to drive_del-testtests/qtest/drive_del-test.c+107 -01 reply
9/9tests/x86: Add 'q35' machine type to ivshmem-testtests/qtest/ivshmem-test.c+18 -01 reply

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchThomas HuthPhilippe Mathieu-Daudé
1/9R-b
2/9R-b
3/9R-b
4/9A-b
5/9A-b
6/9R-b
7/9R-b R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/9] Add 'q35' machine type to hotplug tests

Add pci bridge setting to run hotplug tests on q35 machine type. Hotplug tests was bounded to 'pc' machine type by commit 7b172333f1b

v5 -> v4:

* Unify device removing in tests.
* Using qtest_has_machine("q35") as condition.
* fixed typos.
* Replaced snprintf.

v4 -> v3:

* Moving helper function process_device_remove() to separate commit.
* Refactoring hd-geo-test to avoid code duplication.

Michael Labiuk (9):
tests/x86: add helper qtest_qmp_device_del_send() tests/x86: Add subtest with 'q35' machine type to device-plug-test tests/x86: Refactor hot unplug hd-geo-test
tests/x86: Add 'q35' machine type to override-tests in hd-geo-test tests/x86: Add 'q35' machine type to hotplug hd-geo-test tests/x86: Fix comment typo in drive_del-test
tests/x86: replace snprint() by g_strdup_printf() in drive_del-test tests/x86: Add 'q35' machine type to drive_del-test tests/x86: Add 'q35' machine type to ivshmem-test

 tests/qtest/device-plug-test.c |  56 ++++--
 tests/qtest/drive_del-test.c   | 125 +++++++++++--
 tests/qtest/hd-geo-test.c      | 319 ++++++++++++++++++++++++---------
 tests/qtest/ivshmem-test.c     |  18 ++
 tests/qtest/libqos/pci-pc.c    |   8 +-
 tests/qtest/libqtest.c         |  16 +-
 tests/qtest/libqtest.h         |  10 ++
 7 files changed, 425 insertions(+), 127 deletions(-)
Signature · 1 line
2.34.1