Hi David, On 10/4/18 2:02 PM, David Hildenbrand wrote: >>>> Alternative to have a split model is having a floating RAM base for a >>>> contiguous initial + device memory (contiguity actually depends on >>>> initial RAM size alignment too). This requires significant changes in FW >>>> and also potentially impacts the legacy virt address map as we need to >>>> pass the RAM floating base address in some way (using an SRAM at 1GB) or >>>> using fw_cfg. Is it worth the effort? Also, Peter/Laszlo mentioned their >>>> reluctance to move the RAM earlier >>> Drew is working on it, lets see outcome first. >>> >>> We actually may try implement single region that uses pc-dimm for >>> all memory (including initial) and be still compatible with legacy layout >>> as far as legacy mode sticks to the current RAM limit and device memory >>> region is put at the current RAM base. >>> When flexible RAM base is available, we will move that region to >>> non legacy layout at 2TB (or wherever). >> >> Oh I did not understand you wanted to also replace the initial memory by >> device memory. So we would switch from a pure static initial RAM setup >> to a pure dynamic device memory setup. Looks quite drastic a change to >> me. As mentionned I am concerned about complexifying the qemu cmd line >> and I asked livirt guys about the induced pain. > > One idea was to create internal memory devices (e.g. "memory chip") that > get created and placed automatically in guest physical address space. > These devices would not require a change on the cmdline, they would be > created automatically from the existing parameters. > > The machine device memory region would than be one big region for both, > internal memory devices and external ("plugged") memory devices a.k.a. > dimms. > > I guess that will require more work to be done.
OK interesting. Yes this adds some more work on the pile ... Thanks Eric > >> >> Thank you for your feedbacks >> >> Eric > >