mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:56:38 +00:00
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:
committed by
Cornelia Huck
parent
d047364380
commit
b2b5dec929
@@ -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:
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user