qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Catalin Vasile <catalinvasile92@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] register_savevm()
Date: Fri, 17 Apr 2015 15:02:41 +0100	[thread overview]
Message-ID: <CAFEAcA9Dr8qHs2iaRjs-TNS45MjFUd93M00zoTXq1F74jXL=Aw@mail.gmail.com> (raw)
In-Reply-To: <CAOMf8trRA_17HkskO_9_UQe=LO5+6Srsp3OJdVSaLOeyjsf2EQ@mail.gmail.com>

On 17 April 2015 at 14:54, Catalin Vasile <catalinvasile92@gmail.com> wrote:
> Does loadvm create new virtual devices (dev.init(), dev.realize(), etc.) for
> the vm to run onto and then load VMStateDescription?

loadvm itself does not, no. You have to start QEMU with the
exact same configuration and command line options, which
means the usual startup will create all the devices and
connect them up. Then you can do a loadvm which will read
the state into all the existing devices.

-- PMM

      reply	other threads:[~2015-04-17 14:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17 13:03 [Qemu-devel] register_savevm() Catalin Vasile
2015-04-17 13:40 ` Peter Maydell
2015-04-17 13:54   ` Catalin Vasile
2015-04-17 14:02     ` Peter Maydell [this message]

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='CAFEAcA9Dr8qHs2iaRjs-TNS45MjFUd93M00zoTXq1F74jXL=Aw@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=catalinvasile92@gmail.com \
    --cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).