qga: implement qmp_guest_set_memory_blocks() for Linux with sysfs
commit32ca7927c7d66371abafb4cabfab9438a5905784
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Thu, 22 Jan 2015 02:40:04 +0000 (22 10:40 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 17 Feb 2015 22:16:40 +0000 (17 16:16 -0600)
tree142d7994e71011f4fba1e6d7e73a8c1a02b5f576
parentbd240fca42d5f072fb758a71720d9de9990ac553
qga: implement qmp_guest_set_memory_blocks() for Linux with sysfs

We can change guest's online/offline state of memory blocks, by using
command 'guest-set-memory-blocks'.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-posix.c