[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cbd95763-ec38-63f7-89bf-c8b01aa7df77@redhat.com>
Date: Mon, 20 Feb 2023 18:53:20 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Tianrui Zhao <zhaotianrui@...ngson.cn>
Cc: Huacai Chen <chenhuacai@...nel.org>,
WANG Xuerui <kernel@...0n.name>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
loongarch@...ts.linux.dev, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org, Jens Axboe <axboe@...nel.dk>,
Mark Brown <broonie@...nel.org>,
Alex Deucher <alexander.deucher@....com>,
Oliver Upton <oliver.upton@...ux.dev>, maobibo@...ngson.cn
Subject: Re: [PATCH v2 06/29] LoongArch: KVM: Implement vcpu create and
destroy interface
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
Powered by blists - more mailing lists