]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: drop unsupported capabilities, fix documentation
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 12 Oct 2014 08:34:00 +0000 (11:34 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Nov 2014 11:07:29 +0000 (12:07 +0100)
commitcbb3b0dc9e0dc84b48023d35fbefb85a89a8831c
tree272fdd1aaf66d301c594eb92b4db2ba970fcc935
parent48919b077597f87aeac5dc9073351fc8e1b2e8e2
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>
Documentation/virtual/kvm/api.txt
include/uapi/linux/kvm.h