From: Ian Campbell Subject: Re: What runtime states to be preserved across save / restore? Date: Mon, 28 Apr 2014 15:16:17 +0100 Message-ID: <1398694577.29700.130.camel@kazak.uk.xensource.com> References: <20140428131041.GA28126@zion.uk.xensource.com> <1398692533.29700.108.camel@kazak.uk.xensource.com> <20140428135716.GB28126@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140428135716.GB28126@zion.uk.xensource.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: Wei Liu Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2014-04-28 at 14:57 +0100, Wei Liu wrote: > > Other things I can think of right now: > > > > * The devid of each device -- for some classes these can be > > automatically assigned, I'm not really sure if that needs > > preserving or not. > > I don't think so. The receiving end should make its own decision. Having eth0 become eth1 over migrate would be surprising though, wouldn't it? > > * Hotplug of devices more generally > > > > Scripts? If so, they, with the things you mentioned below ... Not script, I meant e.g. xl block-attach and stuff like that. > > The selection of the block device backend is also interesting. If the > > user didn't select then you want to remember that so the other end can > > make its own choice about what is best, but if the user asked for > > something explicit it needs preserving. > > > > ... are already in the config file if user ever specifies them, so > they are already preserved. Great. But the config file doesn't contain hotplugged devices I think. Ian.