diff options
| author | David Hildenbrand <[email protected]> | 2015-02-04 15:53:42 +0100 |
|---|---|---|
| committer | Christian Borntraeger <[email protected]> | 2015-03-06 13:40:33 +0100 |
| commit | 261520dcfcba93ca5dfe671b88ffab038cd940c8 (patch) | |
| tree | b4c67ed384402a61f05c69a7ef6ae4ee20228162 /tools/perf/scripts/python | |
| parent | b75f4c9afac2604feb971441116c07a24ecca1ec (diff) | |
KVM: s390: fix handling of write errors in the tpi handler
If the I/O interrupt could not be written to the guest provided
area (e.g. access exception), a program exception was injected into the
guest but "inti" wasn't freed, therefore resulting in a memory leak.
In addition, the I/O interrupt wasn't reinjected. Therefore the dequeued
interrupt is lost.
This patch fixes the problem while cleaning up the function and making the
cc and rc logic easier to handle.
Signed-off-by: David Hildenbrand <[email protected]>
Cc: [email protected] # 3.16+
Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions