<?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>2970</bug_id>
          
          <creation_ts>2012-08-20 11:27:17 +0000</creation_ts>
          <short_desc>kvm not enabled with qemu</short_desc>
          <delta_ts>2012-09-20 21:22:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>1.3</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laurentiu Serban">laurentiu.serban</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>scott.a.garman</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</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>24221</commentid>
    <comment_count>0</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-20 11:27:17 +0000</bug_when>
    <thetext>The following error occurs when trying to run qemu with kvm.
Although the condition required is met.

lserban@computer2:~/work/master/build$ runqemu tmp/deploy/images/bzImage-qemux86.bin tmp/deploy/images/core-image-sato-qemux86-20120819235319.rootfs.btrfs kvm
KVM only support x86 &amp; x86-64. Remove kvm from the command-line
lserban@computer2:~/work/master/build$ lsmod | grep kvm
kvm_intel             137721  0
kvm                   415459  1 kvm_intel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24303</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-08-21 20:45:49 +0000</bug_when>
    <thetext>Does this also happen with ext3 images?  I notice this is a btrfs image, I am building a btrfs image also to test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24305</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-08-21 22:54:01 +0000</bug_when>
    <thetext>I also tested with a btrfs image and it works for me.I am going to close this one, if there is a real problem, please provide more details.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24387</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2012-08-23 08:15:09 +0000</bug_when>
    <thetext>Tested on 1.3_M3.rc2 tag with ext3 image and the error is still encountered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24421</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-08-23 20:45:45 +0000</bug_when>
    <thetext>Ok, I see the problem now!  It&apos;s really a runqemu issue not parsing MACHINE, you missed putting qemux86 on the runqemu command

runqemu tmp/deploy/images/bzImage-qemux86.bin tmp/deploy/images/core-image-sato-qemux86-20120819235319.rootfs.btrfs kvm

It should be 

runqemu qemux86 tmp/deploy/images/bzImage-qemux86.bin tmp/deploy/images/core-image-sato-qemux86-20120819235319.rootfs.btrfs kvm

The check for a blank machine and parsing of the kernel comes AFTER the kvm check, should be a straight forward fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24505</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-08-27 18:40:29 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c9669451aac820d5d18f6ad237b60516c2172d1f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25499</commentid>
    <comment_count>6</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-09-20 21:22:46 +0000</bug_when>
    <thetext>Verified in commit id 8ebed883d45ee952bd89d2143e0b0ab8736049b0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>