qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Batch mode via Scripts for Qemu?


From: Oliver Gerlich
Subject: Re: [Qemu-devel] Batch mode via Scripts for Qemu?
Date: Fri, 11 Nov 2005 17:17:09 +0100
User-agent: Mozilla Thunderbird 1.0.6-1 (X11/20050804)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]