<?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>12503</bug_id>
          
          <creation_ts>2018-01-19 03:01:36 +0000</creation_ts>
          <short_desc>runqemu: use qemuboot.json to replace qemuboot.conf</short_desc>
          <delta_ts>2021-03-12 00:17:26 +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>core</component>
          <version>2.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>NEWCOMER</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>3.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="New Comer Bugs">newcomer</assigned_to>
          <cc>champagne.guillaume.c</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>79158</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2018-01-19 03:01:36 +0000</bug_when>
    <thetext>The qemuboot.conf uses configparser which can&apos;t suport upper case as key, and json is more clearer than configparser and is widely used in oe-core, so use qemuboot.json to replace qemuboot.conf.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88911</commentid>
    <comment_count>1</comment_count>
    <who name="Guillaume Champagne">champagne.guillaume.c</who>
    <bug_when>2021-01-12 04:01:41 +0000</bug_when>
    <thetext>Hi Robert, I&apos;m willing to make this change if no one is currently implementing it.

Should backward compatibility be kept with qemuboot.conf? `runqemu` seems to accept qemuboot.conf configuration files as an argument, so is changing this to support only json configuration files considered a breaking change (or is that not a major concern?). Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89596</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-03-11 17:32:54 +0000</bug_when>
    <thetext>Guillaume, thanks. If no one responds here, try sending an RFC email to the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89597</commentid>
    <comment_count>3</comment_count>
    <who name="Guillaume Champagne">champagne.guillaume.c</who>
    <bug_when>2021-03-11 17:50:41 +0000</bug_when>
    <thetext>Hi Randy, thank you for your answer.

I ended up sending an RFC on the mailing list a month ago, but it seems that this bugzilla report was not answering to any real world need, so the discussion ended there: https://lists.openembedded.org/g/openembedded-core/topic/80577032#147978


I think this report should eventually be closed or at least removed from the newcomer bug list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89609</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-03-12 00:16:17 +0000</bug_when>
    <thetext>On the list:
https://lists.openembedded.org/g/openembedded-core/topic/80577032#147978

Ross Burton said:
&gt; I understand that you&apos;re simply fixing a newcomer bug but I just don&apos;t
&gt; see the rationale behind the bug in the first place.  Copying in
&gt; Robert for his opinion.
&gt; 
&gt; I&apos;m unaware of any real world limitations of INI files that are a
&gt; problem for runqemu.  We either break compatibility with existing
&gt; builds, or have two separate parsing codepaths in runqemu which
&gt; complicates things more (as the ini path won&apos;t get tested).
&gt; 
&gt; Ross

so I&apos;m closing this enhancement.

If there&apos;s a clear need to support qemuboot.json, please feel free to explain and re-open.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89610</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-03-12 00:17:26 +0000</bug_when>
    <thetext>Thanks to Guillaume for looking into this issue and 
poking me to close it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>