From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ml6eb-00013V-NF for qemu-devel@nongnu.org; Tue, 08 Sep 2009 15:47:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ml6eY-00010y-2Z for qemu-devel@nongnu.org; Tue, 08 Sep 2009 15:47:01 -0400 Received: from [199.232.76.173] (port=50352 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ml6eX-00010l-Pa for qemu-devel@nongnu.org; Tue, 08 Sep 2009 15:46:57 -0400 Received: from mail-qy0-f172.google.com ([209.85.221.172]:47177) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ml6eX-0003sU-CU for qemu-devel@nongnu.org; Tue, 08 Sep 2009 15:46:57 -0400 Received: by qyk2 with SMTP id 2so3108147qyk.21 for ; Tue, 08 Sep 2009 12:46:57 -0700 (PDT) Message-ID: <4AA6B499.5060103@codemonkey.ws> Date: Tue, 08 Sep 2009 14:46:33 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH 0/2] port over extboot from kvm References: <1252401463-3249-1-git-send-email-kraxel@redhat.com> <4AA6607C.4050505@siemens.com> <4AA668A2.1080801@redhat.com> <4AA66B10.2050901@codemonkey.ws> <4AA680BB.5020201@redhat.com> <4AA692A0.1070006@codemonkey.ws> <4AA6AC56.5020700@redhat.com> In-Reply-To: <4AA6AC56.5020700@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Jan Kiszka , Gerd Hoffmann , qemu-devel@nongnu.org Avi Kivity wrote: > The bios exports the "bios drives". You can tell grub to load a > kernel from the first partition of the second disk: (hd1,0) or even > chain-load another boot loaded from another disk. The whole point of device.map is that grub doesn't intrinsically know how to map from bios drives to real drives. In fact, when you chain-load with grub, you often have to "swap" device mappings which has the effect of hooking int13 and faking the primary drive for another OS. See http://www.gnu.org/software/grub/manual/html_node/DOS_002fWindows.html All else aside, from a BIOS perspective, you can usually only boot from 0x80 and that can be mapped to different drives via BCV. Regards, Anthony Liguori