KVM: Move irq routing to generic code
authorAlexander Graf <agraf@suse.de>
Mon, 15 Apr 2013 19:12:53 +0000 (21:12 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 18:27:17 +0000 (20:27 +0200)
commitaa8d5944b8b2809e574581abbf41894089b7def2
tree42c76bd981edbb5b67ce1209b083f6d96f94b8d9
parent7eee2efdc6978aa70ab4046394128c1a10bc2d80
KVM: Move irq routing to generic code

The IRQ routing set ioctl lives in the hacky device assignment code inside
of KVM today. This is definitely the wrong place for it. Move it to the much
more natural kvm_main.c.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
virt/kvm/assigned-dev.c
virt/kvm/kvm_main.c