Skip to content
  • Igor Mammedov's avatar
    900c0ba3
    machine: alias -mem-path and -mem-prealloc into memory-foo backend · 900c0ba3
    Igor Mammedov authored
    
    
    Allow machine to opt in for hostmem backend based initial RAM
    even if user uses old -mem-path/prealloc options by providing
      MachineClass::default_ram_id
    Follow up patches will incrementally convert machines to new API,
    by dropping memory_region_allocate_system_memory() and setting
    default_ram_id that board used to use before conversion to keep
    migration stream the same.
    
    Signed-off-by: default avatarIgor Mammedov <imammedo@redhat.com>
    Message-Id: <20200219160953.13771-4-imammedo@redhat.com>
    900c0ba3
    machine: alias -mem-path and -mem-prealloc into memory-foo backend
    Igor Mammedov authored
    
    
    Allow machine to opt in for hostmem backend based initial RAM
    even if user uses old -mem-path/prealloc options by providing
      MachineClass::default_ram_id
    Follow up patches will incrementally convert machines to new API,
    by dropping memory_region_allocate_system_memory() and setting
    default_ram_id that board used to use before conversion to keep
    migration stream the same.
    
    Signed-off-by: default avatarIgor Mammedov <imammedo@redhat.com>
    Message-Id: <20200219160953.13771-4-imammedo@redhat.com>
Loading