Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753470AbXLKQPx (ORCPT ); Tue, 11 Dec 2007 11:15:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751968AbXLKQPq (ORCPT ); Tue, 11 Dec 2007 11:15:46 -0500 Received: from il.qumranet.com ([82.166.9.18]:49769 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751711AbXLKQPp (ORCPT ); Tue, 11 Dec 2007 11:15:45 -0500 Message-ID: <475EB7AC.9040903@qumranet.com> Date: Tue, 11 Dec 2007 18:15:40 +0200 From: Avi Kivity User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Sam Ravnborg CC: linux-kernel , kvm-devel Subject: Re: [RFC] Proposed new directory layout for kvm and virtualization References: <475E5CBB.9080608@qumranet.com> <20071211161032.GA25769@uranus.ravnborg.org> In-Reply-To: <20071211161032.GA25769@uranus.ravnborg.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1256 Lines: 40 Sam Ravnborg wrote: > On Tue, Dec 11, 2007 at 11:47:39AM +0200, Avi Kivity wrote: > >> KVM is due to receive support for multiple architectures (ppc, ia64, and >> s390, in addition to the existing x86), hopefully in time for the 2.6.25 >> merge window. It is awkward to place the new arch support in >> drivers/kvm/, so I'd like to propose the following new layout: >> >> virt/ top-level directory for hypervisors >> virt/kvm/ kvm common code >> virt/lguest/ the other hypervisor >> arch/*/kvm/ arch dependent kvm code >> > > The arch/*/dir shall use same dir-name as used > in top-level directory. > Well, it isn't like that now (arch/x86/oprofile, etc.) > So use arch/*/virt/kvm/ if kvm really requires > a subdirectory of it own. Preferably not. > A handful of files named kvm* does not warrant their own > subdirectory IMO. > > We'll have 5-6 x86 specific files. Where do you suggest we place them? -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/