diff options
Diffstat (limited to 'crosvm_plugin/crosvm.h')
-rw-r--r-- | crosvm_plugin/crosvm.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crosvm_plugin/crosvm.h b/crosvm_plugin/crosvm.h index 16dc3a5..47f3eb9 100644 --- a/crosvm_plugin/crosvm.h +++ b/crosvm_plugin/crosvm.h @@ -47,7 +47,7 @@ extern "C" { * do not indicate anything about what version of crosvm is running. */ #define CROSVM_API_MAJOR 0 -#define CROSVM_API_MINOR 6 +#define CROSVM_API_MINOR 7 #define CROSVM_API_PATCH 0 enum crosvm_address_space { @@ -419,6 +419,13 @@ int crosvm_vcpu_get_debugregs(struct crosvm_vcpu*, struct kvm_debugregs*); /* Sets the state of the vcpu's debug registers */ int crosvm_vcpu_set_debugregs(struct crosvm_vcpu*, const struct kvm_debugregs*); +/* Gets the MSRs of the vcpu indicated by the index field of each entry. */ +int crosvm_vcpu_get_msrs(struct crosvm_vcpu*, uint32_t __msr_count, + struct kvm_msr_entry *__msr_entries); +/* Sets the MSRs of the vcpu indicated by the index field of each entry. */ +int crosvm_vcpu_set_msrs(struct crosvm_vcpu*, uint32_t __msr_count, + const struct kvm_msr_entry *__msr_entries); + #ifdef __cplusplus } #endif |