qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v1 0/4] Interactive Boot Menu for DASD and SCSI Gues


From: Collin L. Walling
Subject: [Qemu-devel] [PATCH v1 0/4] Interactive Boot Menu for DASD and SCSI Guests on s390x
Date: Mon, 27 Nov 2017 13:50:55 -0500

These patches implement a boot menu for ECKD DASD and SCSI guests on s390x. 
The menu will only appear if the disk has been configured for IPL with the 
zIPL tool and with the following QEMU command line options:

    -boot menu=on[,splash-time=X] and/or -machine loadparm='prompt'

or via the following libvirt domain xml:

    <os>
      <bootmenu enable='yes' timeout='X'/>
    </os>

    or
        
    <disk>
      ...
      <boot order='1' loadparm='PROMPT'/>
    </disk>

Where X is some positive integer representing time in milliseconds.

Loadparm will override all boot options.

Collin L. Walling (4):
  s390-ccw: ipl structs for eckd cdl/ldl
  s390-ccw: parse and set boot menu options
  s390-ccw: interactive boot menu for eckd dasd
  s390-ccw: interactive boot menu for scsi

 hw/s390x/ipl.c              |  20 +++++++
 hw/s390x/ipl.h              |   8 ++-
 pc-bios/s390-ccw/Makefile   |   2 +-
 pc-bios/s390-ccw/bootmap.c  | 106 ++++++++++++++++++++++++++++++-----
 pc-bios/s390-ccw/bootmap.h  |  57 ++++++++++++++-----
 pc-bios/s390-ccw/iplb.h     |   8 ++-
 pc-bios/s390-ccw/main.c     |  18 +++++-
 pc-bios/s390-ccw/menu.c     | 122 ++++++++++++++++++++++++++++++++++++++++
 pc-bios/s390-ccw/s390-ccw.h |   7 +++
 pc-bios/s390-ccw/sclp.c     | 132 ++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 444 insertions(+), 36 deletions(-)
 create mode 100644 pc-bios/s390-ccw/menu.c

-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]