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

Some questions about KVM_NITRO functions! #30

Closed
bigbigbanana opened this issue Aug 28, 2017 · 1 comment
Closed

Some questions about KVM_NITRO functions! #30

bigbigbanana opened this issue Aug 28, 2017 · 1 comment

Comments

@bigbigbanana
Copy link

Hello,recently i am doing reseraching on the nitro project and i am confused about some KVM_NITRO functions,could you tell me what's meaning of these functions?
2017-08-28 10_39_08

@Wenzel
Copy link
Member

Wenzel commented Aug 31, 2017

Hi,

please take a look at this wiki page that i wrote a few months ago : https://github.com/Wenzel/kvm-vmi/wiki

Briefly:

  • ATTACH_VM will get the vm file descriptor
  • ATTACH_VCPU will get the vcpu file descriptors
  • then the traps are set
  • you use the vcpu file descriptor to send the GET_EVENT ioctl, and CONTINUE_VM once you are done processing it.

Regards.

@Wenzel Wenzel closed this as completed Dec 17, 2017
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

No branches or pull requests

2 participants