<?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>8691</bug_id>
          
          <creation_ts>2015-11-13 13:55:44 +0000</creation_ts>
          <short_desc>Allow runqemu to start with a raw disk</short_desc>
          <delta_ts>2016-02-18 16:11:00 +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>deployment</component>
          <version>2.1</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>enhancement</bug_severity>
          <target_milestone>2.1 M2</target_milestone>
          
          <blocked>8498</blocked>
    
    <blocked>8499</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Istrate">daniel.alexandrux.istrate</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bill.randle</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>eduard.bartosh</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Daniel Istrate">daniel.alexandrux.istrate</qa_contact>
          <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>56464</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-11-13 13:55:44 +0000</bug_when>
    <thetext>Hi,

Runqemu should be able to start with a raw disk (like one created with wic).

Some of the parameters runqemu is using right now, like sysroot, kernel, ip are no longer needed as they are included in the raw disk.
The mechanism that handles qemu machines IPs should also be updated to allow multiple qemu machines running at the same time.


$ wic create qemux86-directdisk -e core-image-minimal -o wic-img/
Checking basic build environment...
Done.

Creating image(s)...

Info: The new image(s) can be found here:
  wic-img/build/qemux86-directdisk-201511131543-sda.direct

The following build artifacts were used to create the image(s):
  ROOTFS_DIR:                   /media/ssd/poky-build2/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs
  BOOTIMG_DIR:                  /media/ssd/poky-build2/tmp/sysroots/qemux86/usr/share
  KERNEL_DIR:                   /media/ssd/poky-build2/tmp/deploy/images/qemux86
  NATIVE_SYSROOT:               /media/ssd/poky-build2/tmp/sysroots/x86_64-linux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57089</commentid>
    <comment_count>1</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2015-12-07 15:11:49 +0000</bug_when>
    <thetext>Investigation started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57361</commentid>
    <comment_count>2</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2015-12-17 18:36:47 +0000</bug_when>
    <thetext>Implementation started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57362</commentid>
    <comment_count>3</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2015-12-17 18:37:11 +0000</bug_when>
    <thetext>Testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58417</commentid>
    <comment_count>4</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-02-02 09:42:45 +0000</bug_when>
    <thetext>Fix has been sent for review: http://lists.openembedded.org/pipermail/openembedded-core/2016-February/116626.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58465</commentid>
    <comment_count>5</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-02-02 17:46:00 +0000</bug_when>
    <thetext>sent v2 for review: http://lists.openembedded.org/pipermail/openembedded-core/2016-February/116714.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58981</commentid>
    <comment_count>6</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-02-13 11:15:08 +0000</bug_when>
    <thetext>sent v3 for review: http://lists.openembedded.org/pipermail/openembedded-core/2016-February/117492.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59216</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-02-18 16:11:00 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c26a9c3afd248a92db86fff09e97ef3ae662e430</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>