On 10/8/26 12:01 AM, BALATON Zoltan wrote:
On Fri, 2 Oct 2026, [email protected] wrote:
From: Utkarsh Verma <[email protected]>
GRUB (grub-core/disk/ieee1275/ofdisk.c) calls "vscsi-report-luns" on
any PAPR virtual SCSI controller ihandle to enumerate attached LUNs
before attempting to boot from disk. Without this method VOF returns
PROM_ERROR and GRUB cannot find vSCSI disks.
Add vof_vscsi_report_luns() to build the LUN response table in guest
memory and wire it into vof_call_method().
These should go to spapr_vof.c too as they are spapr specific.
Regards,
BALATON Zoltan
Sure, will move all this implementation to spapr_vof.c and just add a
vscsi_report_luns kind of callback function in VofMachineIfClass and
just call that hook from here.
Regards,
Utkarsh