From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1Aoh-0005cn-Ch for qemu-devel@nongnu.org; Wed, 17 Dec 2014 04:22:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1Aob-0006iA-7z for qemu-devel@nongnu.org; Wed, 17 Dec 2014 04:22:47 -0500 Received: from szxga01-in.huawei.com ([119.145.14.64]:27221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1Aoa-0006fc-Lo for qemu-devel@nongnu.org; Wed, 17 Dec 2014 04:22:41 -0500 Message-ID: <54914B48.4070208@huawei.com> Date: Wed, 17 Dec 2014 17:22:16 +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: hangaohuai@huawei.com, lersek@redhat.com, Yan Vugenfirer , mdroth@linux.vnet.ibm.com, "lcapitulino@redhat.com" , Igor Mammedov , peter.huangpeng@huawei.com Ping again... Any comments are warmly welcome! Thanks. 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(-) >