multiboot: set boot_device to first partition
commitc83066d4c4a13d687d60f1f18c748f934b5a5be6
authorArun Thomas <arun.thomas@gmail.com>
Thu, 28 Apr 2011 14:11:11 +0000 (28 16:11 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 3 Jun 2011 20:12:40 +0000 (3 22:12 +0200)
treec64389b8b380120cc1031bf00c545b871102b68f
parent81c05daf08d1d5033771f7acaef5f19840bf9efa
multiboot: set boot_device to first partition

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 <arun.thomas@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/multiboot.c