Re: [PART1 RFC 6/9] svm: Add interrupt injection via AVIC

From: Paolo Bonzini
Date: Fri Feb 12 2016 - 13:21:26 EST




On 12/02/2016 18:14, Borislav Petkov wrote:
> On Fri, Feb 12, 2016 at 10:54:43PM +0700, Suravee Suthikulpanit wrote:
>> > Do you mean in the arch/x86/kvm/svm.c?
> Ah, it is svm.c. Yes, where it is being used.

Hmm, currently things such as MSR_VM_HSAVE_PA are defined in msr-index.h.

It's okay for me to move them to kvm_host.h or similar, but they should
all be treated the same. Right now this means adding the doorbell MSR
to msr-index.h.

Paolo