Re: Running QEMU from a cron job
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nate Bargmann wrote: >> And do not forget that QEMU is mostly a GUI application, so you will >> probably need to run xorg. > > Thanks for pointing that out. That may be another area to work around > as well. As Joshua Kugler already stated, you can run QEMU headless; and there is more than one way to do it. Apart from one already mentioned, you could try starting QEMU in non-graphics mode, as if it had no VGA card. Same way one would run a headless server. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF30oVztOe9mov/y4RApPKAJoCAqsfRBM3uQCnV4PYeyXM73/EVQCfcu63 1cfxrN91eG2btM9d6EOJTw8= =Neot -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Running QEMU from a cron job
* Linas ??virblis <[EMAIL PROTECTED]> [2007 Feb 23 10:01 -0600]: > 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? This was the way I had originally intended to do things and I think I figured how to get this done. My issue was with getting qemu to shut down. It now appears that if I start the VM with the -no-reboot option and then tell the guest (Slackware 10.2) to 'shutdown -r now' qemu will exit instead. I don't need to have any interaction between the host and the guest, I was just missing a reliable way to shut the thing down which I think I've figured out. My goal in all of this is to download a CVS tree of a project I'm working on, build a snapshot tarball, upload it to a directory, delete the tree, and exit. I've already got all of that working on a seperate machine (which used to run full time) and now I'm trying to consolidate everything onto this machine. It can do this in the middle of the night when I sleep. > And do not forget that QEMU is mostly a GUI application, so you will > probably need to run xorg. Thanks for pointing that out. That may be another area to work around as well. - Nate >> -- Wireless | Amateur Radio Station N0NB | Successfully Microsoft Amateur radio exams; ham radio; Linux info @ | free since January 1998. http://www.qsl.net/n0nb/ | "Debian, the choice of My Kawasaki KZ-650 SR @| a GNU generation!" http://www.networksplus.net/n0nb/ | http://www.debian.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Running QEMU from a cron job
On Friday 23 February 2007 07:00, Linas Žvirblis wrote: > And do not forget that QEMU is mostly a GUI application, so you will > probably need to run xorg. You can run qemu headless, with a virtual framebuffer. Makes for a virtual machine you connect to via VNC to view. -- Joshua Kugler Lead System Admin -- Senior Programmer http://www.eeinternet.com PGP Key: http://pgp.mit.edu/ ID 0xDB26D7CE PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111
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- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Running QEMU from a cron job
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. Of course, much control is available interactively, and maybe I'm just not seeing the way this could be done as few examples exist in the user docs. Any tips will be appreciated. - Nate >> -- Wireless | Amateur Radio Station N0NB | Successfully Microsoft Amateur radio exams; ham radio; Linux info @ | free since January 1998. http://www.qsl.net/n0nb/ | "Debian, the choice of My Kawasaki KZ-650 SR @| a GNU generation!" http://www.networksplus.net/n0nb/ | http://www.debian.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]