From: Arnd Bergmann Subject: Re: [PATCH 7/7] [v4] drivers/virt: introduce Freescale hypervisor management driver Date: Thu, 9 Jun 2011 09:38:22 +0200 Message-ID: <201106090938.23027.arnd@arndb.de> References: <1307573154-15838-1-git-send-email-timur@freescale.com> <20110608161009.7b05d305.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110608161009.7b05d305.randy.dunlap@oracle.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Sender: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org To: linuxppc-dev@lists.ozlabs.org, Linux Virtualization Cc: Randy Dunlap , konrad.wilk@oracle.com, greg@kroah.com, kumar.gala@freescale.com, linux-kernel@vger.kernel.org, cmetcalf@tilera.com, akpm@kernel.org, dsaxena@linaro.org, linux-console@vger.kernel.org, Timur Tabi , alan@lxorguk.ukuu.org.uk On Thursday 09 June 2011 01:10:09 Randy Dunlap wrote: > On Wed, 8 Jun 2011 17:45:54 -0500 Timur Tabi wrote: > > > Add the drivers/virt directory, which houses drivers that support > > virtualization environments, and add the Freescale hypervisor management > > driver. > > It can't go in linux/virt or linux/virt/fsl instead? why drivers/ ? > > or maybe linux/virt should be drivers/virt ? See discussion for v2 of this patch. I suggested that drivers/firmware and virt/ as options, the counterarguments were that drivers/firmware is for passive firmware as opposed to firmware that acts as a hypervisor, and that virt/ is for the host side of hypervisors like kvm, not for guests. The driver in here most closely resembles the xen dom0 model, where a priviledged guest controls other guests, but unlike xen there is a single driver file, so there is no need to have drivers/fsl-hv directory just for this one file. We do have a number of other hypervisors that fit in the same category, so they can be added here later. Arnd