[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 08/12] KVM/MIPS: Enable KVM/MIPS for MIPS target
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 08/12] KVM/MIPS: Enable KVM/MIPS for MIPS targets. Add MIPS GIC code to the build. |
Date: |
Sat, 2 Mar 2013 15:42:55 +0000 |
On 2 March 2013 15:18, Sanjay Lal <address@hidden> wrote:
> ---
> configure | 17 +++++++++++++++--
> hw/mips/Makefile.objs | 2 +-
> target-mips/Makefile.objs | 1 +
> 3 files changed, 17 insertions(+), 3 deletions(-)
>
> diff --git a/configure b/configure
> index bf5970f..5447661 100755
> --- a/configure
> +++ b/configure
> @@ -1370,7 +1370,12 @@ case "$cpu" in
> bigendian=yes
> fi
> ;;
> - hppa|m68k|mips|mips64|ppc|ppc64|s390|s390x|sparc|sparc64)
> + mips|mips64)
> + if check_define __MIPSEB__; then
> + bigendian=yes
> + fi
> + ;;
> + hppa|m68k|ppc|ppc64|s390|s390x|sparc|sparc64)
> bigendian=yes
> ;;
> esac
> @@ -3844,6 +3849,9 @@ if test "$linux" = "yes" ; then
> # For most CPUs the kernel architecture name and QEMU CPU name match.
> linux_arch="$cpu"
> ;;
> + mips|mips64)
> + symlink "$source_path/linux-headers/asm-mips" linux-headers/asm
> + ;;
Above the default case, not below it, please. And just set linux_arch
like the other cases; don't do the symlink yourself.
> esac
> # For non-KVM architectures we will not have asm headers
> if [ -e "$source_path/linux-headers/asm-$linux_arch" ]; then
> @@ -4074,7 +4082,7 @@ case "$target_arch2" in
> echo "CONFIG_NO_XEN=y" >> $config_target_mak
> esac
> case "$target_arch2" in
> - i386|x86_64|ppcemb|ppc|ppc64|s390x)
> + i386|x86_64|ppcemb|ppc|ppc64|s390x|mipsel|mips)
> # Make sure the target and host cpus are compatible
> if test "$kvm" = "yes" -a "$target_softmmu" = "yes" -a \
> \( "$target_arch2" = "$cpu" -o \
> @@ -4082,6 +4090,8 @@ case "$target_arch2" in
> \( "$target_arch2" = "ppc64" -a "$cpu" = "ppc" \) -o \
> \( "$target_arch2" = "ppc" -a "$cpu" = "ppc64" \) -o \
> \( "$target_arch2" = "ppcemb" -a "$cpu" = "ppc64" \) -o \
> + \( "$target_arch2" = "mipsel" -a "$cpu" = "mips" \) -o \
> + \( "$target_arch2" = "mips" -a "$cpu" = "mips" \) -o \
Pointless check because we've already tested for target_arch2 == cpu.
Or did you mean one of these 'mips' to be 'mipsel' ?
> \( "$target_arch2" = "x86_64" -a "$cpu" = "i386" \) -o \
> \( "$target_arch2" = "i386" -a "$cpu" = "x86_64" \) \) ; then
> echo "CONFIG_KVM=y" >> $config_target_mak
> @@ -4285,6 +4295,9 @@ if test "$target_linux_user" = "yes" -o
> "$target_bsd_user" = "yes" ; then
> *)
> ldflags="$linker_script $ldflags"
> ;;
> + mips|mipsel|mipseb|mips64)
> + symlink $source_path/linux-headers/asm-mips linux-headers/asm
> + ;;
> esac
> fi
?? Looks like the result of a bad merge conflict resolution.
-- PMM
- Re: [Qemu-devel] [PATCH 03/12] KVM/MIPS: Add save/restore state APIs for saving/restoring KVM guests., (continued)
- [Qemu-devel] [PATCH 07/12] KVM/MIPS: QEMU <-> Kernel interface for KVM/MIPS, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 09/12] KVM/MIPS: set sigmask length to 16 for MIPS targets., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 11/12] KVM/MIPS: MIPS specfic APIs for KVM., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 12/12] KVM/MIPS: General KVM support and support for SMP Guests, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 08/12] KVM/MIPS: Enable KVM/MIPS for MIPS targets. Add MIPS GIC code to the build., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 01/12] KVM/MIPS: Bootcode for MIPS SMP configurations with a GCMP, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 01/12] MIPS: Bootcode for MIPS SMP configurations with a GCMP, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 05/12] KVM/MIPS: In KVM mode, inject IRQ2 (I/O) interupts via ioctls(). COP0 emulation is in-kernel, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 04/12] KVM/MIPS: Do not start the periodic timer in KVM mode. Compare/Count timer interrupts are handled in-kernel., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 06/12] KVM/MIPS: Define APIs to convert Guest KSEG0 <-> Guest Physical addresses., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 10/12] KVM/MIPS: Set page size to 16K in KVM mode., Sanjay Lal, 2013/03/02
- Re: [Qemu-devel] [PATCH 00/12] KVM Support for MIPS32 Processors, Zhang, Yang Z, 2013/03/03