[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <38ecaf2b1a0cd590f67609c87a72743a07b1e464.camel@intel.com>
Date: Tue, 10 Sep 2024 16:43:51 +0000
From: "Edgecombe, Rick P" <rick.p.edgecombe@...el.com>
To: "kvm@...r.kernel.org" <kvm@...r.kernel.org>, "pbonzini@...hat.com"
<pbonzini@...hat.com>, "seanjc@...gle.com" <seanjc@...gle.com>
CC: "Li, Xiaoyao" <xiaoyao.li@...el.com>, "isaku.yamahata@...il.com"
<isaku.yamahata@...il.com>, "tony.lindgren@...ux.intel.com"
<tony.lindgren@...ux.intel.com>, "Huang, Kai" <kai.huang@...el.com>,
"Yamahata, Isaku" <isaku.yamahata@...el.com>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 07/25] KVM: TDX: Add helper functions to allocate/free TDX
private host key id
On Tue, 2024-09-10 at 18:42 +0200, Paolo Bonzini wrote:
> Yes, I meant this is the code and it just has to be moved to arch/x86.
> The only other function that is needed is a wrapper for ida_is_empty(),
> which is used in tdx_offline_cpu():
>
> /* No TD is running. Allow any cpu to be offline. */
> if (ida_is_empty(&tdx_guest_keyid_pool))
> return 0;
Oh, good point.
Powered by blists - more mailing lists