]> git.proxmox.com Git - qemu.git/commit
s390/ipl: Fix boot order
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 18 Jun 2013 12:31:52 +0000 (14:31 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 12 Aug 2013 20:18:30 +0000 (15:18 -0500)
commit5e2053dd159bf979a266f0a615a5d821a58bd06b
treeeb9a87e4e6af3b9797a6a92c12c38ae54cb4c5d9
parent045ccf7056e1451660231881d37fa37bbe0a3a3c
s390/ipl: Fix boot order

The latest ipl code adaptions collided with some of the virtio
refactoring rework. This resulted in always booting the first
disk. Let's fix booting from a given ID.
The new code also checks for command lines without bootindex to
avoid random behaviour when accessing dev_st (==0).

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
(cherry picked from commit 5c8ded6ef55761e80353f42d8e59c6e233a2f51a)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/s390x/ipl.c