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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 059F6C433F5 for ; Fri, 3 Dec 2021 08:43:11 +0000 (UTC) Received: from localhost ([::1]:38958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mt49u-0003kz-Ls for qemu-devel@archiver.kernel.org; Fri, 03 Dec 2021 03:43:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mt48r-00033d-QV for qemu-devel@nongnu.org; Fri, 03 Dec 2021 03:42:06 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:55332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mt48n-0003oQ-4I for qemu-devel@nongnu.org; Fri, 03 Dec 2021 03:42:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1638520919; 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=6GZB4B1N+7654kHtpQfNF47RaDJVwe0bhDq5s6FRHyg=; b=RKnk/VC+UB4KX6FRQdz9/0Ei49OMNuOB82OgJiYQzA6jZ9cQox+b0k+2mdKYrihUYLpAAS DlaEmnnBEkmxe/Q4g/SBlHV3FzDYMp4J1k1SA70/iETNQRiKWWkQHvww17zoU2F4+TUm+o 4Sxb50AADVSJNwltxnrr697Tgf9A1Bg= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-328-p4-6USlTPT2qz2eNLlTCMA-1; Fri, 03 Dec 2021 03:41:58 -0500 X-MC-Unique: p4-6USlTPT2qz2eNLlTCMA-1 Received: by mail-ed1-f71.google.com with SMTP id l15-20020a056402124f00b003e57269ab87so1955409edw.6 for ; Fri, 03 Dec 2021 00:41:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=6GZB4B1N+7654kHtpQfNF47RaDJVwe0bhDq5s6FRHyg=; b=aRMjVoElPm3cTiVUZpZ3JGcOnS/KoPq7FQ88A9y6hEr+UL+f1oSSZe8/3q4xXdeily dDs+1V6Z8ZLkyd8cPsIiWdQhQmzydXgrikbgd2LRYSD1jjr2zFK3Mi+EfjIqZvYgtLmV PnX7/IMgG/wt6Bcto9gTUJ/u7cEEPyoboLkMiaGLGaKX6gIyzXKJXbWxL2FxPFuLSIK+ 1v14cM46P5CSrI8KE7mrF/gzxVU3pGNIMZ6HcwFUUYKaruRCjACtzHk+K8rLVAvUSQje QI2MaPvIoaiuQu1mClP0WWNqS1xp5EC1ISBM/qL390HVlQ4+WHqs2+WvOIKz1NQTv7gs 8q2g== X-Gm-Message-State: AOAM532/F8P3jPZ3fjw/epnLdqsw6TPHTiKHoRBXPjzz2BlTiF0/DoiZ 20EJQSu262h1L+usHg21xLN3x8/x+WxtxPl5GhDnwXDQWi9xDd9FuCqXfU3/1KHm1gfukix7MiV Kw2N/L8AOtpW4PgM= X-Received: by 2002:a17:907:2da5:: with SMTP id gt37mr22331302ejc.316.1638520917591; Fri, 03 Dec 2021 00:41:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzb/7LfnJkZdygdHrdv8Opu/P8GNBZ71fU2X1d4rvGa3jMNrBM7Vo1vtI9fJLdAjbdMVuP/5Q== X-Received: by 2002:a17:907:2da5:: with SMTP id gt37mr22331277ejc.316.1638520917422; Fri, 03 Dec 2021 00:41:57 -0800 (PST) Received: from [10.43.2.64] (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id j17sm1535384edj.0.2021.12.03.00.41.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Dec 2021 00:41:57 -0800 (PST) Message-ID: <63d013c1-bacf-2c06-896a-fd9c2b010653@redhat.com> Date: Fri, 3 Dec 2021 09:41:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH v1 00/12] Add riscv kvm accel support To: Yifei Jiang , qemu-devel@nongnu.org, qemu-riscv@nongnu.org References: <20211120074644.729-1-jiangyifei@huawei.com> From: =?UTF-8?B?TWljaGFsIFByw612b3puw61r?= In-Reply-To: <20211120074644.729-1-jiangyifei@huawei.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mprivozn@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=mprivozn@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -44 X-Spam_score: -4.5 X-Spam_bar: ---- X-Spam_report: (-4.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.717, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.938, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bin.meng@windriver.com, kvm@vger.kernel.org, libvir-list@redhat.com, anup.patel@wdc.com, wanbo13@huawei.com, Alistair.Francis@wdc.com, kvm-riscv@lists.infradead.org, wanghaibin.wang@huawei.com, fanliang@huawei.com, palmer@dabbelt.com, wu.wubin@huawei.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 11/20/21 08:46, Yifei Jiang wrote: > This series adds both riscv32 and riscv64 kvm support, and implements > migration based on riscv. What libvirt does when detecting KVM support is issuing query-kvm monitor command and checking if both 'present' and 'enabled' bools are true. If this is what these patches end up with we should get KVM acceleration in Libvirt for free. Michal