Bug 409 - poky-qemu script needs a way to override default memory size
Summary: poky-qemu script needs a way to override default memory size
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.0 M1
Assignee: liping Ke
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-07 15:29 UTC by Scott Garman
Modified: 2010-12-21 06:07 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Garman 2010-10-07 15:29:11 UTC
Currently the default QEMU memory sizes are defined in poky-qemu-internal. There should be a way to override this by passing a command line arg to poky-qemu.
Comment 1 Scott Garman 2010-12-07 15:19:50 UTC
This will be possible with the upcoming option to add custom QEMU command line options that Liping is working on.
Comment 2 liping Ke 2010-12-19 17:54:15 UTC
This problem has been solved by change set:
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=ae4f5c942ef0561335313d676ff8defc0f0bdbbc

You can add extra parameters by extra parameters, for example: 
$poky-qemu {qemu_image.bin} {nfs_extraction_dir} "<-m 256>"

Thanks& Regards,
criping
Comment 3 liping Ke 2010-12-19 17:54:59 UTC
This bug is fixed.