Received: from eggs.gnu.org ([140.186.70.92]:42695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMyQY-0005Zv-01 for qemu-devel@nongnu.org; Thu, 19 May 2011 04:17:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMyQW-0004oW-Tq for qemu-devel@nongnu.org; Thu, 19 May 2011 04:17:49 -0400 Received: from mail-ww0-f53.google.com ([74.125.82.53]:46408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMyQW-0004oL-LY for qemu-devel@nongnu.org; Thu, 19 May 2011 04:17:48 -0400 Received: by wwj40 with SMTP id 40so2371952wwj.10 for ; Thu, 19 May 2011 01:17:47 -0700 (PDT) Date: Thu, 19 May 2011 09:17:35 +0100 From: Stefan Hajnoczi Message-ID: <20110519081636.GA8375@stefanha-thinkpad.localdomain> References: <1303999871-9955-1-git-send-email-arun.thomas@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] multiboot: set boot_device to first partition List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Arun Thomas Cc: qemu-devel@nongnu.org On Wed, May 18, 2011 at 11:49:26PM +0200, Arun Thomas wrote: > On Sun, May 1, 2011 at 6:35 PM, Stefan Hajnoczi wrote: > > On Thu, Apr 28, 2011 at 3:11 PM, Arun Thomas wrote: > >> The multiboot info struct's 'boot_device' field has 'part1' set to 0x01, which > >> maps to the second primary partition. To specify the first primary partition, > >> 'part1' should be set to 0x00, since partition numbers start from zero > >> according to the multiboot spec. > >> > >> Signed-off-by: Arun Thomas > > > > Which OSes have you tested?  Xen?  Solaris? > > I tested Solaris (OpenIndiana Build 148), and it boots fine. I haven't > been able to try Xen. Linux also boots fine, as expected. Okay, if Solaris boots that's a good sign. According to the spec your change is correct, I think this patch should be applied. Reviewed-by: Stefan Hajnoczi