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

Enable KVM_SET/GET_VCPU_EVENTS ioctls for Aarch64. #73

Merged
merged 2 commits into from
Dec 11, 2019

Conversation

michael2012z
Copy link
Contributor

@michael2012z michael2012z commented Dec 2, 2019

Enable KVM_SET/GET_VCPU_EVENTS ioctls for Aarch64.

KVM_GET_VCPU_EVENTS and KVM_SET_VCPU_EVENTS ioctls have been supported
on Aarch64 from a recent kernel version.
This patch enables them on Aarch64 and checked cap KVM_CAP_VCPU_EVENTS
before calling them in test code to avoid error in old kernel.

Signed-off-by: Michael Zhao [email protected]

Copy link
Collaborator

@acatangiu acatangiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look good.

Please rework your commit message to follow the Git 50/72 rule.

Also you have some typos in the commit message s/KVM_GET_VCGP_EVENTS/KVM_GET_VCPU_EVENTS and s/KVM_SET_VCGP_EVENTS/KVM_SET_VCGP_EVENTS

KVM_GET_VCPU_EVENTS and KVM_SET_VCPU_EVENTS ioctls have been supported
on Aarch64 from a recent kernel version.
This patch enables them on Aarch64 and checked cap KVM_CAP_VCPU_EVENTS
before calling them in test code to avoid error in old kernel.

Change-Id: I9526b48948cf0cd5d63444a82b8b09970311a3bb
Signed-off-by: Michael Zhao <[email protected]>
@michael2012z
Copy link
Contributor Author

@acatangiu Thank you. Updated.

@andreeaflorescu andreeaflorescu merged commit f372a9d into rust-vmm:master Dec 11, 2019
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.

4 participants