[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v6 10/11] hw/pvrdma: Unregister from shutdown notifi
From: |
Yuval Shaia |
Subject: |
[Qemu-devel] [PATCH v6 10/11] hw/pvrdma: Unregister from shutdown notifier when device goes down |
Date: |
Mon, 11 Mar 2019 03:29:14 -0700 |
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 <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>
---
hw/rdma/vmw/pvrdma_main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/rdma/vmw/pvrdma_main.c b/hw/rdma/vmw/pvrdma_main.c
index a4afced..49bfbd6 100644
--- a/hw/rdma/vmw/pvrdma_main.c
+++ b/hw/rdma/vmw/pvrdma_main.c
@@ -311,6 +311,8 @@ static void pvrdma_fini(PCIDevice *pdev)
{
PVRDMADev *dev = PVRDMA_DEV(pdev);
+ notifier_remove(&dev->shutdown_notifier);
+
pvrdma_qp_ops_fini();
rdma_backend_stop(&dev->backend_dev);
--
1.8.3.1
- [Qemu-devel] [PATCH v6 07/11] hw/rdma: Free all receive buffers when QP is destroyed, (continued)
- [Qemu-devel] [PATCH v6 07/11] hw/rdma: Free all receive buffers when QP is destroyed, Yuval Shaia, 2019/03/11
- [Qemu-devel] [PATCH v6 03/11] hw/rdma: Protect against concurrent execution of poll_cq, Yuval Shaia, 2019/03/11
- [Qemu-devel] [PATCH v6 05/11] {hmp, hw/pvrdma}: Expose device internals via monitor interface, Yuval Shaia, 2019/03/11
- [Qemu-devel] [PATCH v6 08/11] hw/pvrdma: Delete unneeded function argument, Yuval Shaia, 2019/03/11
- [Qemu-devel] [PATCH v6 04/11] hw/pvrdma: Collect debugging statistics, Yuval Shaia, 2019/03/11
- [Qemu-devel] [PATCH v6 10/11] hw/pvrdma: Unregister from shutdown notifier when device goes down,
Yuval Shaia <=
- [Qemu-devel] [PATCH v6 06/11] hw/rdma: Free all MAD receive buffers when device is closed, Yuval Shaia, 2019/03/11
- [Qemu-devel] [PATCH v6 11/11] hw/pvrdma: Provide correct value to object_get_typename, Yuval Shaia, 2019/03/11
- [Qemu-devel] [PATCH v6 01/11] hw/rdma: Switch to generic error reporting way, Yuval Shaia, 2019/03/11