RE: [PATCH 1/5] qemu/kvm: enable POWERPC_MMU_BOOKE_FSL when kvm isenabled.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: kvm-ppc-owner@xxxxxxxxxxxxxxx 
> [mailto:kvm-ppc-owner@xxxxxxxxxxxxxxx] On Behalf Of Hollis Blanchard
> Sent: Saturday, January 10, 2009 4:10 AM
> To: Liu Yu-B13201
> Cc: kvm-ppc@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH 1/5] qemu/kvm: enable 
> POWERPC_MMU_BOOKE_FSL when kvm isenabled.
> 
> On Fri, 2009-01-09 at 15:56 +0800, Liu Yu wrote:
> > Signed-off-by: Liu Yu <yu.liu@xxxxxxxxxxxxx>
> > ---
> >  target-ppc/helper.c |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> > 
> > diff --git a/target-ppc/helper.c b/target-ppc/helper.c
> > index 4676d50..970165d 100644
> > --- a/target-ppc/helper.c
> > +++ b/target-ppc/helper.c
> > @@ -1939,6 +1939,8 @@ void ppc_tlb_invalidate_all (CPUPPCState *env)
> >          break;
> >      case POWERPC_MMU_BOOKE_FSL:
> >          /* XXX: TODO */
> > +	if (kvm_enabled())
> > +		break;
> >          cpu_abort(env, "BookE MMU model is not implemented\n");
> >          break;
> >      case POWERPC_MMU_32B:
> 
> This might better be written as:
> 
> 	if (!kvm_enabled())
> 		cpu_abort(...)
> 	break;
> 
Fixed. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux