kvm icon indicating copy to clipboard operation
kvm copied to clipboard

kvmi-v6: unable to set special registers and MSRs

Open Wenzel opened this issue 5 years ago • 0 comments

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: https://github.com/KVM-VMI/kvm/blob/5205f803008a2ee5788ba0a9cc7a475a546889ba/tools/kvm/kvmi/include/kvmi/libkvmi.h#L110

but not to set them: https://github.com/KVM-VMI/kvm/blob/5205f803008a2ee5788ba0a9cc7a475a546889ba/tools/kvm/kvmi/include/kvmi/libkvmi.h#L112

Wenzel avatar Apr 07 '20 12:04 Wenzel