From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 563EE567E for ; Mon, 22 Feb 2016 10:58:50 +0100 (CET) Received: by mail-wm0-f46.google.com with SMTP id c200so162320627wme.0 for ; Mon, 22 Feb 2016 01:58:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=SXgW3+aR5sHvNkc2F+Wp2Ue6Dp5vG7D7MUK+bwP8Y38=; b=cNbe5NZQzJaDM0tMQwfM++/clIEr1NbK+bNeoVYrqaTI6ur/sJew6FbBjvs/QZ3fKd XGuJSfU+00ikll4L+MryCrVY4XjXMw+rwb74in+5I1chDh/AEl4IrLmVm7CVuI259ncg 3m9kA03Qx4WDpk6SsPcAi3wHKQGnlnq7N/IafUk39JIX6NagtZtsdQbDo4jiWb1Cde5C li13ImVpx1GJv+9xirSABz1NcsT+V3s6AlG7jOwBGSGQt1sj8RbyHKkDvqQ2jh4dGV71 g4UpSTriBsCFRjKa0iEKL92SEHEnRvMcEEukfRj1qGrbNbT7oSvpm0cBSACE+sM122wq 0j0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=SXgW3+aR5sHvNkc2F+Wp2Ue6Dp5vG7D7MUK+bwP8Y38=; b=PQLw1NVWdx9tLrD7phD4FZiGELGw1bFbA/2crpKX7KGx9PwtIHo9N94TL6dfH5f6R1 nHe6nmH5oYxVdmt/W8Qf9zWVPefvIrTJirxAJpbCjwE9AaIIN4FvmnQr4MLzJRdNrs+r 4bMZeCf6QJkLUNss5qDHQXzhj71TNgo19XEUh3AqxKcRAklB/c1Kh/+VuEzxndbJHAIw rXbTV2Zzwgq8NgqCw2OVh1imjkKjh3uqVT2x4cmtZLR9TDDVSlep+wCxppYx51PLxPDq ank8eN4hbYZlKWishcjgnic4A0rpC4yyNrxtCzgYS7mHxtAy2mYXQI9JswyTPl4k12HH eY0A== X-Gm-Message-State: AG10YOSHJYAaQc1Pd/2ocAs61HK6Y7brxWLMBo3SIKOtBiekqSs0Rlp+sm23CtgvpIHDGRR+ X-Received: by 10.28.100.134 with SMTP id y128mr11934721wmb.87.1456135130131; Mon, 22 Feb 2016 01:58:50 -0800 (PST) Received: from xps13.localnet (171.36.101.84.rev.sfr.net. [84.101.36.171]) by smtp.gmail.com with ESMTPSA id g3sm23856236wjw.31.2016.02.22.01.58.44 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 22 Feb 2016 01:58:49 -0800 (PST) From: Thomas Monjalon To: Yuanhan Liu Date: Mon, 22 Feb 2016 10:56:42 +0100 Message-ID: <1606367.cIK8dmaxrY@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20160222070824.GY21426@yliu-dev.sh.intel.com> References: <1450321921-27799-1-git-send-email-yuanhan.liu@linux.intel.com> <2602035.hWpncUurjs@xps13> <20160222070824.GY21426@yliu-dev.sh.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Victor Kaplansky , "Michael S. Tsirkin" Subject: Re: [dpdk-dev] [PATCH v3 0/8] vhost-user live migration support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 09:58:50 -0000 2016-02-22 15:08, Yuanhan Liu: > On Fri, Feb 19, 2016 at 04:01:25PM +0100, Thomas Monjalon wrote: > > 2016-01-29 12:57, Yuanhan Liu: > > > This patch set adds the vhost-user live migration support. > > > > > > The major task behind that is to log pages we touched during > > > live migration, including used vring and desc buffer. So, this > > > patch set is basically about adding vhost log support, and > > > using it. > > > > > > Another important thing is that you need notify the switches > > > about the VM location change after migration is done. GUEST_ANNOUNCE > > > feature is for that, which sends an GARP message after migration. > > > For older kernel (<= v3.4) without GUEST_ANNOUNCE support, > > > we construct and broadcast a RARP message, with the mac address > > > from VHOST_USER_SEND_RARP payload. > > > > > > Patchset > > > ======== > > > - Patch 1 handles VHOST_USER_SET_LOG_BASE, which tells us where > > > the dirty memory bitmap is. > > > > > > - Patch 2 introduces a vhost_log_write() helper function to log > > > pages we are gonna change. > > > > > > - Patch 3 logs changes we made to used vring. > > > > > > - Patch 4 logs changes we made to vring desc buffer. > > > > > > - Patch 5 and 7 add some feature bits related to live migration. > > > > > > - patch 6 does the RARP construction and broadcast job. > > > > Patches 2 and 3 have been merged to avoid a compilation error. > > Applied, thanks > > Actually, there was a ongoing discussion about patch 6, the handling > of VHOST_USER_SEND_RARP request: > > http://dpdk.org/ml/archives/dev/2016-February/033539.html > > Maybe you have seen that and I didn't make it clear; my bad. Since you > have already applied it. I will make a standalone patch, and try to > send it out today. Yes I've wrongly understood there was no problem. The series would have not been applied if you had said that a new version was needed or if you had set the patchwork status to "Changes Requested". Sorry, we'll do better next times ;)