Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CDENF-0007xs-LM for qemu-devel@nongnu.org; Thu, 30 Sep 2004 23:46:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CDENF-0007xg-7K for qemu-devel@nongnu.org; Thu, 30 Sep 2004 23:46:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CDENF-0007xd-3k for qemu-devel@nongnu.org; Thu, 30 Sep 2004 23:46:25 -0400 Received: from [216.254.0.205] (helo=mail5.speakeasy.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CDEGS-0000IN-CO for qemu-devel@nongnu.org; Thu, 30 Sep 2004 23:39:24 -0400 Received: from dsl081-088-222.lax1.dsl.speakeasy.net (HELO [192.168.111.2]) ([64.81.88.222]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Oct 2004 03:39:22 -0000 Subject: Re: [Qemu-devel] QEMU feature idea: simple macros/scripting From: "John R. Hogerhuis" In-Reply-To: References: <1096588555.10585.42.camel@aragorn> Content-Type: text/plain Message-Id: <1096602009.10585.62.camel@aragorn> Mime-Version: 1.0 Date: Thu, 30 Sep 2004 20:40:09 -0700 Content-Transfer-Encoding: 7bit Reply-To: jhoger@pobox.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Thu, 2004-09-30 at 17:19, Johannes Schindelin wrote: > I started to write a vnc frontend for QEmu. On the other end, I started to > write a scriptable vnc viewer. The use of this? Macros/Scripting for QEmu, > but also Macros/Scripting for everything which can be controlled by a > vncviewer. For now, I use an adaption of vncrec, which just records inputs > and timestamps, and play those inputs back later. Sounds like your solution would work for me as well. I hadn't thought of using vnc and related tools. I'm not sure what kind of integration makes sense, if any. A record/playback feature could be 1) In QEMU proper wedged between the QEMU and the guest, hooked into the data traffic 2) In a front end to QEMU which just communicates through a to-be-implemented API; basically still #1 just architecturally different 3) In a completely separate utility that knows nothing about QEMU and just deals with X. Such utilities exist for X 4) In a VNC viewer 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, and not all OSes necessarily have good utilities for recording and playing back such events. -- John.