qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 3/5] target/s390x: Rework program_interrupt()


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v3 3/5] target/s390x: Rework program_interrupt() and related functions
Date: Mon, 24 Jul 2017 08:11:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/24/2017 01:52 AM, Thomas Huth wrote:
misc_helper.c won't be compiled with --disable-tcg anymore, but we
still need the program_interrupt() function in that case. Move it
to interrupt.c instead, and refactor it to re-use the code from
trigger_pgm_exception() (for TCG) and enter_pgmcheck() (for KVM,
which now got renamed to kvm_s390_program_interrupt() for
clarity).

Signed-off-by: Thomas Huth<address@hidden>
---
  target/s390x/cpu.h         |  9 +++++----
  target/s390x/helper.c      | 10 ----------
  target/s390x/interrupt.c   | 39 +++++++++++++++++++++++++++++++++++++++
  target/s390x/kvm.c         | 16 ++++++++--------
  target/s390x/misc_helper.c | 26 --------------------------
  5 files changed, 52 insertions(+), 48 deletions(-)

Reviewed-by: Richard Henderson <address@hidden>


r~



reply via email to

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