Patchwork enable kvm for ppc(32) on ppc64

login
register
mail settings
Submitter René Rebe
Date March 21, 2011, 10:18 a.m.
Message ID <AD3F28CE-4858-4A1D-A7A5-5DBD423047C0@exactcode.de>
Download mbox | patch
Permalink /patch/87737/
State New
Headers show

Comments

René Rebe - March 21, 2011, 10:18 a.m.
ppc64 is backward compatible, likewise.

Signed-off-by: René Rebe <rene@exactcode.de>
Alexander Graf - March 21, 2011, 10:42 a.m.
On 21.03.2011, at 11:18, René Rebe wrote:

> ppc64 is backward compatible, likewise.
> 
> Signed-off-by: René Rebe <rene@exactcode.de>

Acked-by: Alexander Graf <agraf@suse.de>

> 
> --- qemu-0.14.0/configure	2011-02-16 14:44:04.000000000 +0000
> +++ qemu-0.14.0-fixed/configure	2011-03-18 16:46:14.000000000 +0000
> @@ -3038,6 +3038,8 @@
>       \( "$target_arch2" = "$cpu" -o \
>       \( "$target_arch2" = "ppcemb" -a "$cpu" = "ppc" \) -o \
>       \( "$target_arch2" = "ppc64"  -a "$cpu" = "ppc" \) -o \
> +      \( "$target_arch2" = "ppc"    -a "$cpu" = "ppc64" \) -o \
> +      \( "$target_arch2" = "ppcemb" -a "$cpu" = "ppc64" \) -o \
>       \( "$target_arch2" = "x86_64" -a "$cpu" = "i386"   \) -o \
>       \( "$target_arch2" = "i386"   -a "$cpu" = "x86_64" \) \) ; then
>       echo "CONFIG_KVM=y" >> $config_target_mak
> 
> -- 
>  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
>  DE Legal: Amtsgericht Charlottenburg HRB 105123B, Tax-ID#: DE251602478
>  Managing Directors: Susanne Klaus, René Rebe
>  http://exactcode.com | http://t2-project.org | http://rene.rebe.de
>

Patch

--- qemu-0.14.0/configure	2011-02-16 14:44:04.000000000 +0000
+++ qemu-0.14.0-fixed/configure	2011-03-18 16:46:14.000000000 +0000
@@ -3038,6 +3038,8 @@ 
       \( "$target_arch2" = "$cpu" -o \
       \( "$target_arch2" = "ppcemb" -a "$cpu" = "ppc" \) -o \
       \( "$target_arch2" = "ppc64"  -a "$cpu" = "ppc" \) -o \
+      \( "$target_arch2" = "ppc"    -a "$cpu" = "ppc64" \) -o \
+      \( "$target_arch2" = "ppcemb" -a "$cpu" = "ppc64" \) -o \
       \( "$target_arch2" = "x86_64" -a "$cpu" = "i386"   \) -o \
       \( "$target_arch2" = "i386"   -a "$cpu" = "x86_64" \) \) ; then
       echo "CONFIG_KVM=y" >> $config_target_mak