]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
vl.c: extend -m option to support options for memory hotplug
authorIgor Mammedov <imammedo@redhat.com>
Mon, 2 Jun 2014 13:25:02 +0000 (15:25 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 13:41:46 +0000 (16:41 +0300)
commitc270fb9eff1290e8a4a49040eba1305fec2ce0ec
tree4975fca3d6ce74d0fb405e4907bcaf23bc1435ee
parent1f07048933d9c21acb40bce18af4f3ad6bae59b6
vl.c: extend -m option to support options for memory hotplug

Add following parameters:
  "slots" - total number of hotplug memory slots
  "maxmem" - maximum possible memory

"slots" and "maxmem" should go in pair and "maxmem" should be greater
than "mem" for memory hotplug to be enabled.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
MST: fix build on 32 bit
include/hw/boards.h
qemu-options.hx
vl.c