Nested KVM does not handle `H_ENTER_NESTED` errors
@iamjpn is already working on this.
Since Jun 1, 2023.
Assessment
This issue has not been assessed yet.
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.
- Dominant language
- No language data
- Stars
- 14
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from linuxppc/issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100