diff options
author | Quentin Perret <[email protected]> | 2021-08-11 18:36:25 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-08-11 19:40:53 +0100 |
commit | 12593568d7319c34c72038ea799ab1bd0f0eb01c (patch) | |
tree | fb97e6a0b05223181cdc19eca80bb2a49a268e2b /lib/test_overflow.c | |
parent | 64a80fb766f9a91e26930bfc56d8e7c12425df12 (diff) |
KVM: arm64: Return -EPERM from __pkvm_host_share_hyp()
Fix the error code returned by __pkvm_host_share_hyp() when the
host attempts to share with EL2 a page that has already been shared with
another entity.
Reported-by: Will Deacon <[email protected]>
Signed-off-by: Quentin Perret <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions