Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1D3E4C48BC4 for ; Wed, 14 Feb 2024 10:18:35 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.680365.1058510 (Exim 4.92) (envelope-from ) id 1raCLP-0006Sd-CU; Wed, 14 Feb 2024 10:18:23 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 680365.1058510; Wed, 14 Feb 2024 10:18:23 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1raCLP-0006SW-8s; Wed, 14 Feb 2024 10:18:23 +0000 Received: by outflank-mailman (input) for mailman id 680365; Wed, 14 Feb 2024 10:18:21 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1raCLN-0006SQ-QI for xen-devel@lists.xenproject.org; Wed, 14 Feb 2024 10:18:21 +0000 Received: from smtp-out2.suse.de (smtp-out2.suse.de [2a07:de40:b251:101:10:150:64:2]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 6010f79e-cb22-11ee-98f5-efadbce2ee36; Wed, 14 Feb 2024 11:18:19 +0100 (CET) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 41AFD1F7F1; Wed, 14 Feb 2024 10:18:19 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id D109813A72; Wed, 14 Feb 2024 10:18:18 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id QlrgMGqTzGUxRwAAD6G6ig (envelope-from ); Wed, 14 Feb 2024 10:18:18 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 6010f79e-cb22-11ee-98f5-efadbce2ee36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1707905899; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8/6JbNae1pkhQSK0y4p7SlNAiChOdbOk1ALjnpF+Zsk=; b=qPHYVAo3riRAMejZ+0nR6aKtekwcMZWGlBYrxDxX3uUJQHKclFHbsOjf/qv4twdffdXmKr IL9eFBtZ9W4DqEJoDUIK4dOljcB8DNvgVY9zpBOahYF4DIWHH2phvtWZPVtcm8Xlftv7lB clAFwbinMNUhzGM0NmdtYqCo83uulLs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1707905899; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8/6JbNae1pkhQSK0y4p7SlNAiChOdbOk1ALjnpF+Zsk=; b=qPHYVAo3riRAMejZ+0nR6aKtekwcMZWGlBYrxDxX3uUJQHKclFHbsOjf/qv4twdffdXmKr IL9eFBtZ9W4DqEJoDUIK4dOljcB8DNvgVY9zpBOahYF4DIWHH2phvtWZPVtcm8Xlftv7lB clAFwbinMNUhzGM0NmdtYqCo83uulLs= Message-ID: Date: Wed, 14 Feb 2024 11:18:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 15/22] tools/libs/light: add backend type for 9pfs PV devices Content-Language: en-US To: Anthony PERARD Cc: xen-devel@lists.xenproject.org, George Dunlap , Nick Rosbrook , Wei Liu , Jason Andryuk , George Dunlap References: <20240208165546.5715-1-jgross@suse.com> <20240208165546.5715-16-jgross@suse.com> <5e6893dd-5280-4a14-8d00-4ed76e8c8e98@perard> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= In-Reply-To: <5e6893dd-5280-4a14-8d00-4ed76e8c8e98@perard> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Authentication-Results: smtp-out2.suse.de; none X-Spamd-Result: default: False [-1.48 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; BAYES_HAM(-1.98)[94.92%]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; RCPT_COUNT_SEVEN(0.00)[7]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.59)[subject]; FREEMAIL_CC(0.00)[lists.xenproject.org,citrix.com,gmail.com,xen.org,cloud.com]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] On 13.02.24 19:03, Anthony PERARD wrote: > On Thu, Feb 08, 2024 at 05:55:39PM +0100, Juergen Gross wrote: >> +struct libxl__aop9_state { >> + libxl__spawn_state spawn; >> + libxl__ao_device *aodev; >> + libxl_device_p9 p9; >> + uint32_t domid; >> + void (*callback)(libxl__egc *, libxl__aop9_state *, int); > > This "callback" is never used, right? Why do you think so? In xen9pfsd_spawn() it is used: aop9->callback = xen9pfsd_spawn_outcome; > >> diff --git a/tools/libs/light/libxl_types_internal.idl b/tools/libs/light/libxl_types_internal.idl >> index e24288f1a5..39da71cef5 100644 >> --- a/tools/libs/light/libxl_types_internal.idl >> +++ b/tools/libs/light/libxl_types_internal.idl >> @@ -34,6 +34,7 @@ libxl__device_kind = Enumeration("device_kind", [ >> (16, "VINPUT"), >> (17, "VIRTIO_DISK"), >> (18, "VIRTIO"), >> + (19, "XEN_9PFS"), > > That's going to need to be rebased ;-). Yes. Juergen