diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-03-03 19:22:02 +0100 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2021-03-04 14:19:08 +0100 |
commit | 39d5d1404ed695f4a1cd2b117a6cf2d92dd8e8b9 (patch) | |
tree | 3a72f2c29c38ee369c3829d7bf2922972c2a5ce1 /target/s390x | |
parent | d6cd66311f527ee29c1d7b0988059cda00ad92fa (diff) | |
download | qemu-39d5d1404ed695f4a1cd2b117a6cf2d92dd8e8b9.zip qemu-39d5d1404ed695f4a1cd2b117a6cf2d92dd8e8b9.tar.gz qemu-39d5d1404ed695f4a1cd2b117a6cf2d92dd8e8b9.tar.bz2 |
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>
Diffstat (limited to 'target/s390x')
-rw-r--r-- | target/s390x/kvm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c index 7a892d6..73f816a 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: |