From: Hollis Blanchard <hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Rusty Russell <rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [RFC] KVM Source layout Proposal to accommodate new CPU architecture
Date: Tue, 02 Oct 2007 01:01:14 -0500 [thread overview]
Message-ID: <1191304874.1152.10.camel@basalt> (raw)
In-Reply-To: <1191298279.6979.50.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
On Tue, 2007-10-02 at 14:11 +1000, Rusty Russell wrote:
> On Tue, 2007-10-02 at 01:19 +0000, Hollis Blanchard wrote:
> > On Sun, 30 Sep 2007 15:56:16 +0200, Avi Kivity wrote:
> > >
> > > Eventually I'd like to see the code in arch/*/kvm. That's probably not
> > > easily doable right now because modules cannot span directories, but
> > > once that's solved, we'll do that as this is most consistent with the
> > > rest of the kernel.
> >
> > What is the "spanning directories" issue? Can't I build
> > arch/powerpc/kvm/kvm-powerpc.ko and drivers/kvm/kvm.ko and let modprobe
> > sort out the dependency?
>
> Sure, but it creates a silly module.
Isn't there precedent in other areas? What about cpufreq or ALSA? (I'm
really asking; don't have time to investigate further right now.)
> I think guest code belongs in arch/*/kvm/, but host code can be done as
> subdirs under drivers/kvm/.
Funny, I would say the opposite. The host code is where I'm mucking with
deep architectural state like stealing the TLB out from under Linux. The
guest state is all "what would a processor like this do?"
--
Hollis Blanchard
IBM Linux Technology Center
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
next prev parent reply other threads:[~2007-10-02 6:01 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-26 8:33 [RFC] KVM Source layout Proposal to accommodate new CPU architecture Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDC753A4E-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-26 8:44 ` Laurent Vivier
[not found] ` <46FA1BDA.2060003-6ktuUTfB/bM@public.gmane.org>
2007-09-26 9:38 ` Zhang, Xiantao
2007-09-27 9:18 ` Avi Kivity
2007-09-28 2:16 ` Zhang, Xiantao
2007-09-28 8:20 ` [kvm-devel] " Carsten Otte
[not found] ` <46FB7566.9030504-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-28 2:16 ` Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDC753E73-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-28 14:45 ` Avi Kivity
[not found] ` <46FD1392.1080905-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-28 15:28 ` Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDC754031-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-28 17:03 ` Avi Kivity
[not found] ` <46FD33F2.9090506-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-29 1:47 ` Zhang, Xiantao
2007-09-30 10:52 ` [kvm-devel] " Avi Kivity
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDC754076-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-30 10:52 ` Avi Kivity
[not found] ` <46FF7FF6.6090103-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-30 13:53 ` Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDC75421C-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-30 13:56 ` Avi Kivity
[not found] ` <46FFAB00.4050103-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-30 15:01 ` Zhang, Xiantao
2007-10-08 2:36 ` Zhang, Xiantao
2007-10-08 4:04 ` [kvm-devel] " Hollis Blanchard
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDC7AE225-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-08 4:04 ` Hollis Blanchard
2007-10-08 4:16 ` [RFC] KVM Source layout Proposal to accommodate newCPU architecture Zhang, Xiantao
2007-10-08 9:57 ` [kvm-devel] " Avi Kivity
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDC7AE2A8-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-08 9:57 ` Avi Kivity
[not found] ` <4709FEF1.6010006-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-09 1:10 ` Zhang, Xiantao
2007-10-02 1:19 ` [RFC] KVM Source layout Proposal to accommodate new CPU architecture Hollis Blanchard
2007-10-02 4:11 ` Rusty Russell
[not found] ` <1191298279.6979.50.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-10-02 6:01 ` Hollis Blanchard [this message]
2007-10-02 6:29 ` Rusty Russell
[not found] ` <1191306576.6979.91.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-10-02 11:43 ` Carsten Otte
2007-09-30 13:56 ` [kvm-devel] " Avi Kivity
2007-09-28 17:03 ` Avi Kivity
2007-09-28 14:45 ` Avi Kivity
2007-09-28 8:20 ` Carsten Otte
[not found] ` <46FCB954.50005-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-09-30 2:26 ` Zhang, Xiantao
2007-09-29 13:06 ` Rusty Russell
2007-09-29 14:25 ` [kvm-devel] " Sam Ravnborg
[not found] ` <1191071211.26950.28.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-09-29 14:25 ` Sam Ravnborg
2007-09-30 2:26 ` [RFC] KVM Source layout Proposal to accommodatenew " Zhang, Xiantao
2007-09-29 13:06 ` [kvm-devel] [RFC] KVM Source layout Proposal to accommodate new " Rusty Russell
2007-09-27 9:18 ` Avi Kivity
[not found] <FD80ED6F62DC5E41910477505FA01BDFA62D00@pdsmsx415.ccr.corp.intel.com>
[not found] ` <FD80ED6F62DC5E41910477505FA01BDFA62D00-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-26 8:58 ` Zhang, Xiantao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1191304874.1152.10.camel@basalt \
--to=hollisb-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.