<?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>13230</bug_id>
          
          <creation_ts>2019-03-18 19:53:40 +0000</creation_ts>
          <short_desc>Switch qemuarm (another others) to virtio graphics</short_desc>
          <delta_ts>2021-09-21 14:45:19 +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>virtual machines</component>
          <version>2.7</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>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jon Mason">jon.mason</reporter>
          <assigned_to name="Jon Mason">jon.mason</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>ndec13</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sakib.sajal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83292</commentid>
    <comment_count>0</comment_count>
    <who name="Jon Mason">jon.mason</who>
    <bug_when>2019-03-18 19:53:40 +0000</bug_when>
    <thetext>Currently, qemuarm and qemuarm64 are using Bochs graphics (aka, VGA) for the graphics hardware being emulated by the virtual machine.  Optimally, this should be virtio graphics.  However, this does not appear to be functional.  More investigation needs to be done to determine the cause of the issue, and replace the Bocks with Virtio.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86926</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2020-04-07 14:52:33 +0000</bug_when>
    <thetext>To me the reason is pretty clear: qemu upstream doesn&apos;t have virtio available in arm/arm64:

ak@linux-f9zs:~/development/poky/build&gt; tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-aarch64 -machine virt -vga help
none                 no graphic card
std                  standard VGA
cirrus               Cirrus VGA (default)
vmware               VMWare SVGA
xenfb                Xen paravirtualized framebuffer


ak@linux-f9zs:~/development/poky/build&gt; tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-arm -machine virt -vga help
none                 no graphic card
std                  standard VGA
cirrus               Cirrus VGA (default)
vmware               VMWare SVGA
xenfb                Xen paravirtualized framebuffer

While in x86_64:

ak@linux-f9zs:~/development/poky/build&gt; tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -vga help
none                 no graphic card
std                  standard VGA (default)
cirrus               Cirrus VGA
vmware               VMWare SVGA
xenfb                Xen paravirtualized framebuffer
virtio               Virtio VGA</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91455</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-09-16 15:07:29 +0000</bug_when>
    <thetext>Jon to check whether this is possible and status upstream</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91467</commentid>
    <comment_count>3</comment_count>
    <who name="Jon Mason">jon.mason</who>
    <bug_when>2021-09-17 13:22:02 +0000</bug_when>
    <thetext>virtio-vga has been deprcated.  See https://github.com/qemu/qemu/commit/938912a866114deb5660c93907a80635b16e5807

However, the correct current usage is virtio-gpu.  This should be done properly for qemuarm, qemuarm64, and qemuarmv5 in https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=master-next&amp;id=cf2e1ee9c6d70058cbab9ef21b390b43f23bd123</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91487</commentid>
    <comment_count>4</comment_count>
    <who name="Jon Mason">jon.mason</who>
    <bug_when>2021-09-21 14:45:19 +0000</bug_when>
    <thetext>Patch to resolve now in master branch</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>