public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: John Clemens <jclemens-X2/pQFfLUrBl57MIdRCFDg@public.gmane.org>
To: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: qemu option parsing error.
Date: Sat, 10 Nov 2007 13:22:06 -0500	[thread overview]
Message-ID: <1194718926.27555.10.camel@beth> (raw)

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/

             reply	other threads:[~2007-11-10 18:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10 18:22 John Clemens [this message]
2007-11-10 22:30 ` qemu option parsing error Dan Kenigsberg
     [not found]   ` <20071110223054.GB12367-RO/WWmT55CHJJbofclyLPCHBx9XpghdU@public.gmane.org>
2007-11-11  2:31     ` John Clemens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1194718926.27555.10.camel@beth \
    --to=jclemens-x2/pqfflurbl57midrcfdg@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox