diff options
author | Bandan Das <bsd@redhat.com> | 2018-11-25 23:17:28 -0500 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-11-26 13:00:38 -0200 |
commit | aec5e9c3a94cf8b7920f59bef69a6f426092c4a0 (patch) | |
tree | e67c79af04110bb35244efc89dcfad8b32684ab4 /hw/hyperv/hyperv.c | |
parent | d522fba24478474911b0e6e488b6d1dcf1af54f8 (diff) |
kvm: Use KVM_GET_MSR_INDEX_LIST for MSR_IA32_ARCH_CAPABILITIES support
When writing to guest's MSR_IA32_ARCH_CAPABILITIES, check whether it's
supported in the guest using the KVM_GET_MSR_INDEX_LIST ioctl.
Fixes: d86f963694df27f11b3681ffd225c9362de1b634
Suggested-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-by: balducci@units.it
Signed-off-by: Bandan Das <bsd@redhat.com>
Message-Id: <jpg4lc4iiav.fsf_-_@linux.bootlegged.copy>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/hyperv/hyperv.c')
0 files changed, 0 insertions, 0 deletions