From: Ian Campbell Subject: Re: [PATCHv7 0/3] tools: rework VM Generation ID Date: Fri, 27 Jun 2014 16:24:44 +0100 Message-ID: <1403882684.3169.73.camel@kazak.uk.xensource.com> References: <1403877473-25068-1-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X0Y1A-0003y1-KG for xen-devel@lists.xenproject.org; Fri, 27 Jun 2014 15:24:48 +0000 In-Reply-To: <1403877473-25068-1-git-send-email-david.vrabel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: xen-devel@lists.xenproject.org, Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, 2014-06-27 at 14:57 +0100, David Vrabel wrote: > This series reworks the VM Generation ID to a) conform to the > published spec from Microsoft; b) simplify the save/restore code; and > c) extend the libxl API to allow toolstacks to use this feature. > > The VM Generation ID must be regenerated with a new random ID after > certain VM operations. Since xl lacks infrastructure for tracking the > life-cycle of snapshots and clones (etc), the safe option of always > using a new generation ID is used. > > You can download the spec from: > > http://www.microsoft.com/en-us/download/details.aspx?id=30707 > > Patch status ([A]cked, [M]odified, [N]ew): > > M libxl: allow a generation ID to be specified at domain > A xl: generate a new random VM generation ID if requested > A docs: update docs for the ~/platform/generation-id key > > Changes in v7: > > - Fix Ocaml binding for libxl_ms_vm_genid type. That bit looked good to me. Acked + applied.