Re: [Qemu-devel] [PATCH 1/2] cpu-exec: rid cs_base of TranslationBlock

2013-04-24 Thread Peter Maydell
On 24 April 2013 08:25, li guang wrote: > 在 2013-04-24三的 09:11 +0200,Aurelien Jarno写道: >> On Wed, Apr 24, 2013 at 08:36:54AM +0200, Paolo Bonzini wrote: >> > Il 24/04/2013 03:48, liguang ha scritto: >> > > cs_base is only meaningful for target-i386/sparc, >> > > so, get rid of cs_base for other ta

Re: [Qemu-devel] [PATCH 1/2] cpu-exec: rid cs_base of TranslationBlock

2013-04-24 Thread li guang
在 2013-04-24三的 09:11 +0200,Aurelien Jarno写道: > On Wed, Apr 24, 2013 at 08:36:54AM +0200, Paolo Bonzini wrote: > > Il 24/04/2013 03:48, liguang ha scritto: > > > cs_base is only meaningful for target-i386/sparc, > > > so, get rid of cs_base for other target > > > > This is really ugly, we're trying

Re: [Qemu-devel] [PATCH 1/2] cpu-exec: rid cs_base of TranslationBlock

2013-04-24 Thread Aurelien Jarno
On Wed, Apr 24, 2013 at 08:36:54AM +0200, Paolo Bonzini wrote: > Il 24/04/2013 03:48, liguang ha scritto: > > cs_base is only meaningful for target-i386/sparc, > > so, get rid of cs_base for other target > > This is really ugly, we're trying to get less target-dependent code > outside target-*, no

Re: [Qemu-devel] [PATCH 1/2] cpu-exec: rid cs_base of TranslationBlock

2013-04-23 Thread Paolo Bonzini
Il 24/04/2013 03:48, liguang ha scritto: > cs_base is only meaningful for target-i386/sparc, > so, get rid of cs_base for other target This is really ugly, we're trying to get less target-dependent code outside target-*, not more. Also, please limit the number of people that you CC. Paolo > Sig

[Qemu-devel] [PATCH 1/2] cpu-exec: rid cs_base of TranslationBlock

2013-04-23 Thread liguang
cs_base is only meaningful for target-i386/sparc, so, get rid of cs_base for other target Signed-off-by: liguang --- cpu-exec.c | 26 ++ exec.c |6 +++--- hw/i386/kvmvapic.c |6 ++ include/exec/exec-all.h |5 +++-- targ