From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drPaF-0007TT-N3 for qemu-devel@nongnu.org; Mon, 11 Sep 2017 10:21:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drPaE-0001l1-LW for qemu-devel@nongnu.org; Mon, 11 Sep 2017 10:21:07 -0400 From: Laurent Vivier Date: Mon, 11 Sep 2017 16:20:53 +0200 Message-Id: <20170911142056.15643-1-lvivier@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/3] hmp: fix "dump-quest-memory" segfault List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Daniel P . Berrange" , Cornelia Huck , David Gibson , Thomas Huth , qemu-arm@nongnu.org, qemu-ppc@nongnu.org, Peter Maydell , "Dr . David Alan Gilbert" , Greg Kurz , Laurent Vivier 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) 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 | 52 +++++++++++++++++++++++++++++++++----------------- target/ppc/arch_dump.c | 17 +++++++++++------ tests/test-hmp.c | 5 +++++ 3 files changed, 50 insertions(+), 24 deletions(-) -- 2.13.5