diff options
author | Robert Hoo <robert.hu@linux.intel.com> | 2018-10-15 12:47:23 +0800 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-10-30 21:14:43 -0300 |
commit | f57bceb6ab5163ddd6c41ff4344ab8cf28a9c63d (patch) | |
tree | 5d509207c90c961b785f518a1ee1ded8965269a1 /include/sysemu/kvm.h | |
parent | 38bf9e3b6185e6e4e4d50f7ff968676bf92a5bd7 (diff) | |
download | qemu-f57bceb6ab5163ddd6c41ff4344ab8cf28a9c63d.zip qemu-f57bceb6ab5163ddd6c41ff4344ab8cf28a9c63d.tar.gz qemu-f57bceb6ab5163ddd6c41ff4344ab8cf28a9c63d.tar.bz2 |
kvm: Add support to KVM_GET_MSR_FEATURE_INDEX_LIST and KVM_GET_MSRS system ioctl
Add kvm_get_supported_feature_msrs() to get supported MSR feature index list.
Add kvm_arch_get_supported_msr_feature() to get each MSR features value.
Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
Message-Id: <1539578845-37944-2-git-send-email-robert.hu@linux.intel.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/sysemu/kvm.h')
-rw-r--r-- | include/sysemu/kvm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index 0b64b8e..97d8d9d 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -463,6 +463,8 @@ int kvm_vm_check_extension(KVMState *s, unsigned int extension); uint32_t kvm_arch_get_supported_cpuid(KVMState *env, uint32_t function, uint32_t index, int reg); +uint32_t kvm_arch_get_supported_msr_feature(KVMState *s, uint32_t index); + void kvm_set_sigmask_len(KVMState *s, unsigned int sigmask_len); |