Received: from eggs.gnu.org ([2001:4830:134:3::10]:41058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cePcl-0006jI-5r for qemu-devel@nongnu.org; Thu, 16 Feb 2017 12:13:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cePch-0006vk-JD for qemu-devel@nongnu.org; Thu, 16 Feb 2017 12:13:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47024) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cePch-0006v6-Cx for qemu-devel@nongnu.org; Thu, 16 Feb 2017 12:13:39 -0500 References: From: Laszlo Ersek Message-ID: <3221aceb-1400-d37d-bbda-923f464bc405@redhat.com> Date: Thu, 16 Feb 2017 18:13:36 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v7 5/8] qmp/hmp: add query-vm-generation-id and 'info vm-generation-id' commands List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ben@skyportsystems.com, qemu-devel@nongnu.org Cc: mst@redhat.com, imammedo@redhat.com On 02/16/17 07:18, ben@skyportsystems.com wrote: > From: Igor Mammedov > > Add commands to query Virtual Machine Generation ID counter. > > QMP command example: > { "execute": "query-vm-generation-id" } > > HMP command example: > info vm-generation-id > > Signed-off-by: Igor Mammedov > Reviewed-by: Eric Blake > Signed-off-by: Ben Warren > Reviewed-by: Laszlo Ersek > --- > hmp-commands-info.hx | 14 ++++++++++++++ > hmp.c | 9 +++++++++ > hmp.h | 1 + > hw/acpi/vmgenid.c | 16 ++++++++++++++++ > qapi-schema.json | 20 ++++++++++++++++++++ > stubs/Makefile.objs | 1 + > stubs/vmgenid.c | 9 +++++++++ > 7 files changed, 70 insertions(+) > create mode 100644 stubs/vmgenid.c I tested the "info vm-generation-id" command via HMP. Tested-by: Laszlo Ersek Thanks, Laszlo