[Qemu-devel] [PATCH 2/4] pc-bios/s390-ccw: fix loadparm initialization and int conversion

2018-04-13 Thread Collin Walling
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.

Re: [Qemu-devel] [PATCH 2/4] pc-bios/s390-ccw: fix loadparm initialization and int conversion

2018-04-12 Thread Thomas Huth
On 12.04.2018 23:04, Farhan Ali wrote: > > > On 04/12/2018 04:57 PM, Collin Walling wrote: >> On 04/12/2018 02:57 PM, Thomas Huth wrote: >>> On 10.04.2018 17:01, Collin Walling wrote: Rename the loadparm char array in main.c to loadparm_str and increase the size by one byte to account

Re: [Qemu-devel] [PATCH 2/4] pc-bios/s390-ccw: fix loadparm initialization and int conversion

2018-04-12 Thread Farhan Ali
On 04/12/2018 04:57 PM, Collin Walling wrote: On 04/12/2018 02:57 PM, Thomas Huth wrote: On 10.04.2018 17:01, Collin Walling wrote: Rename the loadparm char array in main.c to loadparm_str and increase the size by one byte to account for a null termination when converting the loadparm string

Re: [Qemu-devel] [PATCH 2/4] pc-bios/s390-ccw: fix loadparm initialization and int conversion

2018-04-12 Thread Collin Walling
On 04/12/2018 02:57 PM, Thomas Huth wrote: > On 10.04.2018 17:01, Collin Walling wrote: >> Rename the loadparm char array in main.c to loadparm_str and >> increase the size by one byte to account for a null termination >> when converting the loadparm string to an int via atoui. Also >> allow the

Re: [Qemu-devel] [PATCH 2/4] pc-bios/s390-ccw: fix loadparm initialization and int conversion

2018-04-12 Thread Thomas Huth
On 10.04.2018 17:01, Collin Walling wrote: > Rename the loadparm char array in main.c to loadparm_str and > increase the size by one byte to account for a null termination > when converting the loadparm string to an int via atoui. Also > allow the boot menu to be enabled when loadparm is set to

[Qemu-devel] [PATCH 2/4] pc-bios/s390-ccw: fix loadparm initialization and int conversion

2018-04-10 Thread Collin Walling
Rename the loadparm char array in main.c to loadparm_str and increase the size by one byte to account for a null termination when converting the loadparm string to an int via atoui. Also allow the boot menu to be enabled when loadparm is set to an empty string or a series of spaces.