<?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>13466</bug_id>
          
          <creation_ts>2019-08-01 15:52:07 +0000</creation_ts>
          <short_desc>qemu machines use Cirrus graphics, should use std or virtio</short_desc>
          <delta_ts>2019-10-24 14:57:17 +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>0.0.0</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.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Kevin Hao">kexin.hao</assigned_to>
          <cc>akuster</cc>
    
    <cc>alex.kanavin</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>84568</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-08-01 15:52:07 +0000</bug_when>
    <thetext>Some qemu machines use Cirrus graphics which is TERRIBLE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84569</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-08-01 16:24:51 +0000</bug_when>
    <thetext>Some context: https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/

That predates virtio drivers.

Plan:
1) Unify all boards to at least -vga=std, remove cirrus driver from oe-core.  Needs CONFIG_DRM_BOCHS in the kernel.
2) See if virtio works, enable drivers on all platforms, use that.
3) If (2) fails, try vmware on platforms where vmware fails</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84570</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-08-01 18:23:58 +0000</bug_when>
    <thetext>Some incomplete prior art at poky-contrib:ross/virtio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84577</commentid>
    <comment_count>3</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2019-08-02 12:44:48 +0000</bug_when>
    <thetext>+1 from me: let&apos;s standardize on virtio (you do not need working virgl to have it).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84608</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2019-08-08 14:38:56 +0000</bug_when>
    <thetext>Kevin, If you could do this before M3, that would be great. Let us know your plans and availability.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84641</commentid>
    <comment_count>5</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2019-08-12 15:44:44 +0000</bug_when>
    <thetext>Patch for step 1 sent:
https://lists.yoctoproject.org/pipermail/linux-yocto/2019-August/007877.html

Note that this enables bochs for qemux86(-64); it is already enabled for qemuarm(64) and qemurisc(32/64).

Once this merges and propagates to oe-core, we can drop the vmware/cirrus stuff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84642</commentid>
    <comment_count>6</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2019-08-12 15:47:47 +0000</bug_when>
    <thetext>To clarify, that is a patch only for the kernel module enabling (CONFIG_DRM_BOCHS). Unifying drivers and cleanup still to do (once we are able to test the bochs).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84663</commentid>
    <comment_count>7</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2019-08-14 10:43:10 +0000</bug_when>
    <thetext>My apologies, but it is rather impolite to re-assign the task to someone else without asking them first, even if they did some work towards resolving it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85409</commentid>
    <comment_count>8</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-21 15:09:37 +0000</bug_when>
    <thetext>isn&apos;t this fixed now ?
https://git.openembedded.org/openembedded-core/commit/scripts?h=zeus&amp;id=73cb104f3307736f4922f2e0c9648f9b2d3b3b6b

also the kernal fragments went is too.

https://git.openembedded.org/openembedded-core/commit/meta/recipes-kernel/linux?h=zeus&amp;id=a777e0f34e106455f963bd58fd8728a16c588c4d

https://git.openembedded.org/openembedded-core/commit/meta/recipes-kernel/linux?h=zeus&amp;id=569d3f5d0454ed31f2f6df29f1703246a3dcd715</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85410</commentid>
    <comment_count>9</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-21 15:10:08 +0000</bug_when>
    <thetext>it in zeus for sure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85411</commentid>
    <comment_count>10</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2019-10-21 15:27:38 +0000</bug_when>
    <thetext>This is up to Ross, I am not sure what else could be done really.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85433</commentid>
    <comment_count>11</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-10-24 14:56:31 +0000</bug_when>
    <thetext>Final piece: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=58e85c60cd15cf4c0b47cddcf507543461c1a328</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85434</commentid>
    <comment_count>12</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-10-24 14:57:17 +0000</bug_when>
    <thetext>Given the above commit, issue resolved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>