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

Re: Running QEMU from a cron job



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nate Bargmann wrote:

> I am wanting to restart a QEMU virtual machine from a cron entry, let
> the VM do something, and then after a period of time freeze the VM
> until the next day.  After reading the docs and browsing the Web for a
> few days, I'm not so sure this is possible.

Well, I guess it is possible, but it may require some (or maybe a lot
of) programming skills. You could write an application that would
control QEMU via its monitor interface. It would then be possible to
suspend, pause, and do all sort of cool things with the VM.

A much simpler solution would be to have QEMU started by cron, and set
up the guest OS to shut down after doing something. Or you could run
QEMU in snapshot mode and simply kill it, when not needed. Or... the
possibilities are endless. What exactly do you want to achieve?

And do not forget that QEMU is mostly a GUI application, so you will
probably need to run xorg.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF3w+TztOe9mov/y4RAiOeAJwP+XAbIrMQNRhfGOcH0/Oodef4TACdG9ho
gUK+AnLR7t14mvvqp7R7ODY=
=g4e/
-----END PGP SIGNATURE-----



Reply to: