Message ID | 20241108194136.2833932-1-jrossi@linux.ibm.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/1] pc-bios/s390x: Initialize cdrom type to false for each IPL device | expand |
On 08/11/2024 20.41, jrossi@linux.ibm.com wrote: > From: Jared Rossi <jrossi@linux.ibm.com> > > Clear information about cdrom type so that current IPL device isn't tainted > by stale data from previous devices. > > Signed-off-by: Jared Rossi <jrossi@linux.ibm.com> > --- > pc-bios/s390-ccw/main.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/pc-bios/s390-ccw/main.c b/pc-bios/s390-ccw/main.c > index a4d1c05aac..7509755e36 100644 > --- a/pc-bios/s390-ccw/main.c > +++ b/pc-bios/s390-ccw/main.c > @@ -242,6 +242,7 @@ static bool find_boot_device(void) > static int virtio_setup(void) > { > VDev *vdev = virtio_get_device(); > + vdev->is_cdrom = false; > int ret; > > switch (vdev->senseid.cu_model) { Reviewed-by: Thomas Huth <thuth@redhat.com>
diff --git a/pc-bios/s390-ccw/main.c b/pc-bios/s390-ccw/main.c index a4d1c05aac..7509755e36 100644 --- a/pc-bios/s390-ccw/main.c +++ b/pc-bios/s390-ccw/main.c @@ -242,6 +242,7 @@ static bool find_boot_device(void) static int virtio_setup(void) { VDev *vdev = virtio_get_device(); + vdev->is_cdrom = false; int ret; switch (vdev->senseid.cu_model) {