Re: [PATCH 1/5] qemu/kvm: enable POWERPC_MMU_BOOKE_FSL when kvm is enabled.

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

 



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;

-- 
Hollis Blanchard
IBM Linux Technology Center

--
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