* [PATCH] Move CONFIG_X86 decleration to be x86 specific in configure script
@ 2007-11-29 17:14 Jerone Young
2007-11-30 8:14 ` Avi Kivity
0 siblings, 1 reply; 3+ messages in thread
From: Jerone Young @ 2007-11-29 17:14 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
# HG changeset patch
# User Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
# Date 1196356414 21600
# Node ID 6fa44248cb3ad7b8a75ea7c23ee935103547fee4
# Parent eb2a8d4d818eb0b27feec303e028bd9944a28694
Move CONFIG_X86 decleration to be x86 specific in configure script
In the configure script CONFIG_X86 is explicitly declared for
qemu. Now while today the support for other archs is not exactly
in kvm just yet (it's coming)..this shouldn't be specified for
everyone ;-)
Signed-off-by: Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -99,6 +99,7 @@ fi
#set parameters compiling
if [ "$arch" = "i386" -o "$arch" = "x86_64" ]; then
target_exec="x86_64-softmmu"
+ qemu_cflags+=" -DCONFIG_X86"
fi
#configure user dir
@@ -109,7 +110,7 @@ fi
#configure qemu
(cd qemu; ./configure --target-list=$target_exec \
--disable-kqemu \
- --extra-cflags="-I $PWD/../libkvm $qemu_cflags -DCONFIG_X86" \
+ --extra-cflags="-I $PWD/../libkvm $qemu_cflags" \
--extra-ldflags="-L $PWD/../libkvm $qemu_ldflags" \
--enable-kvm --kernel-path="$libkvm_kerneldir" \
${enable_alsa:+"--enable-alsa"} \
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Move CONFIG_X86 decleration to be x86 specific in configure script
2007-11-29 17:14 [PATCH] Move CONFIG_X86 decleration to be x86 specific in configure script Jerone Young
@ 2007-11-30 8:14 ` Avi Kivity
0 siblings, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2007-11-30 8:14 UTC (permalink / raw)
To: Jerone Young; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Jerone Young wrote:
> # HG changeset patch
> # User Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> # Date 1196356414 21600
> # Node ID 6fa44248cb3ad7b8a75ea7c23ee935103547fee4
> # Parent eb2a8d4d818eb0b27feec303e028bd9944a28694
> Move CONFIG_X86 decleration to be x86 specific in configure script
>
> In the configure script CONFIG_X86 is explicitly declared for
> qemu. Now while today the support for other archs is not exactly
> in kvm just yet (it's coming)..this shouldn't be specified for
> everyone ;-)
>
>
Applied, thanks.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] Move CONFIG_X86 decleration to be x86 specific in configure script
@ 2007-12-05 21:50 Jerone Young
0 siblings, 0 replies; 3+ messages in thread
From: Jerone Young @ 2007-12-05 21:50 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
# HG changeset patch
# User Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
# Date 1196891226 21600
# Node ID a30e578bd6e2cf7599ce0c57066880658ddf2886
# Parent b4cf8e05d20b3f4ca658bb4fdf3db3e4393a5d8a
Move CONFIG_X86 decleration to be x86 specific in configure script
In the configure script CONFIG_X86 is explicitly declared for
qemu. Now while today the support for other archs is not exactly
in kvm just yet (it's coming)..this shouldn't be specified for
everyone ;-)
Signed-off-by: Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -99,6 +99,7 @@ fi
#set parameters compiling
if [ "$arch" = "i386" -o "$arch" = "x86_64" ]; then
target_exec="x86_64-softmmu"
+ qemu_cflags+=" -DCONFIG_X86"
fi
#configure user dir
@@ -109,7 +110,7 @@ fi
#configure qemu
(cd qemu; ./configure --target-list=$target_exec \
--disable-kqemu \
- --extra-cflags="-I $PWD/../libkvm $qemu_cflags -DCONFIG_X86" \
+ --extra-cflags="-I $PWD/../libkvm $qemu_cflags" \
--extra-ldflags="-L $PWD/../libkvm $qemu_ldflags" \
--enable-kvm --kernel-path="$libkvm_kerneldir" \
${enable_alsa:+"--enable-alsa"} \
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-12-05 21:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-29 17:14 [PATCH] Move CONFIG_X86 decleration to be x86 specific in configure script Jerone Young
2007-11-30 8:14 ` Avi Kivity
-- strict thread matches above, loose matches on Subject: below --
2007-12-05 21:50 Jerone Young
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox