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 854E1C2BB9A for ; Tue, 15 Dec 2020 10:18:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2B24322203 for ; Tue, 15 Dec 2020 10:18:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727364AbgLOKS2 (ORCPT ); Tue, 15 Dec 2020 05:18:28 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:27765 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727075AbgLOKS2 (ORCPT ); Tue, 15 Dec 2020 05:18:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608027422; 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=9swSmIYZppW8rMNs03vDQOdnpTVA0ev+LyV+E4X+xyA=; b=Ma9SFrleQpFNHVUEqbxfAryCqppG+eABJ9Ab4o3kRbSg31wOsNvDaCed1tZKzjP9fjVxtH xfP1d+En2RPB+gbw7NL7MeJSzsvvjzqWiq29k6gnFCRBsdfX814TQkNBTazoBP7eD7563t kSFHdoc1uGnPDRQs+eEeH1Jj4si+jcQ= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-502-wdpEvJLcPRmVsC31pfrZSQ-1; Tue, 15 Dec 2020 05:17:00 -0500 X-MC-Unique: wdpEvJLcPRmVsC31pfrZSQ-1 Received: by mail-ej1-f69.google.com with SMTP id n17so5829976eja.23 for ; Tue, 15 Dec 2020 02:16:59 -0800 (PST) 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-language :content-transfer-encoding; bh=9swSmIYZppW8rMNs03vDQOdnpTVA0ev+LyV+E4X+xyA=; b=IZoGrZa9Z6YQNgnU9rhih0HIwKmT/b9reV5+PBIM+BFmZXKvr2JWpOLmTlnMG3zkTy Z3sc/2Fhl2GaelXpMmig3SJQ8zanHrO64ZXFST/IewdTiUc6RfAPuCv0KMYSPKMjcFjp 0QQaCJiTFhzi50Fwy0YmCIk2fJgTaXtj5l9x78GFqa91nhbw9AABG8os8sBVEKlnS+hB h51baX9A7kduOIYwSsOs0aCo7Ds9tU5PDbUgvNNIeWNsdGO+L0tu7hjFbO8Xqui+5G6d LaPDrnJj79SL5XTBUftoA/2s27hZUmL/Ose9pKI2gfFyf0q2ZBuvKpYcRZ1XQWmkRCk6 CWYA== X-Gm-Message-State: AOAM532Bb/KwB7Smp3Lxc0UW57YOAq8XA5UJVhwFszHaCNbR369hpn5v DsCcijj1hW51BekD9lQkJRlhwk3sjj71bg3vOMzSfNCUoUlSuZRK5MrpohxMrf7vV23bxm6NwGZ u1tUi36l3vyS3 X-Received: by 2002:a50:a684:: with SMTP id e4mr11879113edc.148.1608027418926; Tue, 15 Dec 2020 02:16:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzabBZlSxgcEsAJ4vJm1Qr35IJrd95+WrjSMPfVpsEhNYyrrr35lQpOGUZSrKUTLe+2GnaXag== X-Received: by 2002:a50:a684:: with SMTP id e4mr11879085edc.148.1608027418772; Tue, 15 Dec 2020 02:16:58 -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 k16sm1010768ejd.78.2020.12.15.02.16.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Dec 2020 02:16:57 -0800 (PST) Subject: Re: [PATCH v5 12/34] KVM: SVM: Add initial support for a VMGEXIT VMEXIT To: Sean Christopherson , Tom Lendacky Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, Jim Mattson , Joerg Roedel , Vitaly Kuznetsov , Wanpeng Li , Borislav Petkov , Ingo Molnar , Thomas Gleixner , Brijesh Singh References: <7bac31c8-a008-8223-0ed5-9c25012e380a@redhat.com> <33e98d2d-93b5-acd6-4608-f30c709019ad@amd.com> From: Paolo Bonzini Message-ID: <35efe04e-a3df-d151-8192-b09473f81cc1@redhat.com> Date: Tue, 15 Dec 2020 11:16:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 14/12/20 20:41, Sean Christopherson wrote: > I agree VMGEXIT should be added to the hot path, it could very well be the most > common exit reason due to all instruction-based emulation getting funneled > through VMGEXIT. Yeah, I was thinking that not many guests will be SEV-ES. On the other hand, it's quite likely to have an SEV-ES guest in your hands once the really common non-VMGEXITs have been eliminated. Paolo