diff options
author | Mark McLoughlin <markmc@redhat.com> | 2008-12-01 13:57:47 +0000 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 16:55:06 +0200 |
commit | f29b2673d3fc7ae38ec22922e9cdc75ee37386b5 (patch) | |
tree | 8e6a76addf0f35382525a68971faf3f108a09887 /virt/kvm/irq_comm.c | |
parent | fdd897e6b5253a45b633f7d334cf3e150bbaf386 (diff) | |
download | lwn-f29b2673d3fc7ae38ec22922e9cdc75ee37386b5.tar.gz lwn-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