From: "John R. Hogerhuis" <jhoger@pobox.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] QEMU feature idea: simple macros/scripting
Date: Fri, 01 Oct 2004 21:58:35 -0700 [thread overview]
Message-ID: <1096693115.30294.29.camel@aragorn> (raw)
In-Reply-To: <Pine.LNX.4.58.0410011134350.7025@wgmdd8.biozentrum.uni-wuerzburg.de>
On Fri, 2004-10-01 at 02:54, Johannes Schindelin wrote:
> > 5) In the guest only; such utilities exist for Windows and probably some
> > other OSes.
> >
> > Not sure what the pros/cons are exactly. (5) can be ruled out since you
> > wouldn't be able to script at the QEMU level (saving/loading system
> > state images and such [...])
>
> Well, not exactly true. You can run a job which looks on the second hard
> drive (if that exists) for a script, and then savevm. When you now run
> qemu loadvm'ing that state, you supply a second hard drive image et voila!
>
Actually in that direction, it strikes me that the guest is the most
efficient and accurate place to record events, if at all possible, since
then, say instead of recording a mouse position and a button click, the
recorder instead saves the window id of the button and the message that
goes to it. And it would be more likely to work properly even if a
window shows up in a different place on a given run than the other
possible solutions.
In that case it would make sense to design a formal communication
channel between QEMU and a player/recorder piece running in the guest,
so that QEMU could send/receive portions of the script that must run in
the guest and get notified at transition points (including exceptional
occurences) so QEMU could execute portions of the script only it can
(like savevm).
VmWare has "Vmware Tools" which run in the guest, which adds remote
control of the graphics driver among other things. From what Lionel
said, it sounds like there is something that is part of the WINE project
which could be utilized here, and it could be made part of a package for
QEMU analogous to VmWare Tools.
-- John.
next prev parent reply other threads:[~2004-10-02 5:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-30 23:55 [Qemu-devel] QEMU feature idea: simple macros/scripting John R. Hogerhuis
2004-10-01 0:19 ` Johannes Schindelin
2004-10-01 3:40 ` John R. Hogerhuis
2004-10-01 9:54 ` Johannes Schindelin
2004-10-02 4:58 ` John R. Hogerhuis [this message]
2004-10-01 7:09 ` Lionel Ulmer
2004-10-01 10:08 ` Johannes Schindelin
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=1096693115.30294.29.camel@aragorn \
--to=jhoger@pobox.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).