From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v4 21/32] arm64: KVM: Build system integration Date: Wed, 22 May 2013 10:45:08 +0200 Message-ID: <519C8594.3050305@redhat.com> References: <1368540840-26750-1-git-send-email-marc.zyngier@arm.com> <1368540840-26750-22-git-send-email-marc.zyngier@arm.com> <20130521154227.GM27002@arm.com> <850310439.5245685.1369152587054.JavaMail.root@redhat.com> <20130522084214.GB14322@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "kvm@vger.kernel.org" , "gleb@redhat.com" , Marc Zyngier , Will Deacon , Christopher Covington , "kvmarm@lists.cs.columbia.edu" , "linux-arm-kernel@lists.infradead.org" To: Catalin Marinas Return-path: In-Reply-To: <20130522084214.GB14322@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org List-Id: kvm.vger.kernel.org Il 22/05/2013 10:42, Catalin Marinas ha scritto: > On Tue, May 21, 2013 at 05:09:47PM +0100, Paolo Bonzini wrote: >> >> >> ----- Messaggio originale ----- >>> Da: "Catalin Marinas" >>> A: "Marc Zyngier" >>> Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu,= kvm@vger.kernel.org, "Will Deacon" >>> , pbonzini@redhat.com, gleb@redhat.com, "Christoph= er Covington" >>> Inviato: Marted=EC, 21 maggio 2013 17:42:27 >>> Oggetto: Re: [PATCH v4 21/32] arm64: KVM: Build system integration >>> >>> On Tue, May 14, 2013 at 03:13:49PM +0100, Marc Zyngier wrote: >>>> --- /dev/null >>>> +++ b/arch/arm64/kvm/Kconfig >>> ... >>>> +config KVM_ARM_VGIC >>>> + bool >>>> + depends on KVM_ARM_HOST && OF >>>> + select HAVE_KVM_IRQCHIP >>>> + ---help--- >>>> + Adds support for a hardware assisted, in-kernel GIC emulation. >>>> + >>>> +config KVM_ARM_TIMER >>>> + bool >>>> + depends on KVM_ARM_VGIC >>>> + select HAVE_KVM_IRQCHIP >>>> + ---help--- >>>> + Adds support for the Architected Timers in virtual machines >>>> + >>>> +source drivers/virtio/Kconfig >>> >>> Shouldn't the above configs go to drivers/virtio/Kconfig as well (or >>> drivers/virtio/arm/Kconfig)? >> >> virtio doesn't mean "virtual versions of devices that also exist in >> hardware"; those are indeed in arch/ARCH/kvm. virtio is a specific bus >> for paravirtualized devices. It is not KVM-specific and the code runs >> in the guest (whereas arch/arm64/kvm/Kconfig is host code). > = > You are right. What I meant was kvm/virt/arm/Kconfig (the place where > the vgic and timer driver goes). Ah yeah, that could make sense. Paolo From mboxrd@z Thu Jan 1 00:00:00 1970 From: pbonzini@redhat.com (Paolo Bonzini) Date: Wed, 22 May 2013 10:45:08 +0200 Subject: [PATCH v4 21/32] arm64: KVM: Build system integration In-Reply-To: <20130522084214.GB14322@arm.com> References: <1368540840-26750-1-git-send-email-marc.zyngier@arm.com> <1368540840-26750-22-git-send-email-marc.zyngier@arm.com> <20130521154227.GM27002@arm.com> <850310439.5245685.1369152587054.JavaMail.root@redhat.com> <20130522084214.GB14322@arm.com> Message-ID: <519C8594.3050305@redhat.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Il 22/05/2013 10:42, Catalin Marinas ha scritto: > On Tue, May 21, 2013 at 05:09:47PM +0100, Paolo Bonzini wrote: >> >> >> ----- Messaggio originale ----- >>> Da: "Catalin Marinas" >>> A: "Marc Zyngier" >>> Cc: linux-arm-kernel at lists.infradead.org, kvmarm at lists.cs.columbia.edu, kvm at vger.kernel.org, "Will Deacon" >>> , pbonzini at redhat.com, gleb at redhat.com, "Christopher Covington" >>> Inviato: Marted?, 21 maggio 2013 17:42:27 >>> Oggetto: Re: [PATCH v4 21/32] arm64: KVM: Build system integration >>> >>> On Tue, May 14, 2013 at 03:13:49PM +0100, Marc Zyngier wrote: >>>> --- /dev/null >>>> +++ b/arch/arm64/kvm/Kconfig >>> ... >>>> +config KVM_ARM_VGIC >>>> + bool >>>> + depends on KVM_ARM_HOST && OF >>>> + select HAVE_KVM_IRQCHIP >>>> + ---help--- >>>> + Adds support for a hardware assisted, in-kernel GIC emulation. >>>> + >>>> +config KVM_ARM_TIMER >>>> + bool >>>> + depends on KVM_ARM_VGIC >>>> + select HAVE_KVM_IRQCHIP >>>> + ---help--- >>>> + Adds support for the Architected Timers in virtual machines >>>> + >>>> +source drivers/virtio/Kconfig >>> >>> Shouldn't the above configs go to drivers/virtio/Kconfig as well (or >>> drivers/virtio/arm/Kconfig)? >> >> virtio doesn't mean "virtual versions of devices that also exist in >> hardware"; those are indeed in arch/ARCH/kvm. virtio is a specific bus >> for paravirtualized devices. It is not KVM-specific and the code runs >> in the guest (whereas arch/arm64/kvm/Kconfig is host code). > > You are right. What I meant was kvm/virt/arm/Kconfig (the place where > the vgic and timer driver goes). Ah yeah, that could make sense. Paolo