<?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>2550</bug_id>
          
          <creation_ts>2012-06-06 12:51:38 +0000</creation_ts>
          <short_desc>Add &quot;kvm&quot; machine for running virtualised</short_desc>
          <delta_ts>2012-09-25 13:22:36 +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>1.1.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>a69b5e1eae58618bb92f3f03c8727ae7462d2d26, 79947f1eb9f695c374ba63672f94deaa1de75561, a69b5e1eae58618bb92f3f03c8727ae7462d2d26, ebe1f9f7cf1fa63683bcd2bf21e809588780b1d9</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Cristian Iorga">cristian.iorga</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>21889</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-06-06 12:51:38 +0000</bug_when>
    <thetext>A KVM machine type, similar to qemux86 but with with virtio drivers, the right drivers when virtio isn&apos;t available, other tweaks and the guest tools for X would be great.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21909</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-06-07 07:44:43 +0000</bug_when>
    <thetext>This might be similar to adding the guest drivers for the Build Appliance</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24338</commentid>
    <comment_count>2</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2012-08-22 14:10:47 +0000</bug_when>
    <thetext>Started investigation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24443</commentid>
    <comment_count>3</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2012-08-24 09:47:18 +0000</bug_when>
    <thetext>The net result of this bug will be a new machine called qemux86kvm.
qemux86kvm will run under QEMU with KVM enabled.
KVM necessitates from the host system a HW virtualization feature present in the CPU (VT-x for Intel, AMD-V for AMD).
Being that KVM is a para-virtualization techology, the guest OS will now that it is running under virtualization.
In this case, the guest OS can activate the virtio tech, which relates to access to peripherals in a para-virtualized environment.
virtio will need to be activated in the guest OS kernel (Linux in our case) if KVM is activated inside QEMU.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25155</commentid>
    <comment_count>4</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2012-09-13 10:33:04 +0000</bug_when>
    <thetext>Technical solution decided, architected and tested.
Implementation still in progress, dependent upon approval of new kernel configuration fragments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25505</commentid>
    <comment_count>5</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2012-09-21 07:13:49 +0000</bug_when>
    <thetext>Patchessubmitted for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25564</commentid>
    <comment_count>6</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2012-09-24 06:53:53 +0000</bug_when>
    <thetext>Fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25605</commentid>
    <comment_count>7</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2012-09-24 14:15:57 +0000</bug_when>
    <thetext>KVM, paravirtualization and virtio drivers are now activated in runqemu using the kvm option flag for qemux86 and qemux86-64.Host CPU features are also exported to guest OS (Yocto Linux).
Usage example:
runqemu qemux86 core-image-x11 kvm
runqemu qemux86-64 core-image-x11 kvm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25662</commentid>
    <comment_count>8</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2012-09-25 10:15:10 +0000</bug_when>
    <thetext>For testing, use the following guide:
https://wiki.yoctoproject.org/wiki/Running_an_x86_Yocto_Linux_image_under_QEMU_KVM</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25687</commentid>
    <comment_count>9</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-09-25 13:22:36 +0000</bug_when>
    <thetext>Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>