summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-10-12 11:34:00 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2014-11-03 12:07:29 +0100
commit7f05db6a20fe4d85bada20d365c78029831b9de1 (patch)
tree272fdd1aaf66d301c594eb92b4db2ba970fcc935 /arch/x86/kvm/x86.h
parent1e0ad70cc1957b9050368e433b1061a2cd1ce543 (diff)
downloadop-kernel-dev-7f05db6a20fe4d85bada20d365c78029831b9de1.zip
op-kernel-dev-7f05db6a20fe4d85bada20d365c78029831b9de1.tar.gz
kvm: drop unsupported capabilities, fix documentation
No kernel ever reported KVM_CAP_DEVICE_MSIX, KVM_CAP_DEVICE_MSI, KVM_CAP_DEVICE_ASSIGNMENT, KVM_CAP_DEVICE_DEASSIGNMENT. This makes the documentation wrong, and no application ever written to use these capabilities has a chance to work correctly. The only way to detect support is to try, and test errno for ENOTTY. That's unfortunate, but we can't fix the past. Document the actual semantics, and drop the definitions from the exported header to make it easier for application developers to note and fix the bug. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud