Nested KVM does not handle `H_ENTER_NESTED` errors
Open
@iamjpn is already working on this.
Since Jun 1, 2023.
bug
- Dominant language
- No language data
- Stars
- 14
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The H_ENTER_NESTED hcall either returns an error OR the trap number in `r3`.
The (trap | error) is propagated back to `kvmhv_p9_guest_entry()` and is then used by `kvmppc_handle_nested_exit()`.
There there is a switch on what is expected to be the trap, but if it actually is an error it will hit the default case.
The default case just returns RESUME_HOST and if there was an error it is swallowed up.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.