diff options
author | David Hildenbrand <david@redhat.com> | 2017-09-28 22:36:40 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2017-10-20 13:32:10 +0200 |
commit | d516f74c99b1a2c289cfba0bacf125cbc9b681e3 (patch) | |
tree | ac056df00a66d646c8ad3d6ac97f3d60afb49e74 /target/s390x/cpu.c | |
parent | 6482b0ffd12ce83810c10b1a3884a75eba2ade1a (diff) | |
download | qemu-d516f74c99b1a2c289cfba0bacf125cbc9b681e3.zip qemu-d516f74c99b1a2c289cfba0bacf125cbc9b681e3.tar.gz qemu-d516f74c99b1a2c289cfba0bacf125cbc9b681e3.tar.bz2 |
s390x/tcg: cleanup service interrupt injection
There are still some leftovers from old virtio interrupts in there.
Most importantly, we don't have to queue service interrupts anymore.
Just like KVM, we can simply multiplex the SCLP service interrupts and
avoid the queue.
Also, now only valid parameters/cpu_addr will be stored on service
interrupts.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170928203708.9376-3-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/cpu.c')
-rw-r--r-- | target/s390x/cpu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c index 3fdf9ba..77d55c9 100644 --- a/target/s390x/cpu.c +++ b/target/s390x/cpu.c @@ -107,7 +107,6 @@ static void s390_cpu_initial_reset(CPUState *s) env->gbea = 1; env->pfault_token = -1UL; - env->ext_index = -1; for (i = 0; i < ARRAY_SIZE(env->io_index); i++) { env->io_index[i] = -1; } @@ -145,7 +144,6 @@ static void s390_cpu_full_reset(CPUState *s) env->gbea = 1; env->pfault_token = -1UL; - env->ext_index = -1; for (i = 0; i < ARRAY_SIZE(env->io_index); i++) { env->io_index[i] = -1; } |