qemu: msix nit: clear msix_entries_nr on error
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 22 Jul 2009 15:51:14 +0000 (18:51 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 27 Jul 2009 19:09:14 +0000 (14:09 -0500)
commit3174ecd128ba5a4dc67de2a23cf2d385af1c4e70
treeb1424ffc29e2923636299a0dfafa4a4024e9f8b2
parentbaef8a666c137fae513a195c8abeb80e1806d7bd
qemu: msix nit: clear msix_entries_nr on error

I don't think it's critical to do this, but it's
best to keep uninit and error recovery consistent.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/msix.c