From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E50E9C282DD for ; Thu, 9 Jan 2020 13:45:44 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AE2DB20661 for ; Thu, 9 Jan 2020 13:45:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="mNZwe0Fr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AE2DB20661 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:60622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipY87-0000bO-T4 for qemu-devel@archiver.kernel.org; Thu, 09 Jan 2020 08:45:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51315) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipY75-000097-Mt for qemu-devel@nongnu.org; Thu, 09 Jan 2020 08:44:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipY74-0002yC-H2 for qemu-devel@nongnu.org; Thu, 09 Jan 2020 08:44:39 -0500 Received: from mail-qv1-xf42.google.com ([2607:f8b0:4864:20::f42]:44412) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipY74-0002ta-8j for qemu-devel@nongnu.org; Thu, 09 Jan 2020 08:44:38 -0500 Received: by mail-qv1-xf42.google.com with SMTP id n8so2931079qvg.11 for ; Thu, 09 Jan 2020 05:44:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xnUuj/R1pZ9BEEfeZC13Q/U2+y+Js++Xk5V7ipUCERI=; b=mNZwe0FrvBkpwSRGK9efMB2D/wuloasVh9w9E62/+Jsf3lV7g4JJyZ/tezUdJwTo4U wk/t5wwOsL2Wt/IRA0uE2cbvakkhnlqi4SCvz+UZwTGx2X7QpI9+0ZneU1C++i42fCnW EzXoWW8lSXYoQvhPlgZa5dQWEk+omDGNzZoC0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xnUuj/R1pZ9BEEfeZC13Q/U2+y+Js++Xk5V7ipUCERI=; b=MPfv8IyS+epzXeeL5LqimpoePh7Xh0SGFMFfElfNAxLjD4DKt+E7APvnpRU1CsRWIS GYnpb5xHGtFWrj7vHAvWz0mLHqL3G9ho8iJsV+dTtD13edO2UB/f/Q9miWMcHBYvECRa UdipYb2LXzYQLXjiHE9qiLDNbmZ8M5m0VZC0hHdWdQSVujts51mKAWqUonVQaox4Tzo/ vpxYfb2iQ/Ik8mV982FHvo7uLiPbV3L7YS11PypNNZbN8GkEEamfsY55NHJNYzx4SEeH +SeGcra2Kapq9BHblN/wkGhDOsuVcWO1YLZ6r+GKBJmo5osJfHbS5h6rbBrlbttiXs0G HafQ== X-Gm-Message-State: APjAAAUxClbv0GCh2btbXjep4TZ4BZLl9OtuUuiowDPyO029s3eudXuj KjYxNckMaJTcnFx/6qUnql807sozBffn+jw+VD7CXQ== X-Google-Smtp-Source: APXvYqyB7mN7odCMCXeENZw0NmznYgYh4877oqe/I4JbXNyp7VXZ8ZMts+tt8zqupb3L5+UuzxKv2blZz2YsY1x14Rg= X-Received: by 2002:a0c:fc12:: with SMTP id z18mr8995655qvo.17.1578577477214; Thu, 09 Jan 2020 05:44:37 -0800 (PST) MIME-Version: 1.0 References: <20200108104002.jxh6amnrazhnamej@sirius.home.kraxel.org> <20200109131218.5xc6zhovbgjavfpv@sirius.home.kraxel.org> In-Reply-To: <20200109131218.5xc6zhovbgjavfpv@sirius.home.kraxel.org> From: David Stevens Date: Thu, 9 Jan 2020 22:44:29 +0900 Message-ID: Subject: Re: [virtio-dev][RFC PATCH v1 1/2] content: define what exporting a resource is To: Gerd Hoffmann Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::f42 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: virtio-dev@lists.oasis-open.org, Zach Reizner , Alexandre Courbot , David Stevens , qemu-devel , Stefan Hajnoczi , Alex Lau , Tomasz Figa , Keiichi Watanabe , =?UTF-8?Q?St=C3=A9phane_Marchesin?= , Dylan Reid , Gurchetan Singh , Pawel Osciak , Linux Media Mailing List Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" > > that isn't just a leaf node of the spec. I think it's better to define > > 'resource' as a top level concept for virtio devices, even if the specifics > > of what a 'resource' is are defined by individual device types. > > Your patch doesn't define what a resource is though. It only refers to > something it calls 'resource' ... Reading it again, what I wrote was a little ambiguous. Stating things more clearly, the top level defines an 'exported resource' as a 'resource' associated with a uuid for the purpose of sharing between different virtio devices. It leaves the definition of what constitutes a 'resource' to individual device types. Perhaps it would be better to use 'object' or something instead of 'resource', to avoid the collision with virtio-gpu resources. -David