Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

[RFC] qemu: set maxmem to host memory size #336

Merged
merged 1 commit into from Aug 15, 2017
Merged

[RFC] qemu: set maxmem to host memory size #336

merged 1 commit into from Aug 15, 2017

Commits on Aug 15, 2017

  1. qemu: set maxmem to host memory size

    Setting maxmem to host memory size wouldn't change memory footprint. It
    only defines the upper bounds for memory hotplug.
    
    Currently we set maxmem to mem*1.5, which is not enough for running a
    small VM (eg. 128M) considering nvdimm device consumes memory address
    space.
    
    This will also allow us to do memory hotplug (maybe in the future).
    
    Fixes #337
    
    Signed-off-by: WANG Chao <chao.wang@ucloud.cn>
    wcwxyz committed Aug 15, 2017
    Copy the full SHA
    d0bb122 View commit details
    Browse the repository at this point in the history