[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH PULL 10/11] hw/pvrdma: Unregister from shutdown noti
From: |
Marcel Apfelbaum |
Subject: |
[Qemu-devel] [PATCH PULL 10/11] hw/pvrdma: Unregister from shutdown notifier when device goes down |
Date: |
Sat, 23 Feb 2019 16:16:43 +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>
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 8b379c6435..1177c0822f 100644
--- a/hw/rdma/vmw/pvrdma_main.c
+++ b/hw/rdma/vmw/pvrdma_main.c
@@ -359,6 +359,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/11] RDMA queue, Marcel Apfelbaum, 2019/02/23
- [Qemu-devel] [PATCH PULL 01/11] contrib/rdmacm-mux: Fix out-of-bounds risk, Marcel Apfelbaum, 2019/02/23
- [Qemu-devel] [PATCH PULL 03/11] hw/rdma: Introduce protected qlist, Marcel Apfelbaum, 2019/02/23
- [Qemu-devel] [PATCH PULL 04/11] hw/rdma: Protect against concurrent execution of poll_cq, Marcel Apfelbaum, 2019/02/23
- [Qemu-devel] [PATCH PULL 05/11] {monitor, hw/pvrdma}: Expose device internals via monitor interface, Marcel Apfelbaum, 2019/02/23
- [Qemu-devel] [PATCH PULL 08/11] hw/pvrdma: Delete unneeded function argument, Marcel Apfelbaum, 2019/02/23
- [Qemu-devel] [PATCH PULL 06/11] hw/rdma: Free all MAD receive buffers when device is closed, Marcel Apfelbaum, 2019/02/23
- [Qemu-devel] [PATCH PULL 09/11] hw/pvrdma: Delete pvrdma_exit function, Marcel Apfelbaum, 2019/02/23
- [Qemu-devel] [PATCH PULL 02/11] hw/rdma: Switch to generic error reporting way, Marcel Apfelbaum, 2019/02/23
- [Qemu-devel] [PATCH PULL 11/11] hw/rdma: another clang compilation fix, Marcel Apfelbaum, 2019/02/23
- [Qemu-devel] [PATCH PULL 10/11] hw/pvrdma: Unregister from shutdown notifier when device goes down,
Marcel Apfelbaum <=
- [Qemu-devel] [PATCH PULL 07/11] hw/rdma: Free all receive buffers when QP is destroyed, Marcel Apfelbaum, 2019/02/23
- Re: [Qemu-devel] [PATCH PULL 00/11] RDMA queue, Peter Maydell, 2019/02/26