Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1074910ybg; Tue, 2 Jun 2020 00:15:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQGzsKLjkwM04ER20WpvxC9+woANJPHGexf9+1HwXlB1Y6Zm76qHSkBJaVq2Qzxz486nfN X-Received: by 2002:a17:906:4e57:: with SMTP id g23mr21959271ejw.522.1591082108454; Tue, 02 Jun 2020 00:15:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591082108; cv=none; d=google.com; s=arc-20160816; b=KvzN5dJO/wWeN8Mo796mPj8f1K3kEzZ7K25eN5trLJGJojmB9C8gZ9HFO5cOuQcadQ 5fjEJEFfLf8c+3hyRWHOaIX7PtWMY6hzJ0FxnsQ1ONBEsTOegQkhB9ipFNzf7u4pPj7B Imzfl+TPwSV2NzL/pt3HMSPuDMYem/S23JfKVppIVuqJY6h07bGpxXVEwxrV2jvIMxqU sF9+B1NQDb+YrUpYfw6GyWVwL7ngJG4ksgTgb+XXY+39wA3Xxw3nob0LgbrfI0ezQWZ/ x6qkPuERooQokeVUpyJi8Rkts+05K3m1Zsrmn+AkrurWidj8JaShL0zCdS/rWhqeF4ED T68g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=P0Hsyk/buplzmPpjkWUnfP95pA3HShavyi16EwRZaII=; b=iojbgrrxCsrYn0ZIOsdtY94PRfJ4mz4AhjnP1tT1hoEKhoZFsVzeKap00o/sZ9Apqf LmnwNRNuUHH1ADmunXtS4bhb2AndSZmRZjUcGj3L3mC+jWHM3g9fYryq9+OdvLBnMzTh 8ayiQd4oa21mW6ZXAvsHDDkVgOge4NIR0kbsR/6rsdccnhtFcb7AboaLfWJ79lrjgzDb 2e0+8UiyhxXqReTaFOrEQlH1whRnC6l9x4lDmpueVaIF6hvhXV/L4M6tCeqe2BPqgfxo l1T2dgoazmj4VJlI6XpiGAVem9DGQhdhBwzLTRtO9AXdwBeDS2WMePQjHfhKxkOijvwW 3JlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XwncqOxW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id p22si973512eju.508.2020.06.02.00.14.45; Tue, 02 Jun 2020 00:15:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XwncqOxW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726332AbgFBHMz (ORCPT + 99 others); Tue, 2 Jun 2020 03:12:55 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:52243 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725872AbgFBHMz (ORCPT ); Tue, 2 Jun 2020 03:12:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591081973; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P0Hsyk/buplzmPpjkWUnfP95pA3HShavyi16EwRZaII=; b=XwncqOxWi4oJMWxzisL1O39dD2rk8ZrZleFl1bZXw76qiWPPpSDJtv/tPOH7oZXnyEbbsK ML8DNwRG0twCEbtzxFrXDwgyb4ADIjkLlBEIyBh0Z7LTxaKkyouFBZdwK6qymGasfQ5rks no17zfkzbaiOc0AYG5fillkmmunBnc8= 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-140-6a247yFiPJyTotLRLcin1w-1; Tue, 02 Jun 2020 03:12:52 -0400 X-MC-Unique: 6a247yFiPJyTotLRLcin1w-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 66269835B40; Tue, 2 Jun 2020 07:12:50 +0000 (UTC) Received: from [10.72.12.102] (ovpn-12-102.pek2.redhat.com [10.72.12.102]) by smtp.corp.redhat.com (Postfix) with ESMTP id A3CF860F8D; Tue, 2 Jun 2020 07:12:31 +0000 (UTC) Subject: Re: [PATCH 5/6] vdpa: introduce virtio pci driver To: "Michael S. Tsirkin" Cc: kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, rob.miller@broadcom.com, lingshan.zhu@intel.com, eperezma@redhat.com, lulu@redhat.com, shahafs@mellanox.com, hanand@xilinx.com, mhabets@solarflare.com, gdawar@xilinx.com, saugatm@xilinx.com, vmireyno@marvell.com, zhangweining@ruijie.com.cn, eli@mellanox.com References: <20200529080303.15449-1-jasowang@redhat.com> <20200529080303.15449-6-jasowang@redhat.com> <20200602010809-mutt-send-email-mst@kernel.org> From: Jason Wang Message-ID: Date: Tue, 2 Jun 2020 15:12:27 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200602010809-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/6/2 下午1:09, Michael S. Tsirkin wrote: > On Fri, May 29, 2020 at 04:03:02PM +0800, Jason Wang wrote: >> Note that since virtio specification does not support get/restore >> virtqueue state. So we can not use this driver for VM. This can be >> addressed by extending the virtio specification. > Looks like exactly the kind of hardware limitation VDPA is supposed to > paper over within guest. So I suggest we use this as > a litmus test, and find ways for VDPA to handle this without > spec changes. Yes, and just to confirm, do you think it's beneficial to extend virtio specification to support state get/set? Thanks >