<?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>10211</bug_id>
          
          <creation_ts>2016-09-02 16:04:02 +0000</creation_ts>
          <short_desc>New runqemu makes it harder to use on hosts other than the build machine</short_desc>
          <delta_ts>2016-09-09 12:49:50 +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.2</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.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>ross.burton</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>65772</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-02 16:04:02 +0000</bug_when>
    <thetext>I&apos;ve long used the patter of performing builds on a powerful headless build machine, then copying artefacts to my laptop in order to test them with runqemu.

Unfortunately with the new runqemu this is broken and I can&apos;t just `runqemu /path/to/kernel /path/to/image` as I used to.

Even if I copy the extra *.qemuboot.conf artefact I can&apos;t simply pass that to runqemu, I have to edit the configuration file to change the hardcoded paths from subdirectories of TMPDIR on the buildhost to the relevant paths on my laptop.

We should support running images on machines other than the build host more easily, this could be either

a) writing TMPDIR to the conf file and creating other paths relative to that
b) massaging paths to be relative to the .conf file when a conf file is loaded

We also need to make sure the new runqemu is fully documented so that any surprises are covered in the migration guide.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65779</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-02 22:22:14 +0000</bug_when>
    <thetext>I have some lightly tested changes locally to resolve this. Will test further, clean up and submit on Monday.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65781</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-09-03 02:44:33 +0000</bug_when>
    <thetext>Hi Joshua:

Did you try something like:

$ cp tmp/deploy/images/qemux86/ /tmp/mymachine -r
$ runqemu /tmp/mymachine/

It works well for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65822</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-06 10:18:43 +0000</bug_when>
    <thetext>Patches submitted: http://lists.openembedded.org/pipermail/openembedded-core/2016-September/126162.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65991</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-09 12:49:50 +0000</bug_when>
    <thetext>Fixed in OE-Core/Poky master.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>