public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Ehrhardt <ehrhardt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: "Zhang, Xiantao" <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org,
	hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org,
	avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org
Subject: Re: [PATCH]0/2 Patches to furthure split kvm_init
Date: Thu, 29 Nov 2007 10:59:36 +0100	[thread overview]
Message-ID: <474E8D88.4090508@linux.vnet.ibm.com> (raw)
In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDCA394B2-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>

Hi Xiantao,
it looks good to me to move kvm_vcpu_cache out to the x86 specific code, but I wanted to suggest to go a bit further.
After your patch the structure kvm_vcpu_cache is only in x86/svm/vmx.c so we could prevent mistakes in two ways.
I send two extension patches which will fit on top of your 2 patch queue as suggestion and therefore call them 3/2 and 4/2.

[3/2] move_kvm_cpu_cache_to_x86_header
To prevent misuse of these x86 structure in generic code the definition moved from kvm.h to x86.h.

[4/2] rename_kvm_cpu_cache_x86
Renamed the kvm_vcpu_cache structure to kvm_x86_vcpu_cache to make clear to anyone who see's that variable in the code in future that it's x86 only.

Zhang, Xiantao wrote:
> [1/2] Fix missing bad_page free logic for possbile failures of kvm_init.
> [2/2] Moving kvm_vcpu_cache to x86.c, since it belongs to x86-specific
> part.
> 
> Signed-off-by: Zhang Xiantao <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel


-- 

Grüsse / regards, 
Christian Ehrhardt

IBM Linux Technology Center, Open Virtualization
+49 7031/16-3385
Ehrhardt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org
Ehrhardt-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org

IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Johann Weihen 
Geschäftsführung: Herbert Kircher 
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4

  parent reply	other threads:[~2007-11-29  9:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29  8:16 [PATCH]0/2 Patches to furthure split kvm_init Zhang, Xiantao
     [not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA394B2-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-29  9:59   ` Christian Ehrhardt [this message]
     [not found]     ` <474E8D88.4090508-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2007-11-30  7:43       ` Avi Kivity
     [not found]         ` <474FBF0D.7020601-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-30  8:27           ` Zhang, Xiantao
     [not found]             ` <42DFA526FC41B1429CE7279EF83C6BDCA397B9-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-30  8:36               ` Avi Kivity
     [not found]                 ` <474FCB79.2010008-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-30  8:50                   ` Zhang, Xiantao
     [not found]                     ` <42DFA526FC41B1429CE7279EF83C6BDCA397CF-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-30  9:04                       ` Avi Kivity
     [not found]                         ` <474FD21E.8030900-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-30  9:14                           ` Zhang, Xiantao
     [not found]                             ` <42DFA526FC41B1429CE7279EF83C6BDCA397EA-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-30  9:51                               ` Avi Kivity
     [not found]                                 ` <474FDD34.9020807-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-30 10:03                                   ` Zhang, Xiantao
     [not found]                                     ` <42DFA526FC41B1429CE7279EF83C6BDCA39817-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-30 17:29                                       ` Hollis Blanchard
2007-11-30 20:36                                         ` Avi Kivity
2007-11-30  9:52                           ` Christian Ehrhardt
2007-11-30 11:52           ` Carsten Otte
     [not found]             ` <474FF970.9060404-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-11-30 11:55               ` Avi Kivity
     [not found]                 ` <474FFA26.6020302-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-30 12:49                   ` Carsten Otte
     [not found]                     ` <475006D5.9060504-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-11-30 14:50                       ` Avi Kivity
     [not found]                         ` <4750234D.6000504-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-30 18:18                           ` Hollis Blanchard
2007-11-30 20:34                             ` Avi Kivity

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=474E8D88.4090508@linux.vnet.ibm.com \
    --to=ehrhardt-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
    --cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox