From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzGwj-0002rk-Kt for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:27:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzGwi-0002r5-3g for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:27:13 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzGwh-0002r0-Vy for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:27:12 -0500 Received: from mu-out-0910.google.com ([209.85.134.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzGwh-0001C8-Iu for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:27:11 -0500 Received: by mu-out-0910.google.com with SMTP id i2so670548mue for ; Mon, 03 Dec 2007 11:27:08 -0800 (PST) Message-ID: Date: Mon, 3 Dec 2007 19:27:05 +0000 From: Gildas Subject: Re: [Qemu-devel] feature request: changing boot device in the monitor In-Reply-To: <20071203135001.GB30043@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071203135001.GB30043@redhat.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org 2007/12/3, Daniel P. Berrange : > On Mon, Dec 03, 2007 at 01:34:16PM +0000, Gildas wrote: > > Hi, > > > > I don't know whether this is an easy one or not and if it will apply > > to all archs, but I'd like to see an option in the monitor to > > change/override the value given for -boot. > > > > This way, for instance if you install a VM from a CDROM using "-boot > > d", you would be able to restart it on the hard-drive from the monitor > > with something like "boot c" followed by "system_reset". > > > > I know there is still the workaround of stopping the emulation and > > restarting it with a different set of commands, but when remotely > > accessing a VM with a lots of redirection/connection, it's not very > > handy. > > > > Of course there is also an orthogonal way of doing this consisting in > > adding a boot menu to the BIOS. Implementing both ways would of course > > be nice, but the monitor solution would have my preference :) > > There's a patch for this floating around. > > http://www.mail-archive.com/kvm-devel@lists.sourceforge.net/msg06675.html > > We use it in KVM / Xen on Fedora. Not sure offhand if Bochs project ever > accepted the patch in their upstream for the BIOS. > > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| > |=- Perl modules: http://search.cpan.org/~danberr/ -=| > |=- Projects: http://freshmeat.net/~danielpb/ -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| Hi Daniel, Thanks for the link. I somehow managed not to see it. For the record, there's a later version of the patch in the same thread: http://www.mail-archive.com/kvm-devel@lists.sourceforge.net/msg07058.html Which version do you include in Fedora? As far as I can tell, none of the patches were applied to the mainstream bochs rombios.c. Since qemu is shipped with a binary bios image and a diff set for bochs' bios, can this patch be added to qemu's diff set and included in the default bios? Regards, Gildas