From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PART1 RFC 6/9] svm: Add interrupt injection via AVIC Date: Fri, 12 Feb 2016 19:21:17 +0100 Message-ID: <56BE229D.6030206@redhat.com> References: <1455285574-27892-1-git-send-email-suravee.suthikulpanit@amd.com> <1455285574-27892-7-git-send-email-suravee.suthikulpanit@amd.com> <20160212141650.GB4504@pd.tnic> <56BE0043.9050701@amd.com> <20160212171406.GF4099@pd.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: joro@8bytes.org, alex.williamson@redhat.com, gleb@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, wei@redhat.com, sherry.hurwitz@amd.com To: Borislav Petkov , Suravee Suthikulpanit Return-path: Received: from mail-wm0-f48.google.com ([74.125.82.48]:37961 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751362AbcBLSVU (ORCPT ); Fri, 12 Feb 2016 13:21:20 -0500 In-Reply-To: <20160212171406.GF4099@pd.tnic> Sender: kvm-owner@vger.kernel.org List-ID: 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