From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzGgN-0005aT-QR for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:10:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzGgN-0005Zu-59 for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:10:19 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzGgN-0005Zr-1t for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:10:19 -0500 Received: from mu-out-0910.google.com ([209.85.134.190]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzGgM-000431-Mu for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:10:18 -0500 Received: by mu-out-0910.google.com with SMTP id i2so642681mue for ; Mon, 03 Dec 2007 11:10:15 -0800 (PST) Message-ID: Date: Mon, 3 Dec 2007 19:10:14 +0000 From: Gildas Subject: Re: [Qemu-devel] feature request: changing boot device in the monitor In-Reply-To: <20071203160317.GA17056@karma.qumranet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071203160317.GA17056@karma.qumranet.com> Reply-To: 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 2007/12/3, Dan Kenigsberg : > 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. > > And there's another workaround: you can now start qemu with -boot dc , do > your thing with the cd image, go to monitor, eject the cd, and > system_reset. This time, since there's no cd, the bios will boot from > the hard drive. Just as it happens in OS installation on real hardware. > > Dan. Nice trick. Still a "boot" option in the monitor would be nicer/more flexible, so if someone feel like implementing this feature... :) Gildas