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

Re: [Xen-devel] Question on QEMU restore process



On Tue, 2015-05-26 at 17:38 +0200, Lengyel, Tamas wrote:
> Hi all,
> 
> I'm wondering if someone can point me in the right direction. I'm
> trying to understand the process around domain save/restore using XL.
> I can see the xl save format and how its appended with the QEMU state
> aquired via the xen-save-devices-state qmp command (this is for
> upstream QEMU). 
> 
> However, I have a hard time locating the exact point where that save
> state is being loaded into the new QEMU process. I see in libxc that
> it should be dumped into "/var/lib/xen/qemu-resume" appended by the
> domain id of the newly created domain. It seems this was passed to
> QEMU via the -loadvm flag at one point, but on Xen 4.4 I don't see
> that flag on my QEMU processes when I restore a domain.

libxl__build_device_model_args_new appears to pass it as "-incoming
fd:N" where N is an open file descriptor which qemu will inherit from
its parent (libxl).

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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