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: unable to set special registers and MSRs #32

Open
Wenzel opened this issue Apr 7, 2020 · 0 comments
Open

kvmi-v6: unable to set special registers and MSRs #32

Wenzel opened this issue Apr 7, 2020 · 0 comments

Comments

@Wenzel
Copy link
Member

Wenzel commented Apr 7, 2020

While implementing VMI_EVENT_RESPONSE_SET_REGISTERS in Libvmi KVM driver, I realized that it wasn't possible to set special registers and MSRs.

The API provided by kvmi-v6 allows to get these registers:

int kvmi_get_registers( void *dom, unsigned short vcpu, struct kvm_regs *regs, struct kvm_sregs *sregs,

but not to set them:

int kvmi_set_registers( void *dom, unsigned short vcpu, const struct kvm_regs *regs );

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

1 participant