diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-11-16 22:30:06 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 11:29:24 +0200 |
commit | 51de271d441c01e7a0cf39f128827e0b4dc56409 (patch) | |
tree | 4d019dcf308e670008eafcfa64a649aa84588f10 /virt/kvm/async_pf.c | |
parent | ed78661f2614d3c9f69c23e280db3bafdabdf5bb (diff) | |
download | op-kernel-dev-51de271d441c01e7a0cf39f128827e0b4dc56409.zip op-kernel-dev-51de271d441c01e7a0cf39f128827e0b4dc56409.tar.gz |
KVM: Clean up kvm_vm_ioctl_assigned_device
Any arch not supporting device assigment will also not build
assigned-dev.c. So testing for KVM_CAP_DEVICE_DEASSIGNMENT is pointless.
KVM_CAP_ASSIGN_DEV_IRQ is unconditinally set. Moreover, add a default
case for dispatching the ioctl.
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm/async_pf.c')
0 files changed, 0 insertions, 0 deletions