From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: Andy Pei <andy.pei@intel.com>, dev@dpdk.org
Cc: chenbo.xia@intel.com, xiao.w.wang@intel.com
Subject: Re: [PATCH] vdpa/ifc: add live migration for block device
Date: Mon, 2 Jan 2023 16:14:45 +0100 [thread overview]
Message-ID: <2068f389-ef0c-2adc-460c-ff1b96ae3ddf@redhat.com> (raw)
In-Reply-To: <1671004060-62997-1-git-send-email-andy.pei@intel.com>
On 12/14/22 08:47, Andy Pei wrote:
> When we use "sw-live-migration=1" in arguments, we run in SW assisted
> live migration mode.
>
> In SW assisted live migration mode, driver will stop the device and
> setup a mediated virtio ring to relay the communication between the
> virtio driver and the VDPA device.
>
> For block devices, we have to make sure that each IO is completed.
> When we terminate the above mediated virtio ring, we stop
> notifying queue about new IOs, wait for all the in-flight IOs to
> be completed.
>
> Signed-off-by: Andy Pei <andy.pei@intel.com>
> ---
> drivers/vdpa/ifc/ifcvf_vdpa.c | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Thanks,
Maxime
next prev parent reply other threads:[~2023-01-02 15:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-14 7:47 Andy Pei
2023-01-02 15:14 ` Maxime Coquelin [this message]
2023-02-03 14:57 ` Maxime Coquelin
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=2068f389-ef0c-2adc-460c-ff1b96ae3ddf@redhat.com \
--to=maxime.coquelin@redhat.com \
--cc=andy.pei@intel.com \
--cc=chenbo.xia@intel.com \
--cc=dev@dpdk.org \
--cc=xiao.w.wang@intel.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).