KVM: don't free an unallocated irq source id
authorMark McLoughlin <markmc@redhat.com>
Mon, 1 Dec 2008 13:57:47 +0000 (13:57 +0000)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:06 +0000 (16:55 +0200)
Set assigned_dev->irq_source_id to -1 so that we can avoid freeing
a source ID which we never allocated.

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

Simple merge