summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-03-03 19:22:02 +0100
committerCornelia Huck2021-03-04 14:19:08 +0100
commit39d5d1404ed695f4a1cd2b117a6cf2d92dd8e8b9 (patch)
tree3a72f2c29c38ee369c3829d7bf2922972c2a5ce1
parentvfio-ccw: Do not read region ret_code after write (diff)
downloadqemu-39d5d1404ed695f4a1cd2b117a6cf2d92dd8e8b9.tar.gz
qemu-39d5d1404ed695f4a1cd2b117a6cf2d92dd8e8b9.tar.xz
qemu-39d5d1404ed695f4a1cd2b117a6cf2d92dd8e8b9.zip
target/s390x/kvm: Simplify debug code
We already have the 'run' variable holding 'cs->kvm_run' value. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210303182219.1631042-3-philmd@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
-rw-r--r--target/s390x/kvm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c
index 7a892d663d..73f816a722 100644
--- a/target/s390x/kvm.c
+++ b/target/s390x/kvm.c
@@ -1785,8 +1785,7 @@ static int handle_intercept(S390CPU *cpu)
int icpt_code = run->s390_sieic.icptcode;
int r = 0;
- DPRINTF("intercept: 0x%x (at 0x%lx)\n", icpt_code,
- (long)cs->kvm_run->psw_addr);
+ DPRINTF("intercept: 0x%x (at 0x%lx)\n", icpt_code, (long)run->psw_addr);
switch (icpt_code) {
case ICPT_INSTRUCTION:
case ICPT_PV_INSTR: