lkml.org 
[lkml]   [2023]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v6 5/6] KVM: x86: add vCPU scoped toggling for disabled exits
On Mon, Jan 30, 2023 at 08:57:16PM +0000, Kechen Lu wrote:
>> On Sat, Jan 21, 2023 at 02:07:37AM +0000, Kechen Lu wrote:
>> >+static void svm_update_disabled_exits(struct kvm_vcpu *vcpu)
>>
>> Is it possible to call this function on vCPU creation, i.e., consolidate
>> initialization and runtime toggling?
>>
>
>Chao, can you elaborate on this? If I understand correctly,
>you mean replacing the current redundant code on vCPU creation
>for checking the xxx_in_guest and set intercept, while instead, calling this
>svm/vmx_update_disabled_exits()?

That's exactly what I mean.

>Yeah, I think this makes sense to
>me.

\
 
 \ /
  Last update: 2023-03-27 00:02    [W:0.501 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site