From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xx9ky-0004bg-Tm for qemu-devel@nongnu.org; Sat, 06 Dec 2014 02:26:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xx9ks-0007Gz-Ol for qemu-devel@nongnu.org; Sat, 06 Dec 2014 02:26:20 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:50277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xx9ks-0007GH-1L for qemu-devel@nongnu.org; Sat, 06 Dec 2014 02:26:14 -0500 From: zhanghailiang Date: Sat, 6 Dec 2014 14:59:13 +0800 Message-ID: <1417849159-6568-1-git-send-email-zhang.zhanghailiang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH RFC for-2.3 0/6] qga: add three logical memory hotplug related commands List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: zhanghailiang , mdroth@linux.vnet.ibm.com, peter.huangpeng@huawei.com Hi, This patch series add three guest commands about memory block: guest-get-memory-blocks, guest-set-memory-blocks, guest-get-memory-block-size. With these three commands, we can get information about guest's memory block online/offline status and memory block size (unit of memory online/offline operation ). Also, we can change guest's memory block status (Logical memory hotplug/unplug) from host. zhanghailiang (6): qga: introduce three guest memory block commands with stubs qga: introduce three help functions for memory block functions qga: implement qmp_guest_get_memory_blocks() for Linux with sysfs qga: implement qmp_guest_set_memory_blocks() for Linux with sysfs qga: implement qmp_guest_get_memory_block_size() for Linux with sysfs qga: add memory block command that unsupported to blacklist qga/commands-posix.c | 266 ++++++++++++++++++++++++++++++++++++++++++++++++++- qga/commands-win32.c | 21 ++++ qga/qapi-schema.json | 88 +++++++++++++++++ 3 files changed, 374 insertions(+), 1 deletion(-) -- 1.7.12.4