diff options
| author | David Hildenbrand | 2017-09-28 22:37:08 +0200 |
|---|---|---|
| committer | Cornelia Huck | 2017-10-20 13:32:10 +0200 |
| commit | 741a4ec186160b632b6e19d2ad9623bc0121ea5d (patch) | |
| tree | ef51ed709f0a17273b1034347cb5bba9f3f57b6c /include | |
| parent | s390x/tcg: refactor stfl(e) to use s390_get_feat_block() (diff) | |
| download | qemu-741a4ec186160b632b6e19d2ad9623bc0121ea5d.tar.gz qemu-741a4ec186160b632b6e19d2ad9623bc0121ea5d.tar.xz qemu-741a4ec186160b632b6e19d2ad9623bc0121ea5d.zip | |
target/s390x: special handling when starting a CPU with WAIT PSW
When we try to start a CPU with a WAIT PSW, we have to take care that
TCG will actually try to continue executing instructions.
We must therefore really only unhalt the CPU if we don't have a WAIT
PSW. Also document the special order for restart interrupts, which
load a new PSW and change the state to operating.
To keep KVM working, simply don't have a look at the WAIT bit when
loading the PSW. Otherwise the behavior of a restart interrupt when
a CPU stopped would be changed.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170928203708.9376-31-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
