From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zgugk-0004BH-3E for qemu-devel@nongnu.org; Tue, 29 Sep 2015 09:11:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zguge-0001m4-BY for qemu-devel@nongnu.org; Tue, 29 Sep 2015 09:11:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zguge-0001lc-61 for qemu-devel@nongnu.org; Tue, 29 Sep 2015 09:11:16 -0400 Date: Tue, 29 Sep 2015 14:11:10 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20150929131109.GI3810@work-vm> References: <87E5D202-0E71-426D-807A-A0737EF07158@gmail.com> <20150928023046.4417.51660@loki> <371B9FFB-14FD-4707-9094-29EC9F6B508F@gmail.com> <87vbavm27u.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] feature idea: allow user to run custom scripts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Michael Roth , Programmingkid , Peter Crosthwaite , qemu-devel qemu-devel , Markus Armbruster * Peter Maydell (peter.maydell@linaro.org) wrote: > On 28 September 2015 at 20:43, Programmingkid wrote: > > > > On Sep 28, 2015, at 3:29 AM, Markus Armbruster wrote: > > > >> Programmingkid writes: > >>> A menu item > >>> that displays a file open dialog is very easy to use. The user just selects > >>> a file and QEMU loads and runs all the commands in it. This feature > >>> would make QEMU easier to use. It would also make QEMU easily > >>> expandable. Typing long commands in the monitor is difficult and > >>> error prone. Saving these commands in a file would make it much > >>> easier for the user. An example command someone could put in a > >>> file is sending Control-Alt-Delete to the emulator. Another command > >>> could be mounting an image file. This feature would make things > >>> much easier for the user. > >> > >> You didn't mention you're talking about a *GUI* feature. > > > > I'm thinking it would be easier to send in the patch rather than talk about > > what this feature could be. > > I think Markus and I are trying to save you that effort by > pointing out that this is a VM management layer feature, > not a core QEMU feature. OK, so I'm going to agree with Programmingkid here. I think this would be a useful feature to have in QEMU; I've got gratuitous hacks in some of my test scripts that work around it not being there. I think there are two possible things, both of which seem fairly easy: 1) Add a -chardev from file that works in this case (I don't think the current chardev file works does it?) 2) A 'source' like command. Dave > > thanks > -- PMM > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK