From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD2FC606A31A for ; Wed, 2 Dec 2026 14:03:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=XRY7z/0R Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xYkvS-0000ex-PR; Wed, 02 Dec 2026 09:03:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xYkv2-0000WZ-KH; Wed, 02 Dec 2026 09:02:52 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xYkuw-0002Xt-IG; Wed, 02 Dec 2026 09:02:47 -0500 Received: from pps.filterd (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B2AM35Y2795027; Wed, 2 Dec 2026 14:02:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=2Aauhl hNHM6vF6a84Z4KRGeStMotza07pFZjB7zB2Io=; b=XRY7z/0R74QmHE+I1VGqVG rp1fkVGbuSkvBIhwKj+2n0Qcy41a4buLgcjpEdclUndpe4o/+nurgUS7B2e8LM5t 3HLx/1KrEG9TIqS444hD2qiJfkdp9NeLEW/WoHLsbrwD35Sz2NsxD9SYbT3P90H6 UavFDhwk6tXUBCQM5nrb+07t6AK5yWlKbYBAu5pcIMtve8BPoXyBQcfxhrS1aaGF Bhvdq8AZ4nDA9/852cmKFjEVhm8WJ1PievkjR0bLnZGxvudp0ijT5jCYeBaQzAxd Y/WgJRCECaxo1WtcLeFHSE+wzebX8dd2NdcXVdfV/0sRcDHPdL8qJDLLwZ65Qatw == Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4j7pmta32u-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 02 Dec 2026 14:02:23 +0000 (GMT) Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 6B2BW8GT2799573; Wed, 2 Dec 2026 14:02:22 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 4j9v5w5903-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Dec 2026 14:02:22 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 6B2E2IZ341025860 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 2 Dec 2026 14:02:19 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CD7FD2004F; Wed, 2 Dec 2026 14:02:18 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CCAC220040; Wed, 2 Dec 2026 14:02:14 +0000 (GMT) Received: from [9.124.212.61] (unknown [9.124.212.61]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 2 Dec 2026 14:02:14 +0000 (GMT) Message-ID: <002d224d-fe45-4435-bd77-54e6933fba5c@linux.ibm.com> Date: Wed, 2 Dec 2026 19:32:13 +0530 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v2 8/8] ppc/spapr: implement vscsi-report-luns call-method for PAPR vSCSI To: Utkarsh Verma , BALATON Zoltan Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, aik@amd.com, avnish@linux.ibm.com, pbonzini@redhat.com, th.huth@posteo.eu, sbhat@linux.ibm.com, harshpb@linux.ibm.com, amachhiw@linux.ibm.com, rathc@linux.ibm.com, philmd@linaro.org, npiggin@gmail.com, marcandre.lureau@redhat.com, fam@euphon.net, alex.bennee@linaro.org, richard.henderson@linaro.org References: <20261002052605.605858-1-uverma@linux.ibm.com> <20261002052605.605858-9-uverma@linux.ibm.com> <242e1462-9256-b115-e68c-f20aeb25dda4@eik.bme.hu> Content-Language: en-US From: Narayana Murty N In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-ORIG-GUID: mn-4bp-cAuWg28PAqEUs7FbGlcyZWbcK X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDA1NCBTYWx0ZWRfX221qeOXAqnOX A3stAa7btL6c56TZSe6Depyp78N5a0mbZwTVYOpNclk6tQpXw7bMMeBF7HSHHsoXaSKqhANAwh6 BE2V/2ftnKY8QMB4v9ksLx2Edic5mNxum20tx/Z4+vh7jcsfB7NX87VQv7XZRyqbL0rhGOcD5Ys kurSg17dbpj4lsGO+Qk4EYBteKyMaLZzEm0ZkeXnOUPCVNeCLaes7lJbDV/rxmSKI+nEsTUrIlj fHLXKjGy3dC00Msm5O+lqCQ6sOT4S3sOFnQKug3LMrEwFU7INIHmFvWM/TeW66u/NE06E3tZ3hd j+yhGhWSmqKvEyu4324gs79OdoPorj03/ODbpdwAosWBn2fKSHebg/VF8RcaygV1HnzX3D+p34W bQb1dW5ur8arqj6b2rTOj1zIt6RxaADHgJFFRjcDXXJLU1xQTiTOgKDjDRhkv24D4m/64qkpLu9 36f5xS0TzcOiw3X7oUw== X-Proofpoint-GUID: W9MyRUqduncONZme9T1QsQYNGSkCHVsh X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDA1NCBTYWx0ZWRfX7Cw6uO/K0kPT 8BjoOpbjr5Hepl7sTl6gDm0qooT+L8lxmZ7pPsfTcfgdj4Kn4uQuBCtz/MfqNEErLVBO3Eh4aBv WqSUG6xpge42pHCZWDQSscI1WcoECJY= X-Authority-Analysis: v=2.4 cv=U9cHnuru c=1 sm=1 tr=0 ts=6b1024ef cx=c_pps a=aDMHemPKRhS1OARIsFnwRA==:117 a=aDMHemPKRhS1OARIsFnwRA==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=uAbxVGIbfxUO_5tXvNgY:22 a=VnNF1IyMAAAA:8 a=7EFiJA2yLPWMo8ITVQoA:9 a=QEXdDO2ut3YA:10 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-02_02,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 phishscore=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 spamscore=0 priorityscore=1501 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020054 Received-SPF: pass client-ip=148.163.156.1; envelope-from=nnmlinux@linux.ibm.com; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_PASS,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi On 08/10/26 2:55 PM, Utkarsh Verma wrote: > > > On 10/8/26 12:01 AM, BALATON Zoltan wrote: >> On Fri, 2 Oct 2026, uverma@linux.ibm.com wrote: >>> From: Utkarsh Verma >>> >>> 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. I agree with moving the implementation to spapr_vof.c. Instead of introducing a callback specific to vscsi-report-luns, would it make sense to introduce a generic machine-specific call-method hook in VofMachineIfClass? This would allow the machine implementation to handle its own firmware-specific methods without extending the generic VOF interface for each new method. Thanks, Narayana Murty. > > Regards, > Utkarsh >