Re: [PATCH 1/8] KVM: SVM: extract VMCB accessors to a new file

From: Paolo Bonzini
Date: Tue Nov 08 2022 - 03:53:52 EST


On 11/7/22 19:14, Sean Christopherson wrote:
On Mon, Nov 07, 2022, Paolo Bonzini wrote:
On 11/7/22 18:08, Sean Christopherson wrote:
What about making KVM self-sufficient?

You mean having a different asm-offsets.h file just for arch/x86/kvm/?

Yeah.

Doh, it would have been enough to add #ifdef COMPILE_OFFSETS to svm/svm.h, but it was also pretty easy to generate a separate asm-offsets file so why not.

Paolo