KVM: split out kvm_free_assigned_irq()
authorMark McLoughlin <markmc@redhat.com>
Mon, 1 Dec 2008 13:57:49 +0000 (13:57 +0000)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:07 +0000 (16:55 +0200)
commit4a643be8c9b8d3c1ae8f5ccd377daaa85bd57e0c
tree6c7caf6878cbd439a0445e07f1ad9a852f8498f4
parent61552367b2ce5e9bea6b6af670ec80aea386f34e
KVM: split out kvm_free_assigned_irq()

Split out the logic corresponding to undoing assign_irq() and
clean it up a bit.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c