qga: implement qmp_guest_get_memory_block_info() for Linux with sysfs
commitef82b60be13b18198b84a2157f59c50fd53f5408
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Thu, 22 Jan 2015 02:40:05 +0000 (22 10:40 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 17 Feb 2015 22:20:10 +0000 (17 16:20 -0600)
tree940b4484c2eb9bd3a4d295aaf73e8d713cbf7632
parent32ca7927c7d66371abafb4cabfab9438a5905784
qga: implement qmp_guest_get_memory_block_info() for Linux with sysfs

This conveys general information about guest memory blocks. Currently,
just the memory block size.

The size of a memory block is architecture dependent, it represents the logical
unit upon which memory online/offline operations are to be performed.

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