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 72B21C433E0 for ; Tue, 9 Jun 2020 05:56:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3AB34207F9 for ; Tue, 9 Jun 2020 05:56:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="NOzzyijA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727866AbgFIF4o (ORCPT ); Tue, 9 Jun 2020 01:56:44 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:47667 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726918AbgFIF4o (ORCPT ); Tue, 9 Jun 2020 01:56:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591682203; 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=VMPdQG03WTh1A9nxuWQDwAq/IcZQ1gIyc3Bod/f+MHs=; b=NOzzyijA34CVqjaYUeT0CmrPurxcWCo3XqJ2IKpN7ZMoRkD4yp6/7nAC8ZrmWcRl6wIwz8 2luG9W2o40+xw0cGvdvxU3xRWRiSW+vausfwpL8LXosu5Kd570mCvZGWjom6P534m/dh2G l6TS1dmTYul/UBNM/1V0p11yq0zxjK0= 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-335-L_KUJZZbOdmRFowIgXr-4A-1; Tue, 09 Jun 2020 01:56:41 -0400 X-MC-Unique: L_KUJZZbOdmRFowIgXr-4A-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 B720819200C0; Tue, 9 Jun 2020 05:56:39 +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 C4C9C60BF3; Tue, 9 Jun 2020 05:56:31 +0000 (UTC) Subject: Re: [PATCH] vhost/test: fix up after API change From: Jason Wang 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> Message-ID: <8ca24e37-d319-fbf7-0114-ddf7eb110781@redhat.com> Date: Tue, 9 Jun 2020 13:56:26 +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: 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/9 下午1:53, Jason Wang wrote: > > 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? Ok, I saw the patches in your linux-next branch. Thanks > > Thanks >