qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v7 05/23] cpu: Split as cpu-common / cpu-sysemu


From: Richard Henderson
Subject: Re: [PATCH v7 05/23] cpu: Split as cpu-common / cpu-sysemu
Date: Tue, 25 May 2021 19:16:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 5/17/21 3:51 AM, Philippe Mathieu-Daudé wrote:
The current cpu.c contains sysemu-specific methods.
To avoid building them in user-mode builds, split the
current cpu.c as cpu-common.c / cpu-sysemu.c.

Start by moving cpu_get_crash_info().

Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
  hw/core/{cpu.c => cpu-common.c} | 17 -----------------
  hw/core/cpu-sysemu.c            | 34 +++++++++++++++++++++++++++++++++
  hw/core/meson.build             |  3 ++-
  3 files changed, 36 insertions(+), 18 deletions(-)
  rename hw/core/{cpu.c => cpu-common.c} (96%)
  create mode 100644 hw/core/cpu-sysemu.c

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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