qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 6/6] target/arm: Restrict TCG cpus to TCG accel


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 6/6] target/arm: Restrict TCG cpus to TCG accel
Date: Wed, 22 Apr 2020 08:57:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 4/21/20 3:19 PM, Philippe Mathieu-Daudé wrote:
A KVM-only build won't be able to run TCG cpus.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
This patch review is funnier using:
'git-diff --color-moved=dimmed-zebra'
---
  target/arm/cpu.c         | 634 -------------------------------------
  target/arm/cpu_tcg.c     | 663 +++++++++++++++++++++++++++++++++++++++
  target/arm/Makefile.objs |   1 +
  3 files changed, 664 insertions(+), 634 deletions(-)
  create mode 100644 target/arm/cpu_tcg.c
[...]
diff --git a/target/arm/cpu_tcg.c b/target/arm/cpu_tcg.c
new file mode 100644
index 0000000000..899d3ac7bc
--- /dev/null
+++ b/target/arm/cpu_tcg.c
@@ -0,0 +1,663 @@
+/*
+ * ARM generic helpers.
+ * QEMU ARM CPU

Here I meant one line "QEMU ARM TCG CPU" instead of "ARM generic helpers. QEMU ARM CPU"

+ *
+ * This code is licensed under the GNU GPL v2 or later.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#include "qemu/osdep.h"
+#include "cpu.h"
+#include "internals.h"
+
+/* CPU models. These are not needed for the AArch64 linux-user build. */
+#if !defined(CONFIG_USER_ONLY) || !defined(TARGET_AARCH64)[...]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]