* Sending a VM for restart (after it has been shutdown and saved)
@ 2012-09-03 17:35 Michael Johns
2012-09-10 16:30 ` Marcelo Tosatti
0 siblings, 1 reply; 2+ messages in thread
From: Michael Johns @ 2012-09-03 17:35 UTC (permalink / raw)
To: kvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Sending a VM for restart (after it has been shutdown and saved)
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
0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Tosatti @ 2012-09-10 16:30 UTC (permalink / raw)
To: Michael Johns; +Cc: kvm
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-10 17:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox