public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Michael Johns <michaelj8982@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Sending a VM for restart (after it has been shutdown and saved)
Date: Mon, 10 Sep 2012 13:30:59 -0300	[thread overview]
Message-ID: <20120910163059.GA12406@amt.cnet> (raw)
In-Reply-To: <CAEWWJhiqY6V=V1_tSZ-Q1OTordAw_ZU6nLF82WfOMCvzA5TTPg@mail.gmail.com>

On Mon, Sep 03, 2012 at 06:35:24PM +0100, Michael Johns wrote:
> Hi list,
> 
> I have been hacking the KVM-QEMU code, but need some help to be able
> to perform a particular operation.
> 
> Currently, I perform some operations on the VM image after it has
> received a shutdown call, and after the image itself has been fully
> saved before KVM-QEMU shuts down. I perform these operations within
> the bdrv_close_all () method within block.c, and it works exactly as I
> want it to.
> 
> What I would like to be able to do is to send the VM in question back
> for a restart from that part of the code, and I was wondering if this
> was possible with a given command. When I say send it back, I mean
> literally to have the KVM-QEMU treat the VM as if has just been
> started/restarted. Although I know a few things, there is still a lot
> I don't know so it would be great to get some help on this.
> 
> Thanks,
> 
> M

Do you mean system_reset command from QEMU monitor?


      reply	other threads:[~2012-09-10 17:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03 17:35 Sending a VM for restart (after it has been shutdown and saved) Michael Johns
2012-09-10 16:30 ` Marcelo Tosatti [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=20120910163059.GA12406@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=michaelj8982@gmail.com \
    /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