From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drOau-0004Ld-4O for qemu-devel@nongnu.org; Mon, 11 Sep 2017 09:17:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drOaq-0000Y3-6F for qemu-devel@nongnu.org; Mon, 11 Sep 2017 09:17:44 -0400 References: <20170911110037.6567-1-lvivier@redhat.com> <20170911110615.GK21444@redhat.com> <20170911134158.1f046176.cohuck@redhat.com> From: Laurent Vivier Message-ID: <113b2d22-73e4-b0ff-e879-c2fb223b2f35@redhat.com> Date: Mon, 11 Sep 2017 15:17:36 +0200 MIME-Version: 1.0 In-Reply-To: <20170911134158.1f046176.cohuck@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] hmp: fix "dump-quest-memory" segfault (ppc) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck , "Daniel P. Berrange" Cc: Thomas Huth , David Gibson , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, "Dr . David Alan Gilbert" On 11/09/2017 13:41, Cornelia Huck wrote: > On Mon, 11 Sep 2017 12:06:15 +0100 > "Daniel P. Berrange" wrote: > >> On Mon, Sep 11, 2017 at 01:00:37PM +0200, Laurent Vivier wrote: >>> Commit fd5d23babf (hmp: fix "dump-quest-memory" segfault) >>> fixes the problem for i386, do the same for ppc. >> >> What about all the other targets QEMU supports ? Have you checked if they >> are similarly affected, as we don't want to wait another 6 months to get a >> bug report that s390 or aarch64 crash in exactly the same way too. > > This patch actually prompted me to check s390, and the mentioned > command line works fine. > > However, if we start a qemu with no guest memory defined and then call > dump-guest-memory without filtering, we get a core dump instead of a > guest dump (s390x or x86_64, machine none). > > I can take a stab at fixing that, unless someone beats me to it. > I will update the test with this test case too. Thanks, Laurent