diff options
author | Mark McLoughlin <markmc@redhat.com> | 2008-12-01 14:57:47 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 15:55:06 +0100 |
commit | f29b2673d3fc7ae38ec22922e9cdc75ee37386b5 (patch) | |
tree | 8e6a76addf0f35382525a68971faf3f108a09887 /virt/kvm/irq_comm.c | |
parent | KVM: make kvm_unregister_irq_ack_notifier() safe (diff) | |
download | linux-f29b2673d3fc7ae38ec22922e9cdc75ee37386b5.tar.xz linux-f29b2673d3fc7ae38ec22922e9cdc75ee37386b5.zip |
KVM: don't free an unallocated irq source id
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>
Diffstat (limited to 'virt/kvm/irq_comm.c')
0 files changed, 0 insertions, 0 deletions