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

Re: [Xen-devel] [PATCH] libxl: support domainReset

On Tue, Aug 05, 2014 at 07:45:48PM +0100, Ian Campbell wrote:
> > > > Sure.  I think having an API that emulates a power reset button would be
> > > > a nice addition to libxl's domain operations.  The destroy/start
> > > > approach incurs a small bit of overhead, which would be avoided with
> > > > such an API.  Clients (perhaps incorrectly) implementing their own
> > > > notion of reset  would also be avoided.
> > > 
> > > I think this ought to become pretty easy once Wei's patches to record
> > > the guest cfg in libxl are completed. Wei -- what do you think?
> > > 
> > 
> > I don't think this "reset" API will need to record any state, i.e. this
> > feature looks unrelated to my work. What do I miss?
> It's a forced reboot, so the API would need to destroy and then recreate
> the domain. Recreate would need to use the state your patches arrange
> for libxl to store.

Oh you were talking about pesisting state across hard reset, that's of
course achievable. I think hard reset is more or less the same as

That's still somewhat orthogonal to my work though. Not having the
capability to presist state across in libxl doesn't prevent us from
introducing "reset". I think this is the status quo of "reboot" API,
isn't it?


> Ian.

Xen-devel mailing list



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