]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/kvm/kvm.c
kvm: Add support to KVM_GET_MSR_FEATURE_INDEX_LIST and KVM_GET_MSRS system ioctl
authorRobert Hoo <robert.hu@linux.intel.com>
Mon, 15 Oct 2018 04:47:23 +0000 (12:47 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 31 Oct 2018 00:14:43 +0000 (21:14 -0300)
commitf57bceb6ab5163ddd6c41ff4344ab8cf28a9c63d
tree5d509207c90c961b785f518a1ee1ded8965269a1
parent38bf9e3b6185e6e4e4d50f7ff968676bf92a5bd7
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>
include/sysemu/kvm.h
target/i386/kvm.c