virtio-pci: mask notifier error handling fixups
commitf447f8c6ed07302f2f594d171a7fbf716c7d2d4e
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 18 Jan 2011 13:42:57 +0000 (18 15:42 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 20 Jan 2011 16:34:09 +0000 (20 14:34 -0200)
tree5ad71f53dcb1c876ee59bfb1516c408868d0ffc4
parent367a9617815c0310cfba3648fe6fb3d39ce98133
virtio-pci: mask notifier error handling fixups

Fix virtio-pci error handling in the mask notifiers: be careful to undo
exactly what we did so far.

Reported-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
hw/virtio-pci.c