[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <41399770-2b1c-4051-9e9a-1acb702f2439@redhat.com>
Date: Wed, 22 Jan 2025 13:50:37 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Binbin Wu <binbin.wu@...ux.intel.com>
Cc: seanjc@...gle.com, kvm@...r.kernel.org, rick.p.edgecombe@...el.com,
kai.huang@...el.com, adrian.hunter@...el.com, reinette.chatre@...el.com,
xiaoyao.li@...el.com, tony.lindgren@...ux.intel.com,
isaku.yamahata@...el.com, yan.y.zhao@...el.com, chao.gao@...el.com,
michael.roth@....com, linux-kernel@...r.kernel.org, binbin.wu@...ux.intel.com
Subject: Re: [PATCH 1/7] KVM: TDX: Add a place holder to handle TDX VM exit
On Sun, Dec 1, 2024 at 4:52 AM Binbin Wu <binbin.wu@...ux.intel.com> wrote:
>
> From: Isaku Yamahata <isaku.yamahata@...el.com>
>
> Introduce the wiring for handling TDX VM exits by implementing the
> callbacks .get_exit_info(), and .handle_exit().
Linux 6.14 adds get_entry_info. For lack of a better place, I added it
in this patch when rebasing kvm-coco-queue:
static void vt_get_entry_info(struct kvm_vcpu *vcpu, u32 *intr_info, u32 *error_code)
{
*intr_info = 0;
*error_code = 0;
if (is_td_vcpu(vcpu))
return;
vmx_get_entry_info(vcpu, intr_info, error_code);
}
Thanks,
Paolo
Powered by blists - more mailing lists