summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCollin Walling2018-04-16 18:56:08 +0200
committerThomas Huth2018-05-02 11:27:14 +0200
commit074afe60d4c8167dcfaee7aca1065c6360449eaa (patch)
tree4d860243718b454f3ac3501d10b90e8b04a40898 /include
parentpc-bios/s390-ccw: rename MAX_TABLE_ENTRIES to MAX_BOOT_ENTRIES (diff)
downloadqemu-074afe60d4c8167dcfaee7aca1065c6360449eaa.tar.gz
qemu-074afe60d4c8167dcfaee7aca1065c6360449eaa.tar.xz
qemu-074afe60d4c8167dcfaee7aca1065c6360449eaa.zip
pc-bios/s390-ccw: fix loadparm initialization and int conversion
Rename the loadparm char array in main.c to loadparm_str and increased the size by one byte to account for a null termination when converting the loadparm string to an int via atoui. We also allow the boot menu to be enabled when loadparm is set to an empty string or a series of spaces. Signed-off-by: Collin Walling <walling@linux.ibm.com> Reported-by: Vasily Gorbik <gor@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions