Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp30575ybf; Wed, 26 Feb 2020 08:17:24 -0800 (PST) X-Google-Smtp-Source: APXvYqwcOPucIF+oAAGYM/AMrqBGfm5q60uDsPLzVSZfAYyaccWy0yXeUtcNbFSQN7be2fdv4Vux X-Received: by 2002:aca:af50:: with SMTP id y77mr3882652oie.8.1582733844496; Wed, 26 Feb 2020 08:17:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582733844; cv=none; d=google.com; s=arc-20160816; b=fiJvct+y6Doay5cL2OrnYCkEc8zgYKFoeSILPGPBkZ4NPo19V9PpiVEiuB6QaRAXQi Jk3yyQvMtQ2+l/HNj7CI9j0qCdzc4hW/6FiV2BMbNskcUuD5Bjxy+uwHMZfWfS3tv8jn B9i4s55HgRYA15ynjZXzdjRsSh5/Sr7k7SveyWa+tYB8q378J/MxUih1IWLCIHxNATVS Cf19MJXUv92d5fcc4PwgZmF145baZ92hTMOjpd4oAgz/UWm/Rw5S364w4DijKtXBpl8g FVepxRtv5s3bAiWXE4qyJzGYqS+UbdsCmZwIbN7mfSoYwlN1CvsMm2FdKvtLY3ZKi8LD 3yNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=VC/fSjW6Q9Zf1CVil4K0XbAX6oR7WGL2RegTKV0OEzU=; b=X0Q0lXFJe2etsdmNjLM50lpN6H5N1RMBrPHhUUQ0IvHfJZ4GGjeIBBr7j0ZHL86yVK Y3VvSWUZeo3T7y7eSd0I2YwCH1avVFdT+OPIKQRio+NTZBo5TrXlu5aim1Jy7tF5bBLD G7AF8+rqmODskY/IfSgvc3NAFZJAnkzx04fvOYk32HZia84LRwpmDMUbdTjJ7VeG/hQ2 q/HVAm2AKI0OFj65aZMuJFGUeahuevipe9ZAy8xKqIY/pvUvcZylo243dkKU/cqAISfE rbweVjBqcd7y1OA6jl+vPeeSbA8zOHMr73oyi2lNFgg6sppKZESdIpcvz3/ZCqG+1Ypp o3CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VV8ZZEsO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w7si11212otq.250.2020.02.26.08.17.12; Wed, 26 Feb 2020 08:17:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VV8ZZEsO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727174AbgBZQH0 (ORCPT + 99 others); Wed, 26 Feb 2020 11:07:26 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:48447 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726555AbgBZQH0 (ORCPT ); Wed, 26 Feb 2020 11:07:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582733244; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VC/fSjW6Q9Zf1CVil4K0XbAX6oR7WGL2RegTKV0OEzU=; b=VV8ZZEsOg+iP2dzMQmnmeE1uyL4OQyIMvecZ9OyXv7JsDRKFjnIZFUZLQJKYMNznu2/cvB nRzHbp43wYFKwKdw+mnyU81jkTtsgjOY1Yfzr1bor27e+ZtAtxiLlt6NuWOCuL0nekqIlO Fy+3SVot8P/6bDspw//r8FdXTkpelqc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-189-WhzkhL_bOrG6VaE3qtfNWQ-1; Wed, 26 Feb 2020 11:07:20 -0500 X-MC-Unique: WhzkhL_bOrG6VaE3qtfNWQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BBC398018A1; Wed, 26 Feb 2020 16:07:18 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-150.ams2.redhat.com [10.36.116.150]) by smtp.corp.redhat.com (Postfix) with ESMTP id CA69319C69; Wed, 26 Feb 2020 16:07:15 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id BCA821FCE8; Wed, 26 Feb 2020 17:07:14 +0100 (CET) Date: Wed, 26 Feb 2020 17:07:14 +0100 From: Gerd Hoffmann To: David Stevens Cc: David Airlie , Daniel Vetter , "Michael S . Tsirkin" , Jason Wang , Sumit Semwal , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, Linux Media Mailing List , linaro-mm-sig@lists.linaro.org, virtio-dev@lists.oasis-open.org Subject: Re: [virtio-dev] Re: [PATCH 1/2] virtio: add dma-buf support for exported objects Message-ID: <20200226160714.y2wt5ubtklljn576@sirius.home.kraxel.org> References: <20200219080637.61312-1-stevensd@chromium.org> <20200219080637.61312-2-stevensd@chromium.org> <20200225061008.wqxqppfglzmwvtid@sirius.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 26, 2020 at 12:56:58PM +0900, David Stevens wrote: > On Tue, Feb 25, 2020 at 3:10 PM Gerd Hoffmann wrote: > > > > How about dma_buf_{get,set}_uuid, simliar to dma_buf_set_name? > > While I'm not opposed to such an API, I'm also hesitant to make > changes to the dma-buf API for a single use case. See virtio-wayland discussion. I expect we will see more cases show up. Maybe this should even go one level up, to struct file. cheers, Gerd