[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v4 7/7] xl: allow domid to be preserved on save/restore or migrate



> -----Original Message-----
> From: Ian Jackson <ian.jackson@xxxxxxxxxx>
> Sent: 30 January 2020 17:29
> To: Durrant, Paul <pdurrant@xxxxxxxxxxxx>
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx; Wei Liu <wl@xxxxxxx>; Anthony Perard
> <anthony.perard@xxxxxxxxxx>
> Subject: Re: [PATCH v4 7/7] xl: allow domid to be preserved on
> save/restore or migrate
> 
> Paul Durrant writes ("[PATCH v4 7/7] xl: allow domid to be preserved on
> save/restore or migrate"):
> > This patch adds a '-D' command line option to save and migrate to allow
> > the domain id to be incorporated into the saved domain configuration and
> > hence be preserved.
> 
> Thanks.
> 
> In response to v3 6/6 I wrote:
> 
>   I wonder if this should be done more in libxl.  Should this be a
>   domain property ?  Wei, Anthony ?
> 
> This question remains unanswered.  I'm sorry that neither Wei nor
> Anthony had a chance to answer yet...
> 
> Paul, do you have a reason for doing it this way ?  My inclination is
> that think doing it at the libxl layer would make more sense.  Do you
> think that would be possible ?
> 

I'm not sure how it would work at the libxl level as the domid is part of 
create_info and that it transferred by xl on migration. IIUC we'd need a new 
libxl save record to transfer it at that level, and then I'm not sure whether 
we'd hit an ordering problem as we'd have to dig that save record out before we 
could actually create the domain.

  Paul

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.