From: "Daniel P. Berrangé" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Daniel P. Berrangé" <berrange@redhat.com>
Subject: [PATCH 1/4] hw/misc: move vmlaunchupdate.c from specific_ss to system_ss
Date: Fri, 6 Nov 2026 17:18:33 +0000 [thread overview]
Message-ID: <20261106171836.2020151-2-berrange@redhat.com> (raw)
In-Reply-To: <20261106171836.2020151-1-berrange@redhat.com>
test-multi-target fails when igvm is enabled if both arm and
aarch64 targets are enabled:
$ tests/unit/test-multi-target
TAP version 14
# random seed: R02S0c27cf3526927aa4a7f822f0a8315b3e
1..2
# Start of multi-targets tests
# Start of qom-types-are-unique tests
Registering `vm-launch-update' which already exists
# child process (/multi-targets/qom-types-are-unique/aarch64 [1982534]) killed by signal 6 (Aborted)
# child process (/multi-targets/qom-types-are-unique/aarch64 [1982534]) stdout: ""
# child process (/multi-targets/qom-types-are-unique/aarch64 [1982534]) stderr: "Registering `vm-launch-update' which already exists\n"
**
ERROR:../tests/unit/test-multi-target.c:41:test_qom_types_are_unique: child process (/multi-targets/qom-types-are-unique/aarch64 [1982534]) failed unexpectedly
not ok /multi-targets/qom-types-are-unique/aarch64 - ERROR:../tests/unit/test-multi-target.c:41:test_qom_types_are_unique: child process (/multi-targets/qom-types-are-unique/aarch64 [1982534]) failed unexpectedly
Bail out!
Aborted (core dumped) tests/unit/test-multi-target
This is because it is linked twice into test-multi-target
and thus the same device class object code is duplicated and
thus the class name gets registered twice.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
hw/misc/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/misc/meson.build b/hw/misc/meson.build
index fc3800baec0..7a071af82b0 100644
--- a/hw/misc/meson.build
+++ b/hw/misc/meson.build
@@ -170,7 +170,7 @@ specific_ss.add(when: 'CONFIG_MIPS_ITU', if_true: files('mips_itu.c'))
specific_ss.add(when: 'CONFIG_RISCV_MIPS_CMGCR', if_true: files('riscv_cmgcr.c'))
specific_ss.add(when: 'CONFIG_RISCV_MIPS_CPC', if_true: files('riscv_cpc.c'))
if igvm.found()
- specific_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true: files('vmlaunchupdate.c'))
+ system_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true: files('vmlaunchupdate.c'))
endif
system_ss.add(when: 'CONFIG_SBSA_REF', if_true: files('sbsa_ec.c'))
--
2.56.0
next prev parent reply other threads:[~2026-11-06 17:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 17:18 [PATCH 0/4] hw/misc: move vmlaunchupdate.c to system_ss Daniel P. Berrangé
2026-11-06 17:18 ` Daniel P. Berrangé [this message]
2026-11-06 17:18 ` [PATCH 2/4] tests/lcitool: add mips32r6el toolchain to refresh script Daniel P. Berrangé
2026-11-09 11:04 ` Philippe Mathieu-Daudé
2026-11-06 17:18 ` [PATCH 3/4] tests/docker: add igvm to Fedora container images Daniel P. Berrangé
2026-11-06 17:18 ` [PATCH 4/4] MAINTAINERS: fix typo in test-multi-target.c filename Daniel P. Berrangé
2026-11-06 17:47 ` [PATCH 0/4] hw/misc: move vmlaunchupdate.c to system_ss Pierrick Bouvier
2026-11-06 23:18 ` Pierrick Bouvier
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=20261106171836.2020151-2-berrange@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=jiaxun.yang@flygoat.com \
--cc=philmd@oss.qualcomm.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.