]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/kvm.c
kvm: make availability of Hyper-V enlightenments dependent on KVM_CAP_HYPERV
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Jan 2014 18:16:12 +0000 (19:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Feb 2014 16:33:55 +0000 (17:33 +0100)
commit7bc3d711b45d6feacab96eda410c5655f4ddafcf
treeff22b9b746c03a3cbdd6f97e6b0849759bc5c36c
parent234cc64796557eea829544e4ff72ee99b6149187
kvm: make availability of Hyper-V enlightenments dependent on KVM_CAP_HYPERV

The MS docs specify HV_X64_MSR_HYPERCALL as a mandatory interface,
thus we must provide the MSRs even if the user only specified
features that, like relaxed timing, in principle don't require them.
And the MSRs are only there if the hypervisor has KVM_CAP_HYPERV.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/kvm.c