From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz0nk-00048Y-Jm for qemu-devel@nongnu.org; Thu, 11 Dec 2014 05:16:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz0ne-00086N-Ej for qemu-devel@nongnu.org; Thu, 11 Dec 2014 05:16:52 -0500 Received: from szxga01-in.huawei.com ([119.145.14.64]:61272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz0nd-00085l-Ns for qemu-devel@nongnu.org; Thu, 11 Dec 2014 05:16:46 -0500 Message-ID: <54896F00.2050402@huawei.com> Date: Thu, 11 Dec 2014 18:16:32 +0800 From: zhanghailiang MIME-Version: 1.0 References: <1417849159-6568-1-git-send-email-zhang.zhanghailiang@huawei.com> In-Reply-To: <1417849159-6568-1-git-send-email-zhang.zhanghailiang@huawei.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [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: mdroth@linux.vnet.ibm.com, peter.huangpeng@huawei.com Ping... ;) On 2014/12/6 14:59, zhanghailiang wrote: > 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(-) >