From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: [PATCH 2/3] hw/arm/virt: Error for MTE enabled with KVM
Date: Mon, 13 Jul 2020 14:33:40 -0700 [thread overview]
Message-ID: <20200713213341.590275-3-richard.henderson@linaro.org> (raw)
In-Reply-To: <20200713213341.590275-1-richard.henderson@linaro.org>
While we expect KVM to support MTE at some future point,
it certainly won't be ready in time for qemu 5.1.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/arm/virt.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 5866c4ce20..a7f3d442db 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -1773,6 +1773,12 @@ static void machvirt_init(MachineState *machine)
exit(1);
}
+ if (vms->mte && kvm_enabled()) {
+ error_report("mach-virt: KVM does not support providing "
+ "MTE to the guest CPU");
+ exit(1);
+ }
+
create_fdt(vms);
possible_cpus = mc->possible_cpu_arch_ids(machine);
--
2.25.1
next prev parent reply other threads:[~2020-07-13 21:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-13 21:33 [PATCH for-5.1 0/3] target/arm: MTE improvements Richard Henderson
2020-07-13 21:33 ` [PATCH 1/3] hw/arm/virt: Enable MTE via a machine property Richard Henderson
2020-07-13 21:33 ` Richard Henderson [this message]
2020-07-13 21:33 ` [PATCH 3/3] hw/arm/virt: Disable memory hotplug when MTE is enabled Richard Henderson
2020-07-16 14:19 ` [PATCH for-5.1 0/3] target/arm: MTE improvements Peter Maydell
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=20200713213341.590275-3-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=peter.maydell@linaro.org \
--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 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).