| Summary: | runqemu -h or runqemu --help throw error | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jan-Simon Moeller <dl9pf> |
| Component: | Scripts and Tools | Assignee: | Robert Yang <liezhi.yang> |
| Status: | VERIFIED FIXED | QA Contact: | Juan Ramos <juan.fernandox.ramos.frayle> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | jose.perez.carranza, ross.burton |
| Version: | unspecified | ||
| Target Milestone: | 2.3 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
Merged in oe-core 6b9dd7a589537b12da648be50298cf7d36461797. verifyed, tested in commit:381897c64069ea43d595380a3ae913bcc79cf7e1
$ runqemu -h
Usage: you can run this script with any valid combination
of the following environment variables (in any order):
KERNEL - the kernel image file to use
ROOTFS - the rootfs image file or nfsroot directory to use
MACHINE - the machine name (optional, autodetected from KERNEL filename if unspecified)
Simplified QEMU command-line options can be passed with:
nographic - disable video console
serial - enable a serial console on /dev/ttyS0
slirp - enable user networking, no root privileges is required
kvm - enable KVM when running x86/x86_64 (VT-capable CPU required)
kvm-vhost - enable KVM with vhost when running x86/x86_64 (VT-capable CPU required)
publicvnc - enable a VNC server open to all hosts
audio - enable audio
[*/]ovmf* - OVMF firmware file or base name for booting with UEFI
tcpserial=<port> - specify tcp serial port number
biosdir=<dir> - specify custom bios dir
biosfilename=<filename> - specify bios filename
qemuparams=<xyz> - specify custom parameters to QEMU
bootparams=<xyz> - specify custom kernel parameters during boot
help, -h, --help: print this text
Examples:
runqemu
runqemu qemuarm
runqemu tmp/deploy/images/qemuarm
runqemu tmp/deploy/images/qemux86/<qemuboot.conf>
runqemu qemux86-64 core-image-sato ext4
runqemu qemux86-64 wic-image-minimal wic
runqemu path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial
runqemu qemux86 iso/hddimg/vmdk/qcow2/vdi/ramfs/cpio.gz...
runqemu qemux86 qemuparams="-m 256"
runqemu qemux86 bootparams="psplash=false"
runqemu path/to/<image>-<machine>.vmdk
runqemu path/to/<image>-<machine>.wic
|
> runqemu -h runqemu - INFO - Assuming MACHINE = -h runqemu - INFO - Running MACHINE=-h bitbake -e... runqemu - ERROR - /home/dl9pf/poky/build/tmp/deploy/images/-h not a directory valid DEPLOY_DIR_IMAGE runqemu - INFO - Can't find qemuboot conf file, DEPLOY_DIR_IMAGE is NULL! runqemu - INFO - Overriding conf file setting of STAGING_DIR_NATIVE to /home/dl9pf/poky/build/tmp/sysroots/x86_64-linux from Bitbake environment runqemu - INFO - Overriding conf file setting of STAGING_BINDIR_NATIVE to /home/dl9pf/poky/build/tmp/sysroots/x86_64-linux/usr/bin from Bitbake environment Traceback (most recent call last): File "/home/dl9pf/poky/scripts/runqemu", line 1019, in <module> ret = main() File "/home/dl9pf/poky/scripts/runqemu", line 1007, in main config.check_and_set() File "/home/dl9pf/poky/scripts/runqemu", line 559, in check_and_set self.check_fstype() File "/home/dl9pf/poky/scripts/runqemu", line 451, in check_fstype raise Exception("FSTYPE is NULL!") Exception: FSTYPE is NULL!