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=-15.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,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 70F43C2B9F4 for ; Fri, 25 Jun 2021 08:21:55 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 037B66141C for ; Fri, 25 Jun 2021 08:21:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 037B66141C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:33060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwh62-0007Ov-6x for qemu-devel@archiver.kernel.org; Fri, 25 Jun 2021 04:21:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwh5C-0005xJ-Bn for qemu-devel@nongnu.org; Fri, 25 Jun 2021 04:21:02 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:36553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwh5A-0002kz-Fs for qemu-devel@nongnu.org; Fri, 25 Jun 2021 04:21:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624609259; 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=X6cqmGGCZEC/XgbfFSco04+MVzayJt9znMEQ3Qbzz7M=; b=e6MMuR/cyMS6+fqcJftLDy1GpC0ZyYrsNNVglnhQo4d7cC/SqQ5cXN0CBDk8ZAJkmgmZvY 7vJ7i2tOHR0+MvojupyNFF8Pj8vYsF7FS6anMNC8LBTH9J55kifg9zQRjs5Q4PDzIznqoW tNG/m8WjYckKm/FWpzCG0Y8YLpHloAo= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-265-GV5qs_toMTWzlLdA0xyRYg-1; Fri, 25 Jun 2021 04:20:56 -0400 X-MC-Unique: GV5qs_toMTWzlLdA0xyRYg-1 Received: by mail-ed1-f70.google.com with SMTP id ee28-20020a056402291cb0290394a9a0bfaeso4765909edb.6 for ; Fri, 25 Jun 2021 01:20:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=X6cqmGGCZEC/XgbfFSco04+MVzayJt9znMEQ3Qbzz7M=; b=Nmx/WXNBxNno4yphI9Viz/pVT7wmvZpJmBkQdRARM2iJ+h37wYt8DJr1IZOwe4qlEG spTG2PHuYi91ZO3Mlow35HdI/zMry6/SOjCf0DpboWgqwqE9dz5+GB0QMzS0fOnPAyX4 +l6m3XMw5YqPjIXJaZFPUSLUC6EgmZlbvCKLHWjwMBNCnsc1KKlPPTgLP8sDp6zqCCxE A278dJgtiFaoC3OoyDveGe42E+TrjuR71tNpRIru6VZ0V0xlEubwXWoeqf8SKWwGuMUN NKI0A4rpKxPg81eX4z3OEDlQkxNu85DK5vOZYpwTz/Uno3oqzv5MtQ53XtkUrjimo8Ta qEfQ== X-Gm-Message-State: AOAM531gbGWsqiK1ywbGCAWhIQz/hGfIDPBHmgHcHdPDtT59HMSA/K2n VMKvkwueMx0WFUX592qdUBSkRcRhR37vikcWzP9C4TlPIPp7VR4cUsos66KfyCmXVgYnOtj5Mfb zZOrON81npJB0xgw= X-Received: by 2002:a17:907:9841:: with SMTP id jj1mr9592688ejc.94.1624609255470; Fri, 25 Jun 2021 01:20:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3C/QB9+taOjtqP5+HfhGqiDbK4VvSCOR6h4Q66InK8i3zuhoGED31EnBC+8dkoOWc4KTmSQ== X-Received: by 2002:a17:907:9841:: with SMTP id jj1mr9592662ejc.94.1624609255205; Fri, 25 Jun 2021 01:20:55 -0700 (PDT) Received: from dresden.str.redhat.com ([2a02:908:1e46:160:b272:8083:d5:bc7d]) by smtp.gmail.com with ESMTPSA id n15sm3386618eds.28.2021.06.25.01.20.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Jun 2021 01:20:54 -0700 (PDT) Subject: Re: [PATCH 07/11] block: feature detection for host block support To: Paolo Bonzini , qemu-devel@nongnu.org References: <20210624180423.1322165-1-pbonzini@redhat.com> <20210624180423.1322165-8-pbonzini@redhat.com> From: Max Reitz Message-ID: <158a968b-1328-41c2-066e-7b7efcc28bc4@redhat.com> Date: Fri, 25 Jun 2021 10:20:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20210624180423.1322165-8-pbonzini@redhat.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mreitz@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Received-SPF: pass client-ip=216.205.24.124; envelope-from=mreitz@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.362, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joelle van Dyne , qemu-block@nongnu.org, mlevitsk@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 24.06.21 20:04, Paolo Bonzini wrote: > From: Joelle van Dyne > > On Darwin (iOS), there are no system level APIs for directly accessing > host block devices. We detect this at configure time. > > Signed-off-by: Joelle van Dyne > Message-Id: <20210315180341.31638-2-j@getutm.app> > Signed-off-by: Paolo Bonzini > --- > block/file-posix.c | 33 ++++++++++++++++++++++----------- > meson.build | 6 +++++- > qapi/block-core.json | 14 ++++++++++---- > 3 files changed, 37 insertions(+), 16 deletions(-) Reviewed-by: Max Reitz