From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzBgf-0003R6-Lz for qemu-devel@nongnu.org; Mon, 03 Dec 2007 08:50:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzBgd-0003Ph-GZ for qemu-devel@nongnu.org; Mon, 03 Dec 2007 08:50:16 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzBgd-0003PZ-9W for qemu-devel@nongnu.org; Mon, 03 Dec 2007 08:50:15 -0500 Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzBgb-0008Gj-Ur for qemu-devel@nongnu.org; Mon, 03 Dec 2007 08:50:14 -0500 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id lB3Do7OB019919 for ; Mon, 3 Dec 2007 08:50:07 -0500 Received: from file.surrey.redhat.com (file.fab.redhat.com [10.33.63.6]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lB3Do1AE014159 for ; Mon, 3 Dec 2007 08:50:07 -0500 Received: (from berrange@localhost) by file.surrey.redhat.com (8.13.1/8.13.1/Submit) id lB3Do1ar008873 for qemu-devel@nongnu.org; Mon, 3 Dec 2007 13:50:01 GMT Date: Mon, 3 Dec 2007 13:50:01 +0000 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] feature request: changing boot device in the monitor Message-ID: <20071203135001.GB30043@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Reply-To: "Daniel P. Berrange" , 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 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 -=|