qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Oliver Gerlich <olig9@gmx.de>
To: dfeustel@mindspring.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Batch mode via Scripts for Qemu?
Date: Fri, 11 Nov 2005 17:17:09 +0100	[thread overview]
Message-ID: <4374C405.1000807@gmx.de> (raw)
In-Reply-To: <200511111043.53147.dfeustel@verizon.net>

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	other threads:[~2005-11-11 16:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-11 15:43 [Qemu-devel] Batch mode via Scripts for Qemu? Dave Feustel
2005-11-11 16:17 ` Oliver Gerlich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4374C405.1000807@gmx.de \
    --to=olig9@gmx.de \
    --cc=dfeustel@mindspring.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).