From: Wei Liu Subject: Re: [PATCH v6 29/29] libxl: add support for migrating HVM guests without a device model Date: Thu, 10 Sep 2015 17:00:05 +0100 Message-ID: <20150910160005.GE1695@zion.uk.xensource.com> References: <1441368548-43465-1-git-send-email-roger.pau@citrix.com> <1441368548-43465-30-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Za4Gj-00029I-67 for xen-devel@lists.xenproject.org; Thu, 10 Sep 2015 16:00:13 +0000 Content-Disposition: inline In-Reply-To: <1441368548-43465-30-git-send-email-roger.pau@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: Roger Pau Monne Cc: xen-devel@lists.xenproject.org, Ian Jackson , Ian Campbell , Wei Liu List-Id: xen-devel@lists.xenproject.org On Fri, Sep 04, 2015 at 02:09:08PM +0200, Roger Pau Monne wrote: > Only some minor libxl changes are needed in order to be able to migrate H= VM > guests without a device model, no hypervisor changes are needed. > = > This change adds support for LIBXL_DEVICE_MODEL_VERSION_NONE into the > migration code. > = > Signed-off-by: Roger Pau Monn=E9 > Cc: Ian Jackson > Cc: Ian Campbell > Cc: Wei Liu > --- [...] > diff --git a/tools/libxl/libxl_sr_stream_format.h b/tools/libxl/libxl_sr_= stream_format.h > index 54da360..960211c 100644 > --- a/tools/libxl/libxl_sr_stream_format.h > +++ b/tools/libxl/libxl_sr_stream_format.h > @@ -46,6 +46,7 @@ typedef struct libxl__sr_emulator_hdr > #define EMULATOR_UNKNOWN 0x00000000U > #define EMULATOR_QEMU_TRADITIONAL 0x00000001U > #define EMULATOR_QEMU_UPSTREAM 0x00000002U > +#define EMULATOR_NONE 0x00000003U > = You also need to patch migration stream spec under docs. Wei.