]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
vl: convert -m to QemuOpts
authorIgor Mammedov <imammedo@redhat.com>
Wed, 27 Nov 2013 00:27:35 +0000 (01:27 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 27 Apr 2014 09:04:18 +0000 (13:04 +0400)
commit6e1d3c1c855818a6d1399698572afae0d11b872b
tree2baa7cc25376a90637643f7660d941353bb467b2
parente96e5ae880f0e5d4d372264e2a5cb91cba40f771
vl: convert -m to QemuOpts

Adds option to -m
 "size" - startup memory amount

For compatibility with legacy CLI if suffix-less number is passed,
it assumes amount in Mb.

Otherwise user is free to use suffixed number using suffixes b,k/K,M,G

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qemu-options.hx
vl.c