Skip to contentSkip to conversation

Add --disable-cpu-emulation to qemu help screen

PATCH Applied Jerone Young 3 participants 5 messages Feb 27, 2008 – Feb 28, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add --disable-cpu-emulation to qemu help screen

# HG changeset patch
# User Jerone Young <[email protected]>
# Date 1204151598 21600
# Branch merge
# Node ID cd9eab52ef2d78809540518c4e18f4730d5d8400 # Parent f255b23b6ef9461be4ee18fa0745f30c4fb66e6a Add --disable-cpu-emulation to qemu help screen.

This patch adds a line to the help screen of configure for qemu to show the option --disable-cpu-emulation

qemu/configure +1 -0
@@ -445,6 +445,7 @@ echo "  --fmod-inc               path to
 echo "  --fmod-inc               path to FMOD includes"
 echo "  --enable-uname-release=R Return R for uname -r in usermode emulation"
 echo "  --sparc_cpu=V            Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9"
+echo "  --no-cpu-emulation       disables use of qemu cpu emulation code"
 echo ""
 echo "NOTE: The object files are built at the place where configure is launched"
 exit 1

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#1 lore raw
Quoted 16 lines · Jerone Young

# HG changeset patch
# User Jerone Young <[email protected]>
# Date 1204151598 21600
# Branch merge
# Node ID cd9eab52ef2d78809540518c4e18f4730d5d8400 # Parent f255b23b6ef9461be4ee18fa0745f30c4fb66e6a Add --disable-cpu-emulation to qemu help screen.

This patch adds a line to the help screen of configure for qemu to show the option --disable-cpu-emulation

qemu/configure echo " --fmod-inc path to · line 451

Quoted 7 lines
qemu/configure +1 -0
@@ -445,6 +445,7 @@ echo "  --fmod-inc               path to
 echo "  --fmod-inc               path to FMOD includes"
 echo "  --enable-uname-release=R Return R for uname -r in usermode emulation"
 echo "  --sparc_cpu=V            Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9"
+echo "  --no-cpu-emulation       disables use of qemu cpu emulation code"
 echo ""
 echo "NOTE: The object files are built at the place where configure is launched"
 exit 1

The patch summary is correct, but the help text is not.

Signature · 8 lines
Hollis Blanchard
IBM Linux Technology Center


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Applied
#3 lore raw
In reply to Jerone Young
Quoted 3 lines · Jerone Young

This patch adds a line to the help screen of configure for qemu to show the option --disable-cpu-emulation

Applied, thanks.

Signature · 7 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#2 lore raw
In reply to Hollis Blanchard
Quoted 13 lines · Hollis Blanchard
Quoted 12 lines · Jerone Young

# HG changeset patch
# User Jerone Young <[email protected]>
# Date 1204151598 21600
# Branch merge
# Node ID cd9eab52ef2d78809540518c4e18f4730d5d8400 # Parent f255b23b6ef9461be4ee18fa0745f30c4fb66e6a Add --disable-cpu-emulation to qemu help screen.

This patch adds a line to the help screen of configure for qemu to show the option --disable-cpu-emulation

Quoted 13 lines

qemu/configure echo " --fmod-inc path to · line 451

Quoted 11 lines
qemu/configure +1 -0
@@ -445,6 +445,7 @@ echo "  --fmod-inc               path to
 echo "  --fmod-inc               path to FMOD includes"
 echo "  --enable-uname-release=R Return R for uname -r in usermode emulation"
 echo "  --sparc_cpu=V            Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9"
+echo "  --no-cpu-emulation       disables use of qemu cpu emulation code"
 echo ""
 echo "NOTE: The object files are built at the place where configure is launched"
 exit 1

The patch summary is correct, but the help text is not.

Exactly how is this not correct? While on PowerPC at the moment the TCG code is not there (and you need this option anyway)...on x86 using this option does mean by passing the TCG CPU emulation code. If you use this option you have to be using KVM.. what text do you think whould be better ?

Quoted 1 line

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#4 lore raw
In reply to Avi Kivity

Whoops ok looks like I made a mistake with the help text. I use "--no-cpu-emulation" .. when I meant "--disable-cpu-emulation" that was in the summary. I think I got my self screwedup by the defines we use in the code. This is what Hollis was pointing out.

Here is a more proper patch.

qemu/configure +1 -0
@@ -445,6 +445,7 @@ echo "  --fmod-inc               path to
 echo "  --fmod-inc               path to FMOD includes"
 echo "  --enable-uname-release=R Return R for uname -r in usermode emulation"
 echo "  --sparc_cpu=V            Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9"
+echo "  --disable-cpu-emulation  disable use of qemu cpu emulation code"
 echo ""
 echo "NOTE: The object files are built at the place where configure is launched"
 exit 1
Quoted 7 lines · Avi Kivity
Quoted 3 lines · Jerone Young

This patch adds a line to the help screen of configure for qemu to show the option --disable-cpu-emulation

Applied, thanks.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/