From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNJCN-0007mJ-ER for qemu-devel@nongnu.org; Thu, 07 Feb 2008 21:42:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNJCL-0007m7-F4 for qemu-devel@nongnu.org; Thu, 07 Feb 2008 21:42:42 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNJCL-0007m4-9x for qemu-devel@nongnu.org; Thu, 07 Feb 2008 21:42:41 -0500 Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=grelber.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNJCL-0005hi-1i for qemu-devel@nongnu.org; Thu, 07 Feb 2008 21:42:41 -0500 Received: from landley.net (localhost [127.0.0.1]) by grelber.thyrsus.com (Postfix) with ESMTP id 2A6B52C83D3 for ; Thu, 7 Feb 2008 21:42:41 -0500 (EST) From: Rob Landley Date: Thu, 7 Feb 2008 20:42:32 -0600 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200802072042.33139.rob@landley.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] What does code_copy_enabled do? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Grepping through the source code, I can find 3 places where this global variable is set (it's initialized to a default value of 1, there's a "no-code-copy" command line option that sets it to zero, and then it shows up in the test suite once). What I can't find is any code ever actually checking or using the value put into this variable.... What's it for? Rob -- "One of my most productive days was throwing away 1000 lines of code." - Ken Thompson.