kvm: x86: move assigned-dev.c and iommu.c to arch/x86/
authorRadim Krčmář <rkrcmar@redhat.com>
Fri, 21 Nov 2014 21:21:50 +0000 (22:21 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 23 Nov 2014 17:33:36 +0000 (18:33 +0100)
commitc274e03af70544506cd7214fcc2d4c4376c2c6f4
tree1ff3241fbca679739572922c0a040e71aab9e25f
parent6b397158d07f885154b871a15f879d25b3de7579
kvm: x86: move assigned-dev.c and iommu.c to arch/x86/

Now that ia64 is gone, we can hide deprecated device assignment in x86.

Notable changes:
 - kvm_vm_ioctl_assigned_device() was moved to x86/kvm_arch_vm_ioctl()

The easy parts were removed from generic kvm code, remaining
 - kvm_iommu_(un)map_pages() would require new code to be moved
 - struct kvm_assigned_dev_kernel depends on struct kvm_irq_ack_notifier

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/Makefile
arch/x86/kvm/assigned-dev.c [new file with mode: 0644]
arch/x86/kvm/iommu.c [new file with mode: 0644]
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/assigned-dev.c [deleted file]
virt/kvm/iommu.c [deleted file]
virt/kvm/kvm_main.c