fix segfault in msix_save
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 1 Jul 2009 13:28:00 +0000 (16:28 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 9 Jul 2009 21:58:08 +0000 (16:58 -0500)
commit9a3e12c8a48ef96bf0f3effc21a4ce98d35992f9
tree4790235d481f58198a70aa0a46761df56999a325
parent391354f126afde449d679db67a7c6b64afdca0f9
fix segfault in msix_save

This fixes segfault reported by Kevin Wolf,
and simplifies the code in msix_save.

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