tests for -m option
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | switch RAM_ADDR_FMT format specifier to print decimalarch_init.c exec.c hw/ +5 more | +25 | 4 replies | |
| 2/4 | vl.c: use single local_err throughout main()vl.c | +1 | 3 replies | |
| 3/4 | machine: convert ram_size, maxram_size, ram_slots to propertieshw/ include/ vl.c | +240 | 5 replies | |
| 4/4 | test -m option parameterstests/ tests/ | +147 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/4] tests for -m option
Series adds properties to machine class for its ram_size, ram_slots, maxram_size fields making them available via QMP interface so that management tools and unit tests could query values.
The last patch provides rudimentary -m option testing and basis for memory hotplug tests that will be added later.
git repo for testing:
https://github.com/imammedo/qemu/commits/memory-hotplug-tests-v1
Igor Mammedov (4):
switch RAM_ADDR_FMT format specifier to print decimal vl.c: use single local_err throughout main()
machine: convert ram_size, maxram_size, ram_slots to properties test -m option parameters
arch_init.c | 14 ++-- exec.c | 4 +- hw/core/machine.c | 181 +++++++++++++++++++++++++++++++++++++++++++++ hw/i386/pc.c | 4 +- hw/ppc/ppc405_boards.c | 2 +- include/exec/cpu-common.h | 6 +- include/hw/boards.h | 5 + numa.c | 2 +- tests/Makefile | 2 + tests/memhp-test.c | 145 ++++++++++++++++++++++++++++++++++++ vl.c | 127 ++++++++++++++------------------ xen-hvm.c | 11 +-- 12 files changed, 410 insertions(+), 93 deletions(-) create mode 100644 tests/memhp-test.c