From: Paolo Bonzini <pbonzini@redhat.com>
To: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, qemu-devel@nongnu.org
Cc: lvivier@redhat.com, edgar.iglesias@xilinx.com, thuth@redhat.com
Subject: Re: [PATCH v1 PATCH v1 1/1] tests: machine-none-test: Enable MicroBlaze testing
Date: Sat, 25 Apr 2020 12:56:12 +0200 [thread overview]
Message-ID: <4f64206b-c40a-1b6a-7289-c06221018406@redhat.com> (raw)
In-Reply-To: <20200416193303.23674-2-edgar.iglesias@gmail.com>
On 16/04/20 21:33, Edgar E. Iglesias wrote:
> From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
>
> Enable MicroBlaze testing.
>
> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
> ---
> tests/qtest/machine-none-test.c | 10 ++++------
> 1 file changed, 4 insertions(+), 6 deletions(-)
>
> diff --git a/tests/qtest/machine-none-test.c b/tests/qtest/machine-none-test.c
> index 8bb54a6360..209d86eb57 100644
> --- a/tests/qtest/machine-none-test.c
> +++ b/tests/qtest/machine-none-test.c
> @@ -33,8 +33,8 @@ static struct arch2cpu cpus_map[] = {
> { "cris", "crisv32" },
> { "lm32", "lm32-full" },
> { "m68k", "m5206" },
> - /* FIXME: { "microblaze", "any" }, doesn't work with -M none -cpu any */
> - /* FIXME: { "microblazeel", "any" }, doesn't work with -M none -cpu any */
> + { "microblaze", "any" },
> + { "microblazeel", "any" },
> { "mips", "4Kc" },
> { "mipsel", "I7200" },
> { "mips64", "20Kc" },
> @@ -79,10 +79,8 @@ static void test_machine_cpu_cli(void)
> QTestState *qts;
>
> if (!cpu_model) {
> - if (!(!strcmp(arch, "microblaze") || !strcmp(arch, "microblazeel"))) {
> - fprintf(stderr, "WARNING: cpu name for target '%s' isn't defined,"
> - " add it to cpus_map\n", arch);
> - }
> + fprintf(stderr, "WARNING: cpu name for target '%s' isn't defined,"
> + " add it to cpus_map\n", arch);
> return; /* TODO: die here to force all targets have a test */
> }
> qts = qtest_initf("-machine none -cpu '%s'", cpu_model);
>
Queued, thanks.
Paolo
prev parent reply other threads:[~2020-04-25 10:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-16 19:33 [PATCH v1 PATCH v1 0/1] tests: machine-none-test: Enable MicroBlaze testing Edgar E. Iglesias
2020-04-16 19:33 ` [PATCH v1 PATCH v1 1/1] " Edgar E. Iglesias
2020-04-25 10:56 ` Paolo Bonzini [this message]
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=4f64206b-c40a-1b6a-7289-c06221018406@redhat.com \
--to=pbonzini@redhat.com \
--cc=edgar.iglesias@gmail.com \
--cc=edgar.iglesias@xilinx.com \
--cc=lvivier@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/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).