s390x: Enable boot menu for virtio pci device

Add S390_IPL_TYPE_PCI to the boot menu handling logic to enable
interactive boot menu support for virtio PCI devices on s390x.

Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Zhuoying Cai <zycai@linux.ibm.com>
Signed-off-by: Jared Rossi <jrossi@linux.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Tested-by: Matthew Rosato <mjrosato@linux.ibm.com>
Message-ID: <20260630141917.673995-7-jrossi@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
This commit is contained in:
Zhuoying Cai
2026-06-30 10:19:17 -04:00
committed by Cornelia Huck
parent d047364380
commit b2b5dec929
2 changed files with 2 additions and 0 deletions

View File

@@ -315,6 +315,7 @@ static void s390_ipl_set_boot_menu(S390IPLState *ipl)
return;
}
break;
case S390_IPL_TYPE_PCI:
case S390_IPL_TYPE_QEMU_SCSI:
break;
default:

View File

@@ -185,6 +185,7 @@ static void menu_setup(VDev *vdev)
switch (vdev->ipl_type) {
case S390_IPL_TYPE_CCW:
case S390_IPL_TYPE_PCI:
case S390_IPL_TYPE_QEMU_SCSI:
menu_set_parms(qipl.qipl_flags & BOOT_MENU_FLAG_MASK,
qipl.boot_menu_timeout);