[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH RFC] libxc: Document xc_domain_resume
On Mon, Feb 29, 2016 at 02:59:26PM -0500, Konrad Rzeszutek Wilk wrote: > Document the save and suspend mechanism. > > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> > --- > tools/libxc/include/xenctrl.h | 52 > +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 52 insertions(+) > > diff --git a/tools/libxc/include/xenctrl.h b/tools/libxc/include/xenctrl.h > index 150d727..9778947 100644 > --- a/tools/libxc/include/xenctrl.h > +++ b/tools/libxc/include/xenctrl.h > @@ -565,6 +565,58 @@ int xc_domain_destroy(xc_interface *xch, > * This function resumes a suspended domain. The domain should have > * been previously suspended. > * > + * Note that there are 'xc_domain_suspend' as suspending a domain > + * is quite the endeavour. As such this long comment will describe the > + * suspend and resume path. > + * > + * For the purpose of this explanation there are three guests: > + * PV (using hypercalls for privilgied operations), HVM > + * (fully hardware virtualized guests using emulated devices for everything), > + * and PVHVM (hardware virtualized guest with PV drivers). > + * > + * HVM guest are the simplest - they suspend via S3 and resume from > + * S3. Upon resume they have to re-negotiate with the emulated devices. > + * > + * PV and PVHVM communate via via hypercalls for suspend (and resume). "communicate"? Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |