<?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>14778</bug_id>
          
          <creation_ts>2022-04-08 10:10:42 +0000</creation_ts>
          <short_desc>When running qemu qemux86-64 with 4GB of memory, only 2GB are accessible in the image</short_desc>
          <delta_ts>2022-04-12 12:05:57 +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>3.4.3</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>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matthias Schoepfer">matthias.schoepfer</reporter>
          <assigned_to name="Anuj Mittal">anuj.mittal</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>92960</commentid>
    <comment_count>0</comment_count>
    <who name="Matthias Schoepfer">matthias.schoepfer</who>
    <bug_when>2022-04-08 10:10:42 +0000</bug_when>
    <thetext>Using latest honister (3.4.3), when I bitbake core-image-minimal and run qemu with:
runqemu qemux86-64 qemuparams=&quot;-m 4096&quot; core-image-minimal
the VM will only have access to 2GB of memory:

root@qemux86-64:~# free -m
              total        used        free      shared  buff/cache   available
Mem:        2032708       43564     1970920         228       18224     1962316
Swap:             0           0           0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93002</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-04-12 08:45:56 +0000</bug_when>
    <thetext>I think this may be fixed with https://git.yoctoproject.org/poky/commit/?id=d38868cfff2f4be2bc9e44951b01785b142d91e4 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93005</commentid>
    <comment_count>2</comment_count>
    <who name="Matthias Schoepfer">matthias.schoepfer</who>
    <bug_when>2022-04-12 12:05:57 +0000</bug_when>
    <thetext>I can confirm that applying this commit fixes the issue. 

Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>