<?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>2025</bug_id>
          
          <creation_ts>2012-02-22 15:26:59 +0000</creation_ts>
          <short_desc>runqemu scripts should attempt sane defaults for unknown machines</short_desc>
          <delta_ts>2023-03-30 15:24:05 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard> </status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jon.mason</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>scott.a.garman</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18713</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-02-22 15:26:59 +0000</bug_when>
    <thetext>When building for certain real machines, it can still useful to test the results in qemu. Currently, runqemu and runqemu-internal must have several things specified for every machine, and if not, abort with an error.

Instead, it would be nice if it would at least attempt to run with sane defaults:

FS=ext3
KERNEL={bzImage,uImage,etc.}-$MACHINE.bin

The qemu${ARCH} might be guessable from the KERNEL image, and if not, an ARCH= option might be a reasonable addition.

As for the QEMUOPTIONS, perhaps a serial port for output rather than VGA if that is easier to deal with.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74428</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-06-21 07:36:31 +0000</bug_when>
    <thetext>This should in theory be easier with the newly rewritten runqemu that uses the QB_* variables - we could presumably set defaults for these on a per-architecture basis.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95242</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-03-30 15:24:05 +0000</bug_when>
    <thetext>We could guess about this required options but we could easily be wrong.
Better to be deterministic.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>