All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Zhang, Xiantao" <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org,
	kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Hollis Blanchard
	<hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] 5/5 Move-some-x86-specific-part-from-kvm_init-to-kvm_arch
Date: Wed, 14 Nov 2007 15:37:52 +0200	[thread overview]
Message-ID: <473AFA30.3040703@qumranet.com> (raw)
In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDC94FBF7-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>

Zhang, Xiantao wrote:
> Carsten Otte wrote:
>   
>> I think two other functionalities need to be moved to kvm_arch_init
>> which are still in common: The call to kvm_mmu_set_nonpresent_ptes()
>> and the creation of kvm_vcpu_cache. This can well be done after
>> merging this patch. kvm_init looks very much cleaned up now, well done
>> Xiantao :-).
>>     
>
> Agree.  I am working on this now.  I think we should move all mmu code
> to arch specific.  
>
> Avi, 
> What's your ideas ? I rememberd you said we should keep some mmu
> interface in common, but seems current code is more x86-specific. Maybe
> we should move them into arch first. If other archs need them, we can
> move back and work out more generic interfaces.  At least, IA64 and S390
> doesn't need them:-)
>   

kvm_mmu_set_nonpresent_ptes() is very much arch specific.  It's okay by me to move things and move them back, so long that's the exception and not the rule.




-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

  parent reply	other threads:[~2007-11-14 13:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-14  5:44 [PATCH] 5/5 Move-some-x86-specific-part-from-kvm_init-to-kvm_arch Zhang, Xiantao
     [not found] ` <42DFA526FC41B1429CE7279EF83C6BDC94FACC-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-14 12:02   ` Carsten Otte
     [not found]     ` <473AE3E9.9020709-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-11-14 12:23       ` Zhang, Xiantao
     [not found]         ` <42DFA526FC41B1429CE7279EF83C6BDC94FBF7-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-14 13:18           ` Carsten Otte
2007-11-14 13:37           ` Avi Kivity [this message]
     [not found]             ` <473AFA30.3040703-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-14 15:22               ` [PATCH] 5/5Move-some-x86-specific-part-from-kvm_init-to-kvm_arch 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=473AFA30.3040703@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \
    --cc=hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@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.