From: "Michal Suchánek" <msuchanek@suse.de>
To: qemu-devel@nongnu.org
Subject: qemu-system-ppc64: ../system/memory.c:2666: memory_region_add_subregion_common: Assertion `!subregion->container' failed.
Date: Wed, 19 Mar 2025 16:47:31 +0100 [thread overview]
Message-ID: <Z9rnE7VoDfnGO8WR@kitsune.suse.cz> (raw)
Hello,
reportedly since the inclusion of Linux patch
6aa989ab2bd0d37540c812b4270006ff794662e7 powerpc/pseries/iommu: memory
notifier incorrectly adds TCEs for pmemory
qemu fails to reboot VM. When running Linux with this patch inside VM
qemu crashes due to assertion failure:
KVM: Failed to create TCE64 table for liobn 0x80000001
qemu-system-ppc64: ../system/memory.c:2666:
memory_region_add_subregion_common: Assertion `!subregion->container'
failed.
Aborted (core dumped)
This only happens for VMs with a PCI device.
qemu-system-ppc64 --enable-kvm -m 4096 -smp 8 -hda SLE15.qcow -vga none
-nographic
reboots fine but
qemu-system-ppc64 --enable-kvm -m 4096 -smp 8 -hda SLE15.qcow -vga none
-nographic -device qemu-xhci
This has been reproduced with qemu 8.2 and 9.2
It seems failry easy to reproduce but I can provide specific kernel
configuration or kernel binaries if needed.
Thanks
Michal
reply other threads:[~2025-03-19 15:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=Z9rnE7VoDfnGO8WR@kitsune.suse.cz \
--to=msuchanek@suse.de \
--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.