Fix aarch64 and ppc when dump-guest-memory is used with none machine type and no CPU.
The other machine types don't have the problem. Update test-hmp, to test none machine type with (2 MB) and without memory, and add a test to test dump-quest-memory without filter parameters (it needs the fix from Cornelia Huck to work) v3: - remove blank line after a comment - forbid memory dump when there is no CPU v2: - add arm fix - update test-hmp Laurent Vivier (3): hmp: fix "dump-quest-memory" segfault (ppc) hmp: fix "dump-quest-memory" segfault (arm) tests/hmp: test "none" machine with memory target/arm/arch_dump.c | 11 +++++++++-- target/ppc/arch_dump.c | 11 +++++++++-- tests/test-hmp.c | 4 ++++ 3 files changed, 22 insertions(+), 4 deletions(-) -- 2.13.5