qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Auger <eric.auger@redhat.com>
To: eric.auger.pro@gmail.com, eric.auger@redhat.com,
	thuth@redhat.com, lvivier@redhat.com, peter.maydell@linaro.org,
	drjones@redhat.com, f4bug@amsat.org, qemu-arm@nongnu.org,
	qemu-devel@nongnu.org, pbonzini@redhat.com
Subject: [PATCH 0/2] hw/arm/virt, qtests: Fix make check-qtest-aarch64 when CONFIG_ARM_GIC_TCG is unset
Date: Mon, 31 Jan 2022 16:45:29 +0100	[thread overview]
Message-ID: <20220131154531.429533-1-eric.auger@redhat.com> (raw)

When CONFIG_ARM_GIC_TCG is unset, qtests fail with
ERROR:../qom/object.c:715:object_new_with_type: assertion failed: (type != NULL)

This is due to the fact a bunch of tests currently depend on GICv3
availability. qom-test and test-hmp try to launch sbsa-ref
and xlnx-versal-virt which only support GICv3. Also a bunch of
tests use gic-version=max which currectly selects GICv3,
ignoring the fact this latter has been disabled.

This series proposes to ignore sbsa-ref and xlnx-versal-virt during
qos-test and test-hmp execution if CONFIG_ARM_GIC_TCG is unset.
Also it selects GICv2 if gic-version=max and CONFIG_ARM_GIC_TCG is
unset, in TCG mode. With those fixes make check passes.

Best Regards

Eric

This series can be found at:
https://github.com/eauger/qemu/tree/config_arm_gic_tcg_v1

Eric Auger (2):
  hw/arm/virt: Fix gic-version=max when CONFIG_ARM_GIC_TCG is unset
  tests/qtest: Special case sbsa-ref and xlnx-versal-virt if
    !CONFIG_ARM_GIC_TCG

 hw/arm/virt.c          | 4 ++++
 tests/qtest/libqtest.c | 6 ++++++
 2 files changed, 10 insertions(+)

-- 
2.26.3



             reply	other threads:[~2022-01-31 16:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-31 15:45 Eric Auger [this message]
2022-01-31 15:45 ` [PATCH 1/2] hw/arm/virt: Fix gic-version=max when CONFIG_ARM_GIC_TCG is unset Eric Auger
2022-01-31 15:53   ` Andrew Jones
2022-01-31 15:45 ` [PATCH 2/2] tests/qtest: Special case sbsa-ref and xlnx-versal-virt if !CONFIG_ARM_GIC_TCG Eric Auger
2022-01-31 15:59   ` Andrew Jones
2022-01-31 16:05     ` Peter Maydell
2022-01-31 16:14       ` Andrew Jones
2022-01-31 16:18         ` Peter Maydell
2022-01-31 16:18         ` Eric Auger
2022-01-31 16:15     ` Eric Auger

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=20220131154531.429533-1-eric.auger@redhat.com \
    --to=eric.auger@redhat.com \
    --cc=drjones@redhat.com \
    --cc=eric.auger.pro@gmail.com \
    --cc=f4bug@amsat.org \
    --cc=lvivier@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --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).