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=-8.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 0D1EEC433DF for ; Tue, 9 Jun 2020 05:53:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C3AF3207F9 for ; Tue, 9 Jun 2020 05:53:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LCQeUIoA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727074AbgFIFxU (ORCPT ); Tue, 9 Jun 2020 01:53:20 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:38774 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726789AbgFIFxT (ORCPT ); Tue, 9 Jun 2020 01:53:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591681998; 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=T/2A/WU2/svppr3uz/G5VVDxLgqlNP79/92mX4BoUzs=; b=LCQeUIoAF4mhb9gLr/WDJkE/X9QKY2JqWgEhpncVMWf76UMKTffu+2+zXuc0wdfRGlnnHo +hiwSwQsbfzprWivguyfRYcIL4taxPa1YAfhIIiJeugKj5x2vt3p+u6muctHOxbjE0SK6G M0e+2XaoFCazDNbo9P58dtPwIpYrWew= 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-290-7lBnAItnOB6WES0WKXa7sA-1; Tue, 09 Jun 2020 01:53:16 -0400 X-MC-Unique: 7lBnAItnOB6WES0WKXa7sA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 32E871005510; Tue, 9 Jun 2020 05:53:15 +0000 (UTC) Received: from [10.72.12.252] (ovpn-12-252.pek2.redhat.com [10.72.12.252]) by smtp.corp.redhat.com (Postfix) with ESMTP id E327510013D6; Tue, 9 Jun 2020 05:53:05 +0000 (UTC) Subject: Re: [PATCH] vhost/test: fix up after API change To: "Michael S. Tsirkin" , linux-kernel@vger.kernel.org Cc: Zhu Lingshan , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org References: <20200608124254.727184-1-mst@redhat.com> From: Jason Wang Message-ID: Date: Tue, 9 Jun 2020 13:53:03 +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: <20200608124254.727184-1-mst@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/6/8 下午8:42, Michael S. Tsirkin wrote: > Pass a flag to request kernel thread use. > > Fixes: 01fcb1cbc88e ("vhost: allow device that does not depend on vhost worker") > Signed-off-by: Michael S. Tsirkin > --- > drivers/vhost/test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/vhost/test.c b/drivers/vhost/test.c > index f55cb584b84a..12304eb8da15 100644 > --- a/drivers/vhost/test.c > +++ b/drivers/vhost/test.c > @@ -122,7 +122,7 @@ static int vhost_test_open(struct inode *inode, struct file *f) > vqs[VHOST_TEST_VQ] = &n->vqs[VHOST_TEST_VQ]; > n->vqs[VHOST_TEST_VQ].handle_kick = handle_vq_kick; > vhost_dev_init(dev, vqs, VHOST_TEST_VQ_MAX, UIO_MAXIOV + 64, > - VHOST_TEST_PKT_WEIGHT, VHOST_TEST_WEIGHT, NULL); > + VHOST_TEST_PKT_WEIGHT, VHOST_TEST_WEIGHT, true, NULL); > > f->private_data = n; > Acked-by: Jason Wang Just to confirm, have you queued the doorbell mapping patches already? Or you expect I squash this into v2 of doorbell mapping series? Thanks