kvm: kvmctl: allow memory to be specified in kvmctl (v2)
commit73ae2609cc4ccbc8329de1df2fdc7b3bd37bc5c6
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Oct 2007 20:03:46 +0000 (10 15:03 -0500)
committerAvi Kivity <avi@qumranet.com>
Thu, 11 Oct 2007 11:24:01 +0000 (11 13:24 +0200)
tree9d4c1cdbd875d8f3130823c1d89e75689372c745
parent0da52bdce92b192dc620bd5854405505082fd5ef
kvm: kvmctl: allow memory to be specified in kvmctl (v2)

This patch adds a --memory option to kvmctl to allow the memory size of the
guest to be specified.

Since v1, I added more checks for bad input as suggested by Muli.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
kvm/user/main.c