mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
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>
This commit is contained in:
parent
6482b0ffd1
commit
d516f74c99
5 changed files with 10 additions and 38 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue