[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH PULL 11/18] hw/pvrdma: Unregister from shutdown noti
From: |
Marcel Apfelbaum |
Subject: |
[Qemu-devel] [PATCH PULL 11/18] hw/pvrdma: Unregister from shutdown notifier when device goes down |
Date: |
Sat, 16 Mar 2019 16:34:14 +0200 |
From: Yuval Shaia <address@hidden>
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>
Message-Id: <address@hidden>
Reviewed-by: Kamal Heib <address@hidden>
Signed-off-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 a4afceda14..49bfbd6d41 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);
--
2.17.1
- [Qemu-devel] [PATCH PULL 00/18] RDMA queue, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 01/18] contrib/rdmacm-mux: Fix out-of-bounds risk, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 03/18] hw/rdma: Introduce protected qlist, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 04/18] hw/rdma: Protect against concurrent execution of poll_cq, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 05/18] hw/pvrdma: Collect debugging statistics, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 07/18] hw/rdma: Free all MAD receive buffers when device is closed, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 10/18] hw/pvrdma: Delete pvrdma_exit function, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 11/18] hw/pvrdma: Unregister from shutdown notifier when device goes down,
Marcel Apfelbaum <=
- [Qemu-devel] [PATCH PULL 09/18] hw/pvrdma: Delete unneeded function argument, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 08/18] hw/rdma: Free all receive buffers when QP is destroyed, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 12/18] hw/pvrdma: Provide correct value to object_get_typename, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 14/18] hw/rdma: Fix broken paths to docs/devel/tracing.txt, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 16/18] hw/rdma: Use {} instead of {0}, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 18/18] hw/rdma: Fix the error prints in create_qp_rings(), Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 17/18] hw/pvrdma: Fix zero-initialization of resp in {query/modify}_qp, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 15/18] hw/rdma: Remove unused parameter from rdma_poll_cq(), Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 13/18] hw/rdma: another clang compilation fix, Marcel Apfelbaum, 2019/03/16
- [Qemu-devel] [PATCH PULL 02/18] hw/rdma: Switch to generic error reporting way, Marcel Apfelbaum, 2019/03/16