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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7455FC433EF for ; Mon, 8 Nov 2021 11:20:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 58E5960F36 for ; Mon, 8 Nov 2021 11:20:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239170AbhKHLWt (ORCPT ); Mon, 8 Nov 2021 06:22:49 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:55425 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239172AbhKHLWq (ORCPT ); Mon, 8 Nov 2021 06:22:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636370399; 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=OERNggq5Y+xLzf5LS68CDlX9Lh1Q9ESGR/6aoJbmMHc=; b=X6gCjsSAnAhdS/qNc1zYFAc1A/cIb+IBTCnoo8yIaU7Q76x+ShNKAQ/OGdnwn/BRMSAymh gMA/ElWjz9a4wu3nq5Mul2vVJcKLiQy2oj+OBz0AcdIH9CNhcW6tWWNUmL1Ju03qjkdSjv rfswCYcYcCK+7sFCVfDJihew//LRsj0= 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-306-KGqptSpuMOCLz1MXS85tng-1; Mon, 08 Nov 2021 06:19:58 -0500 X-MC-Unique: KGqptSpuMOCLz1MXS85tng-1 Received: by mail-ed1-f70.google.com with SMTP id h13-20020a05640250cd00b003e35ea5357fso1402275edb.2 for ; Mon, 08 Nov 2021 03:19: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=OERNggq5Y+xLzf5LS68CDlX9Lh1Q9ESGR/6aoJbmMHc=; b=ojl7DgF6kRvUNxdFs3/Y2DLFLBnFyL+HeYz5rX5LKVE23FaydaZNnVXpdoaUG1ewAa lXPhXFFWplqNXZ9dJjxpgz396L/xm1pTxLSk0urFtAXV6OrVvSlt9a7FD80KfI5vHDFF yOhlrHgVv67vMRlh0cnQlN37HUKBTQJsnEb7DGDSBy+52TuOHilWcxIeKWvIfwQxul0R a3UdrnDCmWCa6tQsv/8cxuN70L97cIs7N3DkQMw53SK1ag3mhL93/Ya+k7pvdxD89i48 ie6d5tX7jBpVM7WXziYRjXh+fELNhHdkL5dRUmACxuUqC3nTICEfk7latJ6N43njdstp NBdA== X-Gm-Message-State: AOAM5303pIyWiWw5jVzlN77StqVl4x3mXeEuMQmFT90Oivf69mqG45yJ 3ePhbCGqJwunp62H/SjCL+CIfyuybW4dsnbiuOhyO5495/+z599D/CDpuh8VFCHDpC5L003bdGo ZHWtPXnrVB2q/yqxl7iDAtZup X-Received: by 2002:a17:906:c1c9:: with SMTP id bw9mr96435305ejb.3.1636370397570; Mon, 08 Nov 2021 03:19:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVag4TCcB6qtlnRSSlsZn0Oq5TcZp/IPBjNnOlSvDzrFavistrdtkih9qeWT6MQifI+0sLgg== X-Received: by 2002:a17:906:c1c9:: with SMTP id bw9mr96435278ejb.3.1636370397365; Mon, 08 Nov 2021 03:19:57 -0800 (PST) Received: from ?IPV6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id jt24sm7722928ejb.59.2021.11.08.03.18.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Nov 2021 03:19:06 -0800 (PST) Message-ID: Date: Mon, 8 Nov 2021 12:18:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [RFC] KVM: x86: SVM: don't expose PV_SEND_IPI feature with AVIC Content-Language: en-US To: zhenwei pi , Maxim Levitsky , Kele Huang Cc: chaiwen.cc@bytedance.com, xieyongji@bytedance.com, dengliang.1214@bytedance.com, wanpengli@tencent.com, seanjc@google.com, Vitaly Kuznetsov , Jim Mattson , Joerg Roedel , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , kvm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20211108095931.618865-1-huangkele@bytedance.com> From: Paolo Bonzini In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/8/21 12:14, zhenwei pi wrote: > I don't yet know if there is a solution to this which doesn't > involve some management software decision (e.g libvirt or higher). If we use a new hint, there's no problems with migration from/to older QEMU and libvirt's host-model/host-passthrough would pick up the bit automatically. (I'm not sure if libvirt knows that hints can change across migration, though). Paolo