<?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>11542</bug_id>
          
          <creation_ts>2017-05-18 18:10:27 +0000</creation_ts>
          <short_desc>runqemu does not display the error text from qemu-system-XXX when qemu-system-XXX fails to run</short_desc>
          <delta_ts>2017-06-06 09:47:16 +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>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73362</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-05-18 18:10:27 +0000</bug_when>
    <thetext>For example if I run 
$ runqemu ../vmlinux.bin-qemumips64.bin ../core-image-sato-sdk-qemumips64.ext4

I get :
Traceback (most recent call last):
  File &quot;/big/src/myBugs/poky/scripts/runqemu&quot;, line 1238, in &lt;module&gt;
    ret = main()
  File &quot;/big/src/myBugs/poky/scripts/runqemu&quot;, line 1231, in main
    config.start_qemu()
  File &quot;/big/src/myBugs/poky/scripts/runqemu&quot;, line 1142, in start_qemu
    raise Exception(&apos;Failed to run %s&apos; % cmd)

But, if you actually run the /qemu-system-mips64 command, you see:
qemu: could not load kernel &apos;/big/src/myBugs/CH_HUAT/vmlinux.bin-qemumips64.bin&apos;


which is quite a bit more helpful.


runqemu should capture and print out stdout/stderr from qemu-system-XXX when it fails and print it out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73528</commentid>
    <comment_count>1</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-05-26 11:40:37 +0000</bug_when>
    <thetext>Should be fixed by this patch: http://lists.openembedded.org/pipermail/openembedded-core/2017-May/137169.html

please, review</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73729</commentid>
    <comment_count>2</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-06-06 09:47:16 +0000</bug_when>
    <thetext>the fix has been merged to poky master: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e680f23c8b644051486c21d77442190ec80494de</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>