<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10941</bug_id>
          
          <creation_ts>2017-01-18 17:51:04 +0000</creation_ts>
          <short_desc>runqemu -h   or  runqemu --help throw error</short_desc>
          <delta_ts>2017-05-05 22:52:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jan-Simon Moeller">dl9pf</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Juan Ramos">juan.fernandox.ramos.frayle</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69893</commentid>
    <comment_count>0</comment_count>
    <who name="Jan-Simon Moeller">dl9pf</who>
    <bug_when>2017-01-18 17:51:04 +0000</bug_when>
    <thetext>&gt; 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&apos;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 &quot;/home/dl9pf/poky/scripts/runqemu&quot;, line 1019, in &lt;module&gt;
    ret = main()
  File &quot;/home/dl9pf/poky/scripts/runqemu&quot;, line 1007, in main
    config.check_and_set()
  File &quot;/home/dl9pf/poky/scripts/runqemu&quot;, line 559, in check_and_set
    self.check_fstype()
  File &quot;/home/dl9pf/poky/scripts/runqemu&quot;, line 451, in check_fstype
    raise Exception(&quot;FSTYPE is NULL!&quot;)
Exception: FSTYPE is NULL!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71461</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-03-20 17:33:54 +0000</bug_when>
    <thetext>Merged in oe-core 6b9dd7a589537b12da648be50298cf7d36461797.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73093</commentid>
    <comment_count>2</comment_count>
    <who name="Juan Ramos">juan.fernandox.ramos.frayle</who>
    <bug_when>2017-05-05 22:52:03 +0000</bug_when>
    <thetext>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=&lt;port&gt; - specify tcp serial port number
  biosdir=&lt;dir&gt; - specify custom bios dir
  biosfilename=&lt;filename&gt; - specify bios filename
  qemuparams=&lt;xyz&gt; - specify custom parameters to QEMU
  bootparams=&lt;xyz&gt; - 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/&lt;qemuboot.conf&gt;
  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=&quot;-m 256&quot;
  runqemu qemux86 bootparams=&quot;psplash=false&quot;
  runqemu path/to/&lt;image&gt;-&lt;machine&gt;.vmdk
  runqemu path/to/&lt;image&gt;-&lt;machine&gt;.wic</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>