gly, we should fix the function and re-define size_t
to be unsigned instead...
Thomas
Agreed.
--
- Collin L Walling
boot menu=on
was provided on the commandline. Otherwise, return silently.
While we're at it, remove trailing periods from error
messages.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
hw/s390x/ipl.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/hw/
On 02/27/2018 02:18 PM, Cornelia Huck wrote:
On Tue, 27 Feb 2018 10:19:20 -0500
"Collin L. Walling" <wall...@linux.vnet.ibm.com> wrote:
Nit: make the prefix s390x/ipl:, as this is not directly in the bios.
It is possible that certain QEMU configurations may not
create an IP
boot menu=on
was provided on the commandline. Otherwise, return silently.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
hw/s390x/ipl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c
index 798e99a..c4addb5 100644
--- a/hw/s390
On 02/27/2018 04:22 AM, Thomas Huth wrote:
On 27.02.2018 10:12, Cornelia Huck wrote:
On Mon, 26 Feb 2018 14:44:45 -0500
"Collin L. Walling" <wall...@linux.vnet.ibm.com> wrote:
On 02/26/2018 02:29 PM, Collin L. Walling wrote:
On 02/26/2018 01:48 PM, Cornelia Huck wrote:
On
On 02/26/2018 02:29 PM, Collin L. Walling wrote:
On 02/26/2018 01:48 PM, Cornelia Huck wrote:
On Mon, 26 Feb 2018 11:42:29 +0100
Thomas Huth <th...@redhat.com> wrote:
[...]
3 files changed, 66 insertions(+), 4 deletions(-)
+static void s390_ipl_set_boot_menu(S390IPLStat
On 02/26/2018 01:48 PM, Cornelia Huck wrote:
On Mon, 26 Feb 2018 11:42:29 +0100
Thomas Huth <th...@redhat.com> wrote:
From: "Collin L. Walling" <wall...@linux.vnet.ibm.com>
Set boot menu options for an s390 guest and store them in
the iplb. These options are set via
On 02/23/2018 11:03 AM, Thomas Huth wrote:
On 23.02.2018 16:43, Collin L. Walling wrote:
The s390-ccw firmware needs some information in support of the
boot process which is not available on the native machine.
Examples are the netboot firmware load address and now the
boot menu parameters
-4.13.0)
1. linux-4.13.0
2. performance
3. kvm
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/menu.c | 33 -
1 file changed, 32 insertions(+), 1 deletion(-)
diff --g
the boot menu
timeout=X set the timeout to X seconds
To explicitly disregard any boot menu options, then menu=off or
must be specified.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
hw/s390x/ipl.c |
Interactive boot menu for scsi. This follows a similar procedure
as the interactive menu for eckd dasd. An example follows:
s390x Enumerated Boot Menu.
3 entries detected. Select from index 0 to 2.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thoma
Reads boot menu flag and timeout values from the iplb and
sets the respective fields for the menu.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/Makefile | 2 +-
pc-bios/s390-ccw/mai
entries, then the
selection will be booted. Any erroneous input will cancel
the timeout and re-prompt the user.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/menu
for loadparm will override all boot menu options.
If loadparm=PROMPT, then the menu will be enabled without a
timeout.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Janosch Frank <fran...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
-
assignment of the (non control program)
send and receive masks, as those are actually set by the SCLP.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/menu.c | 5 +
pc-bios/s390-ccw/s390-ccw.h |
BootMapTable
- fixup ipl_scsi to use BootMapTable (referred to as Program Table)
- defined value for maximum table entries
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/bo
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/bootmap.c | 94 ++---
pc-bios/s390-ccw/bootmap.h | 23 ++-
pc-bios/s390-ccw/menu.c | 10 +
pc-bios/s390-ccw/s390
the IPL has completed.
Signed-off-by: Viktor Mihajlovski <mihaj...@linux.vnet.ibm.com>
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
hw/s390x/ipl.c | 18 +-
hw/s390x/i
A loadparm other than 'prompt' will disable the menu and just boot
the specified entry.
If no boot options are specified, we will attempt to use the values
provided by zipl (ECKD DASD only).
Collin L. Walling (13):
s390-ccw: refactor boot map table code
s390-ccw: refactor eckd_block_num to use
Moved:
memcmp from bootmap.h to libc.h (renamed from _memcmp)
strlen from sclp.c to libc.h (renamed from _strlen)
Added C standard functions:
isdigit
Added non C-standard function:
uitoa
atoui
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Acked-by: Chr
ECKD DASDs have different IPL structures for CDL and LDL
formats. The current Ipl1 and Ipl2 structs follow the CDL
format, so we prepend "EckdCdl" to them. Boot info for LDL
has been moved to a new struct: EckdLdlIpl1.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.i
Add new cylinder/head/sector struct. Use it to calculate
eckd block numbers instead of a BootMapPointer (which used
eckd chs anyway).
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/bo
respin 9 and reply to this chain.
--
- Collin L Walling
On 02/23/2018 09:57 AM, Collin L. Walling wrote:
On 02/23/2018 05:11 AM, Christian Borntraeger wrote:
On 02/23/2018 11:07 AM, Thomas Huth wrote:
On 22.02.2018 20:40, Collin L. Walling wrote:
On 02/22/2018 11:45 AM, Collin L. Walling wrote:
On 02/22/2018 10:44 AM, Christian Borntraeger wrote
On 02/23/2018 05:11 AM, Christian Borntraeger wrote:
On 02/23/2018 11:07 AM, Thomas Huth wrote:
On 22.02.2018 20:40, Collin L. Walling wrote:
On 02/22/2018 11:45 AM, Collin L. Walling wrote:
On 02/22/2018 10:44 AM, Christian Borntraeger wrote:
On 02/22/2018 04:40 PM, Collin L. Walling wrote
On 02/22/2018 11:45 AM, Collin L. Walling wrote:
On 02/22/2018 10:44 AM, Christian Borntraeger wrote:
On 02/22/2018 04:40 PM, Collin L. Walling wrote:
On 02/22/2018 07:23 AM, Viktor Mihajlovski wrote:
On 22.02.2018 12:51, Christian Borntraeger wrote:
Series
Acked-by: Christian Borntraeger
On 02/22/2018 10:44 AM, Christian Borntraeger wrote:
On 02/22/2018 04:40 PM, Collin L. Walling wrote:
On 02/22/2018 07:23 AM, Viktor Mihajlovski wrote:
On 22.02.2018 12:51, Christian Borntraeger wrote:
Series
Acked-by: Christian Borntraeger <borntrae...@de.ibm.com>
Thanks!!!
menu o
putting it all
together.
Shall I whip something up and post what I have as a reply to this email
chain?
--
- Collin L Walling
assignment of the (non control program)
send and receive masks, as those are actually set by the SCLP.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
pc-bios/s390-ccw/menu.c | 5 +
pc-bios/s390-ccw/s390-ccw.h | 1 +
pc-bios/s390-ccw/sclp.c | 10 --
3
for loadparm will override all boot menu options.
If loadparm=PROMPT, then the menu will be enabled without a
timeout.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Janosch Frank <fran...@linux.vnet.ibm.com>
---
hw/s390x/ipl.c
the IPL has completed.
Signed-off-by: Viktor Mihajlovski <mihaj...@linux.vnet.ibm.com>
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
hw/s390x/ipl.c | 18 +-
hw/s390x/ipl.h | 25 +++--
pc-bios/s390-ccw
the boot menu
timeout=X set the timeout to X seconds
To explicitly disregard any boot menu options, then menu=off or
must be specified.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
hw/s390x/ipl.c | 5 +
hw/s390x/ipl.h | 1 +
pc-bios/s3
fied entry.
If no boot options are specified, we will attempt to use the values
provided by zipl (ECKD DASD only).
Collin L. Walling (13):
s390-ccw: refactor boot map table code
s390-ccw: refactor eckd_block_num to use CHS
s390-ccw: refactor IPL structs
s390-ccw: update libc
s390-ccw: move aux
-4.13.0)
1. linux-4.13.0
2. performance
3. kvm
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/menu.c | 33 -
1 file changed, 32 insertions(+), 1 deletion(-)
diff --g
BootMapTable
- fixup ipl_scsi to use BootMapTable (referred to as Program Table)
- defined value for maximum table entries
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/bo
Interactive boot menu for scsi. This follows a similar procedure
as the interactive menu for eckd dasd. An example follows:
s390x Enumerated Boot Menu.
3 entries detected. Select from index 0 to 2.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thoma
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/bootmap.c | 94 ++---
pc-bios/s390-ccw/bootmap.h | 23 ++-
pc-bios/s390-ccw/menu.c | 5 +++
pc-bios/s390-ccw/s390
Reads boot menu flag and timeout values from the iplb and
sets the respective fields for the menu.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/Makefile | 2 +-
pc-bios/s390-ccw/mai
ECKD DASDs have different IPL structures for CDL and LDL
formats. The current Ipl1 and Ipl2 structs follow the CDL
format, so we prepend "EckdCdl" to them. Boot info for LDL
has been moved to a new struct: EckdLdlIpl1.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.i
Moved:
memcmp from bootmap.h to libc.h (renamed from _memcmp)
strlen from sclp.c to libc.h (renamed from _strlen)
Added C standard functions:
isdigit
Added non C-standard function:
uitoa
atoui
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Acked-by: Chr
Add new cylinder/head/sector struct. Use it to calculate
eckd block numbers instead of a BootMapPointer (which used
eckd chs anyway).
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/bo
entries, then the
selection will be booted. Any erroneous input will cancel
the timeout and re-prompt the user.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/menu
On 02/19/2018 10:52 AM, Viktor Mihajlovski wrote:
On 16.02.2018 23:07, Collin L. Walling wrote:
[...]
diff --git a/hw/s390x/ipl.h b/hw/s390x/ipl.h
index 74469b1..f632c59 100644
--- a/hw/s390x/ipl.h
+++ b/hw/s390x/ipl.h
@@ -60,6 +60,9 @@ typedef struct IplBlockQemuScsi IplBlockQemuScsi
On 02/19/2018 11:19 AM, Collin L. Walling wrote:
On 02/19/2018 11:00 AM, Thomas Huth wrote:
On 19.02.2018 16:40, Collin L. Walling wrote:
On 02/17/2018 02:48 AM, Thomas Huth wrote:
On 16.02.2018 23:07, Collin L. Walling wrote:
[...]
+/**
+ * uitoa:
+ * @num: an integer (base 10
On 02/19/2018 11:00 AM, Thomas Huth wrote:
On 19.02.2018 16:40, Collin L. Walling wrote:
On 02/17/2018 02:48 AM, Thomas Huth wrote:
On 16.02.2018 23:07, Collin L. Walling wrote:
[...]
+/**
+ * uitoa:
+ * @num: an integer (base 10) to be converted.
+ * @str: a pointer to a string to store
On 02/19/2018 09:17 AM, Christian Borntraeger wrote:
On 02/19/2018 03:15 PM, Christian Borntraeger wrote:
On 02/16/2018 11:07 PM, Collin L. Walling wrote:
It is possible while waiting for multiple types of external
interrupts that we might have pending irqs remaining between
irq consumption
On 02/19/2018 09:15 AM, Christian Borntraeger wrote:
On 02/16/2018 11:07 PM, Collin L. Walling wrote:
It is possible while waiting for multiple types of external
interrupts that we might have pending irqs remaining between
irq consumption and irq-type disabling. Those interrupts
could
On 02/17/2018 02:48 AM, Thomas Huth wrote:
On 16.02.2018 23:07, Collin L. Walling wrote:
[...]
+/**
+ * uitoa:
+ * @num: an integer (base 10) to be converted.
+ * @str: a pointer to a string to store the conversion.
+ * @len: the length of the passed string.
+ *
+ * Given an integer @num
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/bootmap.c | 94 +++---
pc-bios/s390-ccw/bootmap.h | 23 +++-
pc-bios/s390-ccw/menu.c| 5 +++
pc-bios/s390-ccw/men
(linux-4.13.0)
1. linux-4.13.0
2. performance
3. kvm
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/menu.c | 49 -
1 file changed, 48 insertions(+), 1 delet
entries, then the
selection will be booted. Any erroneous input will cancel
the timeout and re-prompt the user.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/menu
, once we've disabled/cleared the control
program's receive mask, we will print an empty string in order
to consume any pending service interrupt.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
pc-bios/s390-ccw/menu.c | 5 +
pc-bios/s390-ccw/s390-ccw.h | 1 +
p
Moved:
memcmp from bootmap.h to libc.h (renamed from _memcmp)
strlen from sclp.c to libc.h (renamed from _strlen)
Added C standard functions:
isdigit
Added non C-standard function:
uitoa
atoui
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Acked-by: Chr
Reads boot menu flag and timeout values from the iplb and
sets the respective fields for the menu.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/Makefile | 2 +-
pc-bios/s390-ccw/m
Interactive boot menu for scsi. This follows a similar procedure
as the interactive menu for eckd dasd. An example follows:
s390x Enumerated Boot Menu.
3 entries detected. Select from index 0 to 2.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thoma
the IPL has completed.
Signed-off-by: Viktor Mihajlovski <mihaj...@linux.vnet.ibm.com>
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
hw/s390x/ipl.c | 19 ++-
hw/s390x/ipl.h | 19 +--
pc-bios/s390-ccw
BootMapTable
- fixup ipl_scsi to use BootMapTable (referred to as Program Table)
- defined value for maximum table entries
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
pc-bios/s390-ccw/bootmap.c | 60 +-
pc-bios/s390-ccw/bootmap.
for loadparm will override all boot menu options.
If loadparm=PROMPT, then the menu will be enabled without a
timeout.
The absence of any boot options on the command line will flag
to later use the zipl boot loader values.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Re
ECKD DASDs have different IPL structures for CDL and LDL
formats. The current Ipl1 and Ipl2 structs follow the CDL
format, so we prepend "EckdCdl" to them. Boot info for LDL
has been moved to a new struct: EckdLdlIpl1.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.i
Add new cylinder/head/sector struct. Use it to calculate
eckd block numbers instead of a BootMapPointer (which used
eckd chs anyway).
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/bo
only).
Collin L. Walling (12):
s390-ccw: refactor boot map table code
s390-ccw: refactor eckd_block_num to use CHS
s390-ccw: refactor IPL structs
s390-ccw: update libc
s390-ccw: move auxiliary IPL data to separate location
s390-ccw: parse and set boot menu options
s390-ccw: set up
uint8_t reserved2[16];
+uint8_t reserved2[14];
} QEMU_PACKED;
typedef struct QemuIplParameters QemuIplParameters;
Thomas
--
- Collin L Walling
On 02/16/2018 11:20 AM, Thomas Huth wrote:
On 15.02.2018 23:54, Collin L. Walling wrote:
Set boot menu options for an s390 guest and store them in
the iplb. These options are set via the QEMU command line
option:
-boot menu=on|off[,splash-time=X]
or via the libvirt domain xml
On 02/16/2018 11:05 AM, Thomas Huth wrote:
On 15.02.2018 23:54, Collin L. Walling wrote:
Moved:
memcmp from bootmap.h to libc.h (renamed from _memcmp)
strlen from sclp.c to libc.h (renamed from _strlen)
What happened to the renames of _strlen to strlen and _memcmp to memcmp?
The hunks
On 02/16/2018 10:03 AM, David Hildenbrand wrote:
On 15.02.2018 23:54, Collin L. Walling wrote:
[...]
+
static int get_boot_index(int entries)
{
-return 0; /* Implemented next patch */
+int boot_index;
+bool retry = false;
+char tmp[5];
+
+do {
+boot_menu_prompt
On 02/16/2018 07:19 AM, Viktor Mihajlovski wrote:
On 16.02.2018 11:42, Thomas Huth wrote:
On 15.02.2018 23:54, Collin L. Walling wrote:
Some ECKD bootmap code was using structs designed for SCSI.
Even though this works, it confuses readability. Add a new
BootMapTable struct to assist
, once we've disabled/cleared the control
program's receive mask, we will print an empty string in order
to consume any pending service interrupt.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
pc-bios/s390-ccw/menu.c | 5 +
pc-bios/s390-ccw/s390-ccw.h | 1 +
p
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/bootmap.c | 94 +++---
pc-bios/s390-ccw/bootmap.h | 23 +++-
pc-bios/s390-ccw/menu.c| 5 +++
pc-bios/s390-ccw/men
Add new cylinder/head/sector struct. Use it to calculate
eckd block numbers instead of a BootMapPointer (which used
eckd chs anyway).
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
pc-bios/s390-ccw/bootmap.c | 28 ++--
pc-bios/s390-ccw/bootmap.
Interactive boot menu for scsi. This follows a similar procedure
as the interactive menu for eckd dasd. An example follows:
s390x Enumerated Boot Menu.
3 entries detected. Select from index 0 to 2.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thoma
A loadparm other than 'prompt' will disable the menu and just boot
the specified entry.
If no boot options are specified, we will attempt to use the values
provided by zipl (ECKD DASD only).
Collin L. Walling (12):
s390-ccw: refactor boot map table code
s390-ccw: refactor eckd_block_num to use
for loadparm will override all boot menu options.
If loadparm=PROMPT, then the menu will be enabled without a
timeout.
The absence of any boot options on the command line will flag
to later use the zipl boot loader values.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Re
Reads boot menu flag and timeout values from the iplb and
sets the respective fields for the menu.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/Makefile | 2 +-
pc-bios/s390-ccw/m
entries, then the
selection will be booted. Any erroneous input will cancel
the timeout and re-prompt the user.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/menu
(linux-4.13.0)
1. linux-4.13.0
2. performance
3. kvm
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/menu.c | 49 -
1 file changed, 48 insertions(+), 1 delet
ECKD DASDs have different IPL structures for CDL and LDL
formats. The current Ipl1 and Ipl2 structs follow the CDL
format, so we prepend "EckdCdl" to them. Boot info for LDL
has been moved to a new struct: EckdLdlIpl1.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.i
The s390-ccw firmware needs some information in support of the
boot process which is not available on the native machine.
Examples are the netboot firmware load address and now the
boot menu parameters.
While storing that data in unused fields of the IPL parameter block
works, that approach could
BootMapTable
- fixup ipl_scsi to use BootMapTable (referred to as Program Table)
- defined value for maximum table entries
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
pc-bios/s390-ccw/bootmap.c | 60 +-
pc-bios/s390-ccw/bootmap.
Moved:
memcmp from bootmap.h to libc.h (renamed from _memcmp)
strlen from sclp.c to libc.h (renamed from _strlen)
Added C standard functions:
isdigit
Added non C-standard function:
uitoa
atoui
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Acked-by: Chr
On 02/15/2018 02:04 AM, Thomas Huth wrote:
On 14.02.2018 16:33, Collin L. Walling wrote:
On 02/14/2018 05:57 AM, David Hildenbrand wrote:
[...]
1. CKC interrupts can be cleared by resetting the CKC
2. SCLP interrupts can be cleared only via delivery (apart from CPU
reset)
So if you have CKC
ng in qemu-options.hx that s390 treats "splash-time" as the
menu-timeout.
Thoughts?
On 02/05/2018 03:57 PM, Collin L. Walling wrote:
Set boot menu options for an s390 guest and store them in
the iplb. These options are set via the QEMU command line
option:
-boot menu=on|off[,sp
On 02/14/2018 05:57 AM, David Hildenbrand wrote:
On 05.02.2018 21:57, Collin L. Walling wrote:
It is possible while waiting for multiple types of external
interrupts that we might have pending irqs remaining between
irq consumption and irq disabling. Those interrupts could
propagate
On 02/06/2018 05:13 AM, Viktor Mihajlovski wrote:
On 06.02.2018 10:23, Thomas Huth wrote:
On 05.02.2018 21:57, Collin L. Walling wrote:
[...]
diff --git a/pc-bios/s390-ccw/main.c b/pc-bios/s390-ccw/main.c
index e857ce4..825a1a3 100644
--- a/pc-bios/s390-ccw/main.c
+++ b/pc-bios/s390-ccw/main.c
On 02/06/2018 01:14 AM, Thomas Huth wrote:
On 05.02.2018 21:57, Collin L. Walling wrote:
Moved:
memcmp from bootmap.h to libc.h (renamed from _memcmp)
strlen from sclp.c to libc.h (renamed from _strlen)
Added C standard functions:
isdigit
Added non C-standard function:
itostr
On 02/06/2018 05:13 AM, Viktor Mihajlovski wrote:
On 06.02.2018 10:23, Thomas Huth wrote:
On 05.02.2018 21:57, Collin L. Walling wrote:
[...]
diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c
index 0d06fc1..3e3c3b8 100644
--- a/hw/s390x/ipl.c
+++ b/hw/s390x/ipl.c
@@ -399,6 +399,20 @@ void
On 02/06/2018 12:52 AM, Thomas Huth wrote:
On 05.02.2018 21:57, Collin L. Walling wrote:
- replace ScsiMbr in ECKD code with BootMapTable
- fix read_block messages to reflect BMT
- reduce ipl_scsi code with BMT struct
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.
On 02/06/2018 05:07 AM, Thomas Huth wrote:
On 05.02.2018 21:57, Collin L. Walling wrote:
It is possible while waiting for multiple types of external
interrupts that we might have pending irqs remaining between
irq consumption and irq disabling. Those interrupts could
propagate to the guest
: error:
comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
IPL_assert(num >= 0, "itostr: cannot convert negative values");
^~
--
- Collin L Walling
Interactive boot menu for scsi. This follows a similar procedure
as the interactive menu for eckd dasd. An example follows:
s390x Enumerated Boot Menu.
3 entries detected. Select from index 0 to 2.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thoma
entries, then the
selection will be booted. Any erroneous input will cancel
the timeout and re-prompt the user.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/menu
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/bootmap.c | 94 +++---
pc-bios/s390-ccw/bootmap.h | 23 +++-
pc-bios/s390-ccw/menu.c| 5 +++
pc-bios/s390-ccw/men
to prevent further
service interrupts from ASCII events and then consume all pending
irqs for a miniscule duration. Once finished, we reset the write
event mask and resume business as usual.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
pc-bios/s390-ccw/menu.
- replace ScsiMbr in ECKD code with BootMapTable
- fix read_block messages to reflect BMT
- reduce ipl_scsi code with BMT struct
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
pc-bios/s390-ccw/bootmap.c | 53 ++
pc-bios/s3
Moved:
memcmp from bootmap.h to libc.h (renamed from _memcmp)
strlen from sclp.c to libc.h (renamed from _strlen)
Added C standard functions:
isdigit
Added non C-standard function:
itostr
atoui
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Acked-by: Chr
Reads boot menu flag and timeout values from the iplb and
sets the respective fields for the menu.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/Makefile | 2 +-
pc-bios/s390-ccw/m
(linux-4.13.0)
1. linux-4.13.0
2. performance
3. kvm
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
---
pc-bios/s390-ccw/menu.c | 49 -
1 file changed, 48 insertions(+), 1 delet
Add new cylinder/head/sector struct. Use it to calculate
eckd block numbers instead of a BootMapPointer (which used
eckd chs anyway).
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
---
pc-bios/s390-ccw/bootmap.c | 28 ++--
pc-bios/s390-ccw/bootmap.
for loadparm will override all boot menu options.
If loadparm=PROMPT, then the menu will be enabled without a
timeout.
The absence of any boot options on the command line will flag
to later use the zipl boot loader values.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
Re
ECKD DASDs have different IPL structures for CDL and LDL
formats. The current Ipl1 and Ipl2 structs follow the CDL
format, so we prepend "EckdCdl" to them. Boot info for LDL
has been moved to a new struct: EckdLdlIpl1.
Signed-off-by: Collin L. Walling <wall...@linux.vnet.i
The s390-ccw firmware needs some information in support of the
boot process which is not available on the native machine.
Examples are the netboot firmware load address and now the
boot menu parameters.
While storing that data in unused fields of the IPL parameter block
works, that approach could
1 - 100 of 180 matches
Mail list logo