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=-7.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 0DEA4C433E0 for ; Thu, 18 Feb 2021 06:26:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B1F4964E2E for ; Thu, 18 Feb 2021 06:26:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230125AbhBRGZ5 (ORCPT ); Thu, 18 Feb 2021 01:25:57 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:46170 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230309AbhBRGWQ (ORCPT ); Thu, 18 Feb 2021 01:22:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613629249; 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=Ceda60ZZ1y93IVVlA7dMP4wDjb0CKutJ+6zzCPmDfbA=; b=UEJvIPZ3SEJEZcdD2lM77InjT5qZ1ICOVplq31WvAQvTKuyIcPge2qCpzhQeQ+X5EuS6Ft FdGocRvp16As5BjnZa6x4QNFMwQV0k+E4lYXDJdUu/aXQChYivG5vLQMMs+wUAU0ReZjul +Zp434YO+Z6CckGfraXSgrffRqZEGT8= 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-107-OuKosV1MPrqO48NtqVu_1A-1; Thu, 18 Feb 2021 01:20:47 -0500 X-MC-Unique: OuKosV1MPrqO48NtqVu_1A-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 984C0C28A; Thu, 18 Feb 2021 06:20:46 +0000 (UTC) Received: from [10.72.13.28] (ovpn-13-28.pek2.redhat.com [10.72.13.28]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0F5645D9C2; Thu, 18 Feb 2021 06:20:41 +0000 (UTC) Subject: Re: [RESEND RFC v2 1/4] KVM: add initial support for KVM_SET_IOREGION To: Elena Afanasova , kvm@vger.kernel.org Cc: stefanha@redhat.com, jag.raman@oracle.com, elena.ufimtseva@oracle.com References: From: Jason Wang Message-ID: <00a8ab29-1db4-f480-2a69-755bb0525387@redhat.com> Date: Thu, 18 Feb 2021 14:20:40 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.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.14 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 2021/2/11 上午3:31, Elena Afanasova wrote: >>> + } >> I wonder how much value if we stick a check like this here (if our >> code >> can gracefully deal with blocking fd). >> > Do you think it would be better to remove this check and just mention > that in a comment or documentation? > Yes. Thanks