From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 88324C544 for ; Fri, 19 Feb 2016 16:03:00 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id b205so71967288wmb.1 for ; Fri, 19 Feb 2016 07:03:00 -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 :content-type; bh=LIGc1gGyI3a+3QlSXHsYnmCBpDPhSQQj0dpo5J6WdWk=; b=0mJnl645NxHvRmHRo/zuHxsiXjZgHgRXh4qDrtvZMJRDtBSCMSmSzSFbC7IcWdRqUk fWeM3J68Be7hclR5Rm/8HvP7/VeH2L0ux25NXFPCEWIy2HUzl8UoyJuo+/X1zZYpYEZU W4th6uRHGHo4Q+QO6rHIS5rqcIoQzKp8clbLGcSj0n12XDRx/V+fg33AAiVzCAuPpI/U wtrTl7NuQkZlziptVmHeY+fZnC4jIsBXQvLFtqHuYYgzZO55A4qiM/y+iok4E2I2Oy16 zXwoDee/lNkzBRSFM0q2O558cXtC591Z0GqUfuMjFv2Fn22QYtdaiJtiFEj3rtNuGXBS bgzg== 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:content-type; bh=LIGc1gGyI3a+3QlSXHsYnmCBpDPhSQQj0dpo5J6WdWk=; b=jHkmMzUAbp57blxl3awGnmJtv1eZkKNLwjpEUIe/1Jerj5C8vT39oKkP5kH47DRhcr T9AXQYfvv9INuDDIA0OQRNgq9Av3SGzx4UHoXDzOKoyQjSYhOlfL52IKADhI/1ZE6xBN xhHm4kUAL3KOcnkXnFZnFhpvaRP3jndr1cm0RMVEssl8GN+2RQ+Nts02RvlfrCfWZe8Z 9dvER1Se4nsoPg2NgMz406x7zYOgd2UndyAOA9MrUHUD33my+35EGmD+hLX5++l3yC/U Wfin8tGo7mblnIoWL01Hm33qX/AHin2bWo5E2vlcYFegblaoLmFdvO4TP/qAj0DQx7ZI rF7w== X-Gm-Message-State: AG10YOSXqioHFws27cPYkFtFAcrqYzTaqErwKIGT68i4eHFN8BUcluCPps2bgo4PTEx5IWcj X-Received: by 10.28.49.3 with SMTP id x3mr7785135wmx.4.1455894180250; Fri, 19 Feb 2016 07:03:00 -0800 (PST) Received: from xps13.localnet (111.204.154.77.rev.sfr.net. [77.154.204.111]) by smtp.gmail.com with ESMTPSA id e14sm8030987wmi.21.2016.02.19.07.02.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Feb 2016 07:02:59 -0800 (PST) From: Thomas Monjalon To: Yuanhan Liu Date: Fri, 19 Feb 2016 16:01:25 +0100 Message-ID: <2602035.hWpncUurjs@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1454043483-24579-1-git-send-email-yuanhan.liu@linux.intel.com> References: <1450321921-27799-1-git-send-email-yuanhan.liu@linux.intel.com> <1454043483-24579-1-git-send-email-yuanhan.liu@linux.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: Fri, 19 Feb 2016 15:03:00 -0000 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