* [Qemu-devel] Batch mode via Scripts for Qemu?
@ 2005-11-11 15:43 Dave Feustel
2005-11-11 16:17 ` Oliver Gerlich
0 siblings, 1 reply; 2+ messages in thread
From: Dave Feustel @ 2005-11-11 15:43 UTC (permalink / raw)
To: qemu-devel
Is there any way to control Qemu with a script?
(e.g. start Qemu with
Qemu -S -hda disk.img
then feed the commands
loadvm <vm state file>
c
<...>
stop
savevm <vm state file>
q
to the monitor console)
Thanks,
Dave Feustel
--
Tired of having to defend against Malware?
You know: trojans, viruses, SPYWARE, ADWARE,
KEYLOGGERS, rootkits, worms and popups.
Then Switch to OpenBSD with a KDE desktop!!!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Batch mode via Scripts for Qemu?
2005-11-11 15:43 [Qemu-devel] Batch mode via Scripts for Qemu? Dave Feustel
@ 2005-11-11 16:17 ` Oliver Gerlich
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Gerlich @ 2005-11-11 16:17 UTC (permalink / raw)
To: dfeustel, qemu-devel
Dave Feustel wrote:
> Is there any way to control Qemu with a script?
> (e.g. start Qemu with
> Qemu -S -hda disk.img
> then feed the commands
> loadvm <vm state file>
> c
> <...>
> stop
> savevm <vm state file>
> q
> to the monitor console)
>
> Thanks,
> Dave Feustel
You can redirect the monitor to stdio and then send your commands over
that connection. IIRC the monitor can also be redirected to a pty -
maybe that's even better than stdio.
Oliver
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-11 16:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-11 15:43 [Qemu-devel] Batch mode via Scripts for Qemu? Dave Feustel
2005-11-11 16:17 ` Oliver Gerlich
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).