From: Thomas Huth <thuth@redhat.com>
To: Laurent Vivier <lvivier@redhat.com>, qemu-devel@nongnu.org
Cc: "Daniel P . Berrange" <berrange@redhat.com>,
Cornelia Huck <cohuck@redhat.com>,
David Gibson <david@gibson.dropbear.id.au>,
qemu-arm@nongnu.org, qemu-ppc@nongnu.org,
Peter Maydell <peter.maydell@linaro.org>,
"Dr . David Alan Gilbert" <dgilbert@redhat.com>,
Greg Kurz <groug@kaod.org>
Subject: Re: [Qemu-devel] [PATCH v2 3/3] tests/hmp: test "none" machine with memory
Date: Mon, 11 Sep 2017 16:51:48 +0200 [thread overview]
Message-ID: <1299bf0c-f887-bcfe-2e97-3c7103d407a1@redhat.com> (raw)
In-Reply-To: <20170911142056.15643-4-lvivier@redhat.com>
On 11.09.2017 16:20, Laurent Vivier wrote:
> and add a test case of dump-guest-memory without
> "[begin length]" parameters.
>
> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
> ---
> tests/test-hmp.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/tests/test-hmp.c b/tests/test-hmp.c
> index 729c0339f7..90693c0ce2 100644
> --- a/tests/test-hmp.c
> +++ b/tests/test-hmp.c
> @@ -35,6 +35,7 @@ static const char *hmp_cmds[] = {
> "mouse_button 0",
> "device_del mouse1",
> "dump-guest-memory /dev/null 0 4096",
> + "dump-guest-memory /dev/null",
> "gdbserver",
> "host_net_add user id=net0",
> "hostfwd_add tcp::43210-:43210",
> @@ -159,5 +160,9 @@ int main(int argc, char **argv)
>
> qtest_cb_for_every_machine(add_machine_test_case);
>
> + /* as none machine has no memory, add a test case with memory */
> +
Maybe remove the empty line after the comment?
> + qtest_add_data_func("hmp/none+2MB", g_strdup("none -m 2"), test_machine);
> +
> return g_test_run();
> }
>
Reviewed-by: Thomas Huth <thuth@redhat.com>
next prev parent reply other threads:[~2017-09-11 14:52 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 14:20 [Qemu-devel] [PATCH v2 0/3] hmp: fix "dump-quest-memory" segfault Laurent Vivier
2017-09-11 14:20 ` [Qemu-devel] [PATCH v2 1/3] hmp: fix "dump-quest-memory" segfault (ppc) Laurent Vivier
2017-09-11 14:20 ` [Qemu-devel] [PATCH v2 2/3] hmp: fix "dump-quest-memory" segfault (arm) Laurent Vivier
2017-09-11 14:39 ` Peter Maydell
2017-09-11 14:45 ` Thomas Huth
2017-09-11 16:40 ` Peter Maydell
2017-09-11 17:06 ` Thomas Huth
2017-09-12 8:11 ` Laurent Vivier
2017-09-11 15:35 ` Laurent Vivier
2017-09-11 15:08 ` [Qemu-devel] [Qemu-ppc] " Greg Kurz
2017-09-11 15:25 ` Laurent Vivier
2017-09-11 15:38 ` Greg Kurz
2017-09-11 14:20 ` [Qemu-devel] [PATCH v2 3/3] tests/hmp: test "none" machine with memory Laurent Vivier
2017-09-11 14:51 ` Thomas Huth [this message]
2017-09-11 15:39 ` Laurent Vivier
2017-09-12 12:15 ` [Qemu-devel] [Qemu-arm] " Philippe Mathieu-Daudé
2017-09-11 14:34 ` [Qemu-devel] [PATCH v2 0/3] hmp: fix "dump-quest-memory" segfault no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1299bf0c-f887-bcfe-2e97-3c7103d407a1@redhat.com \
--to=thuth@redhat.com \
--cc=berrange@redhat.com \
--cc=cohuck@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=dgilbert@redhat.com \
--cc=groug@kaod.org \
--cc=lvivier@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).