Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kvmi v6 read write changes #26

Merged
merged 2 commits into from
Feb 22, 2020
Merged

Kvmi v6 read write changes #26

merged 2 commits into from
Feb 22, 2020

Conversation

adlazar
Copy link
Collaborator

@adlazar adlazar commented Dec 2, 2019

This could help with #23 (return ENOENT if the page cannot be mapped).

This will allow us to read a whole page with KVMI_READ_PHYSICAL.

Signed-off-by: Adalbert Lazăr <[email protected]>
…E_PHYSICAL

Until now, the introspection connection was closed on invalid gpa/size
pairs and if the guest page could not be mapped it returned KVM_EINVAL,

From now on, the kernel will return KVM_EINVAL (without closing the
connection) for the first case and KVM_ENOENT for the second.

Signed-off-by: Adalbert Lazăr <[email protected]>
@Wenzel
Copy link
Member

Wenzel commented Feb 22, 2020

Merging this one also

@Wenzel Wenzel merged commit aef50dd into KVM-VMI:kvmi-v6 Feb 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants