lkml.org 
[lkml]   [2023]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 06/29] LoongArch: KVM: Implement vcpu create and destroy interface
From
On 2/20/23 07:57, Tianrui Zhao wrote:
> + vcpu->arch.guest_eentry = (unsigned long)kvm_context->kvm_eentry;
> + vcpu->arch.vcpu_run = kvm_context->kvm_enter_guest;
> + vcpu->arch.handle_exit = _kvm_handle_exit;

Here as well, whatever is constant must not be stored in struct
kvm_arch_vcpu.

Paolo

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