Received: by 10.192.165.156 with SMTP id m28csp239525imm; Tue, 10 Apr 2018 20:42:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx49JZ+4x6auRglEvU7+djTl5YNLX3gUzfADUTXlU/SA9a2VB97WqotaNKDlRalKB13F6+Jpo X-Received: by 2002:a17:902:1e5:: with SMTP id b92-v6mr3219387plb.78.1523418137468; Tue, 10 Apr 2018 20:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523418137; cv=none; d=google.com; s=arc-20160816; b=LUJACZJkiXshMWQgEuBiQioZC+qTnTjRugZsIa2qOIBXeWvWnFQo86MVdZ7v2esHkr 2OiboVOFDSuSdmvjYuKk0Tkz4Xax7TCRuWtSGoXDY6039tPG28G8/Wb9lB5gBufxK+44 5yc1wNgqRalipRxefPjM1VjwLvylHQ8JdDBnvhLlsOyAAxkBfBPTIGoIijH6wxG1eXki J3phqj8muWKVOlP2dLBXu46UWfjDjmv08XL+QOEIq8ptOteTjtLHO6qPdsf9Mcac5q9p GWh0CUcOl/61b2tk2/ikX+NsaMxVz13FL7Db/tCMfib+Q3keWpSqjQlp06gPflqSTPwF mF2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=Pn86y2O2IyVb3wN/gargCEo10YVbXNxb9zmzG+C/M3U=; b=DTzHTE/dqLjNgdn31ICFI7xOAQI8awD+JDKdPYhkPxrR45NHTilDsgkDb1Zn+hUR+A J2R2t/NM+Ni13sXq2k3BLtm/z2Gniv7FIal9UcskMzfK4BSrLISlfPuu1c4D6/i/iOAn dH/oHuKCXLdNoLnTo+Ci15OU8ckHkUtTauE0/prLgHrHnHAA8PuEsWcXdcE5VK5mR5Fv oItoU+d+UinpU1BVJZ8rCa8sOWAWF6PhU3zOUk+IFoCufV0Pw29D99h2yCgZE7Mc/T3p sDmycnpwXFUtNmGcBphiiD3GvCGw5+ntRWVHGxCNv12NRmbpi46ZAMe4Ptrd+VsdsBZs U5+A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34-v6si216936plz.76.2018.04.10.20.41.40; Tue, 10 Apr 2018 20:42:17 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752576AbeDKBif convert rfc822-to-8bit (ORCPT + 99 others); Tue, 10 Apr 2018 21:38:35 -0400 Received: from mga04.intel.com ([192.55.52.120]:41088 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751946AbeDKBid (ORCPT ); Tue, 10 Apr 2018 21:38:33 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Apr 2018 18:38:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,434,1517904000"; d="scan'208";a="49783829" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 10 Apr 2018 18:38:32 -0700 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 10 Apr 2018 18:38:32 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 10 Apr 2018 18:38:31 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.115]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.239]) with mapi id 14.03.0319.002; Wed, 11 Apr 2018 09:38:30 +0800 From: "Tian, Kevin" To: "Liang, Cunming" , "Michael S. Tsirkin" CC: "Duyck, Alexander H" , "virtio-dev@lists.oasis-open.org" , "kvm@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "Wang, Xiao W" , "ddutile@redhat.com" , "Tan, Jianfeng" , "Wang, Zhihong" , Paolo Bonzini Subject: RE: [virtio-dev] Re: [RFC] vhost: introduce mdev based hardware vhost backend Thread-Topic: [virtio-dev] Re: [RFC] vhost: introduce mdev based hardware vhost backend Thread-Index: AQHT0NeTBfYf0Rz3+EK0/QyAUusgkaP6yMCg Date: Wed, 11 Apr 2018 01:38:29 +0000 Message-ID: References: <20180402152330.4158-1-tiwei.bie@intel.com> <622f4bd7-1249-5545-dc5a-5a92b64f5c26@redhat.com> <20180410045723.rftsb7l4l3ip2ioi@debian> <7ee31a12-a370-fc43-82a6-2235f598e970@redhat.com> <20180410163105-mutt-send-email-mst@kernel.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTQ5OWYwMWUtMDUzMy00NDc2LTlhNDktMTIwZWVhYzZkMTBlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IkxIZ0JtUExaK282RG5tYmsrN3d4MDE2NVVOeVpwY3hNOXRZTFZYUVo0ZGM9In0= dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Liang, Cunming > Sent: Tuesday, April 10, 2018 10:24 PM > [...] > > > > As others said, we do not need to go overeboard. A couple of small > vendor- > > specific quirks in qemu isn't a big deal. > > It's quite challenge to identify it's small or not, there's no uniform metric. > > It's only dependent on QEMU itself, that's the obvious benefit. Tradeoff is > to build the entire device driver. We don't object to do that in QEMU, but > wanna make sure to understand the boundary size clearly. > It might be helpful if you can post some sample code using proposed framework - then people have a clear feeling about what size is talked about here and whether it falls into the concept of 'small quirks'. Thanks Kevin