hw/pvrdma: Unregister from shutdown notifier when device goes down
commitb556c3cefcedec0fc892239f017ef7ddaa515311
authorYuval Shaia <yuval.shaia@oracle.com>
Mon, 11 Mar 2019 10:29:14 +0000 (11 03:29 -0700)
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>
Sat, 16 Mar 2019 13:52:44 +0000 (16 15:52 +0200)
treebbf4a45e401a0daf98a0cad19d0a703de7bed14c
parenta2f1dc6091e801514f955af255af89d440e762fc
hw/pvrdma: Unregister from shutdown notifier when device goes down

This hook was installed to close the device when VM is going down.
After the device is closed there is no need to be informed on VM
shutdown.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Message-Id: <1552300155-25216-11-git-send-email-yuval.shaia@oracle.com>
Reviewed-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
hw/rdma/vmw/pvrdma_main.c