[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/4] tests for -m option
From: |
Igor Mammedov |
Subject: |
[Qemu-devel] [PATCH 0/4] tests for -m option |
Date: |
Wed, 25 Jun 2014 13:42:19 +0200 |
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
[Qemu-devel] [PATCH 3/4] machine: convert ram_size, maxram_size, ram_slots to properties, Igor Mammedov, 2014/06/25