From: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
To: Yuval Shaia <yuval.shaia@oracle.com>,
dgilbert@redhat.com, armbru@redhat.com, qemu-devel@nongnu.org,
eblake@redhat.com
Subject: Re: [Qemu-devel] [PATCH v1 9/9] hw/pvrdma: Unregister from shutdown notifier when device goes down
Date: Mon, 11 Feb 2019 10:14:35 +0200 [thread overview]
Message-ID: <53e8beec-7d4d-269a-ec45-d4babf4cfe82@gmail.com> (raw)
In-Reply-To: <20190210104537.1488-10-yuval.shaia@oracle.com>
On 2/10/19 12:45 PM, Yuval Shaia wrote:
> 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>
> ---
> 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);
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Thanks,
Marcel
prev parent reply other threads:[~2019-02-11 8:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-10 10:45 [Qemu-devel] [PATCH v1 0/9] Misc fixes to pvrdma device Yuval Shaia
2019-02-10 10:45 ` [Qemu-devel] [PATCH v1 1/9] hw/rdma: Switch to generic error reporting way Yuval Shaia
2019-02-11 8:08 ` Marcel Apfelbaum
2019-02-10 10:45 ` [Qemu-devel] [PATCH v1 2/9] hw/rdma: Introduce locked qlist Yuval Shaia
2019-02-11 8:10 ` Marcel Apfelbaum
2019-02-12 7:08 ` Yuval Shaia
2019-02-10 10:45 ` [Qemu-devel] [PATCH v1 3/9] hw/rdma: Protect against concurrent execution of poll_cq Yuval Shaia
2019-02-10 10:45 ` [Qemu-devel] [PATCH v1 4/9] {monitor, hw/pvrdma}: Expose device internals via monitor interface Yuval Shaia
2019-02-12 17:00 ` Yuval Shaia
2019-02-10 10:45 ` [Qemu-devel] [PATCH v1 5/9] hw/rdma: Free all MAD receive buffers when device is closed Yuval Shaia
2019-02-10 10:45 ` [Qemu-devel] [PATCH v1 6/9] hw/rdma: Free all receive buffers when QP is destroyed Yuval Shaia
2019-02-10 10:45 ` [Qemu-devel] [PATCH v1 7/9] hw/pvrdma: Delete unneeded function argument Yuval Shaia
2019-02-10 10:45 ` [Qemu-devel] [PATCH v1 8/9] hw/pvrdma: Delete pvrdma_exit function Yuval Shaia
2019-02-11 8:14 ` Marcel Apfelbaum
2019-02-10 10:45 ` [Qemu-devel] [PATCH v1 9/9] hw/pvrdma: Unregister from shutdown notifier when device goes down Yuval Shaia
2019-02-11 8:14 ` Marcel Apfelbaum [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53e8beec-7d4d-269a-ec45-d4babf4cfe82@gmail.com \
--to=marcel.apfelbaum@gmail.com \
--cc=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=yuval.shaia@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).