diff options
author | Nina Schoetterl-Glausch <[email protected]> | 2023-12-19 15:08:51 +0100 |
---|---|---|
committer | Janosch Frank <[email protected]> | 2023-12-23 10:41:09 +0100 |
commit | 682dbf430d27bc0e23d8d6921116b4f77f5dc9c6 (patch) | |
tree | 7d15afcec67aafd2fd7027251e61c14c032adddf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2731d605d5478052a10ac5a7c80f7aa7e1788cc5 (diff) |
KVM: s390: vsie: Fix length of facility list shadowed
The length of the facility list accessed when interpretively executing
STFLE is the same as the hosts facility list (in case of format-0)
The memory following the facility list doesn't need to be accessible.
The current VSIE implementation accesses a fixed length that exceeds the
guest/host facility list length and can therefore wrongly inject a
validity intercept.
Instead, find out the host facility list length by running STFLE and
copy only as much as necessary when shadowing.
Acked-by: David Hildenbrand <[email protected]>
Reviewed-by: Claudio Imbrenda <[email protected]>
Acked-by: Heiko Carstens <[email protected]>
Signed-off-by: Nina Schoetterl-Glausch <[email protected]>
Reviewed-by: Janosch Frank <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Janosch Frank <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions