]> git.proxmox.com Git - qemu.git/commit - vl.c
Common: Add quick access to first boot device
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Fri, 26 Apr 2013 02:12:49 +0000 (02:12 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 18:18:24 +0000 (20:18 +0200)
commit7dc5af5545bb72e1343cc959b3f0e5cdd8758f1f
treefd4d335c9a8454fcb8fc617e4e5e79bcd785a0b6
parentba747cc8f31a1de7e0a20e7f0cf97965be338e70
Common: Add quick access to first boot device

Instead of manually parsing the boot_list as character stream,
we can access the nth boot device, specified by the position in the
boot order.

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/sysemu/sysemu.h
vl.c