qga: introduce three guest memory block commmands with stubs
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Thu, 22 Jan 2015 02:40:02 +0000 (10:40 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 17 Feb 2015 22:15:30 +0000 (16:15 -0600)
commita065aaa9204ecd4a0d18f5eae49aa350a5f76b63
tree4dbee168ae97693db3f103fc94d4676072fe60f9
parentfa193594fbc27fde7c9062b3bf5c232534887ec7
qga: introduce three guest memory block commmands with stubs

Introduce three new guest commands:
guest-get-memory-blocks, guest-set-memory-blocks, guest-get-memory-block-size.

With these three commands, we can support online/offline guest's memory block
(logical memory hotplug/unplug) as required from host.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
*generalized guest-get-memory-block-size to get-get-memory-block-info
 for future extensibility

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-posix.c
qga/commands-win32.c
qga/qapi-schema.json