Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzDkp-0004XV-T5 for qemu-devel@nongnu.org; Mon, 03 Dec 2007 11:02:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzDko-0004XJ-Eg for qemu-devel@nongnu.org; Mon, 03 Dec 2007 11:02:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzDko-0004XG-9W for qemu-devel@nongnu.org; Mon, 03 Dec 2007 11:02:42 -0500 Received: from il.qumranet.com ([82.166.9.18]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzDkn-0003cZ-HH for qemu-devel@nongnu.org; Mon, 03 Dec 2007 11:02:41 -0500 Received: from localhost (karma.qumranet.com [10.0.50.239]) by il.qumranet.com (Postfix) with ESMTP id E2E3D2508F6 for ; Mon, 3 Dec 2007 18:03:17 +0200 (IST) Date: Mon, 3 Dec 2007 18:03:17 +0200 From: Dan Kenigsberg Subject: Re: [Qemu-devel] feature request: changing boot device in the monitor Message-ID: <20071203160317.GA17056@karma.qumranet.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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.