summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorNikunj A Dadhania2015-05-07 07:33:57 +0200
committerAlexander Graf2015-06-03 23:56:55 +0200
commit076b35b5a56bca57c4aa41044ed304fe9c45d6c5 (patch)
tree63c490a27907a8d0f055aa5c0578ad6340a980d4 /include/exec
parentspapr_pci: emit hotplug add/remove events during hotplug (diff)
downloadqemu-076b35b5a56bca57c4aa41044ed304fe9c45d6c5.tar.gz
qemu-076b35b5a56bca57c4aa41044ed304fe9c45d6c5.tar.xz
qemu-076b35b5a56bca57c4aa41044ed304fe9c45d6c5.zip
machine: add default_ram_size to machine class
Machines types can have different requirement for default ram size. Introduce a member in the machine class and set the current default_ram_size to 128MB. For QEMUMachine types override the value during the registration of the machine and for MachineClass introduce the generic class init setting the default_ram_size. Add helpers [K,M,G,T,P,E]_BYTE for better readability and easy usage Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions