From: Jan Kiszka Date: Tue, 16 Nov 2010 21:30:06 +0000 (+0100) Subject: KVM: Clean up kvm_vm_ioctl_assigned_device X-Git-Tag: v2.6.38-rc1~244^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51de271d441c01e7a0cf39f128827e0b4dc56409;p=pandora-kernel.git 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 Acked-by: Michael S. Tsirkin Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed