From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Clemens Subject: qemu option parsing error. Date: Sat, 10 Nov 2007 13:22:06 -0500 Message-ID: <1194718926.27555.10.camel@beth> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org It appears the qemu in KVM-51 has a weird glitch where it will ignore the '-m' memory parameter if it's the first parameter on the command line (the case 'QEMU_OPTION_m' stanza never gets called in qemu/hw/vl.c:main()). A quick look at the code doesn't reveal anything obvious to me as to why. Putting some other parameter first (like '-hda') works just fine. This doesn't happen with the current qemu cvs. i.e.: qemu-system-x86_64 -m 512 -hda test.img == 128MB ram in VM. qemu-system-x86_64 -hda test.img -m 512 == 512MB ram in VM. john.c ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/