]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9aefc51c58aacbe77407c06e5235cd2359b32bd9
tree1ff3241fbca679739572922c0a040e71aab9e25f
parent475878e5034c9f2831aceeddedb7f0e8c6723080
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