rust-vmm / kvm-ioctls

Apache License 2.0
255 stars 103 forks source link

feat: add MSR-related system ioctls #219

Closed zulinx86 closed 1 year ago

zulinx86 commented 1 year ago

Summary of the PR

Adds two system ioctls for MSR: KVM_GET_MSR_FEATURE_INDEX_LIST and KVM_GET_MSRS.

Requirements

These ioctls are required to read features that are available for the VM, stored in MSRs. This is similar to KVM_GET_SUPPORTED_CPUID.

Before submitting your PR, please make sure you addressed the following requirements: