All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: "Lengyel, Tamas" <tlengyel@novetta.com>
Cc: xen-devel@lists.xen.org
Subject: Re: Question on QEMU restore process
Date: Tue, 26 May 2015 16:49:28 +0100	[thread overview]
Message-ID: <1432655368.14664.150.camel@citrix.com> (raw)
In-Reply-To: <CAD33N+6aufsZkVM8sNicZz2c5Xe-YbtjVXGrFqVCoxdkCFkRbQ@mail.gmail.com>

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.

  reply	other threads:[~2015-05-26 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-26 15:38 Question on QEMU restore process Lengyel, Tamas
2015-05-26 15:49 ` Ian Campbell [this message]
2015-05-29 11:19   ` Lengyel, Tamas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1432655368.14664.150.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=tlengyel@novetta.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.