]> git.proxmox.com Git - mirror_qemu.git/commit - hmp.c
qmp/hmp: add query-vm-generation-id and 'info vm-generation-id' commands
authorIgor Mammedov <imammedo@redhat.com>
Thu, 16 Feb 2017 23:15:37 +0000 (15:15 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Mar 2017 05:14:27 +0000 (07:14 +0200)
commit39164c136cbab57385e15297423fe85ef386c76f
tree2d52a76ea6c341d17964a07cdf00e2e5d33ca40e
parentd03637bcfbc1ba0cf1f07568d379af6e80120474
qmp/hmp: add query-vm-generation-id and 'info vm-generation-id' commands

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 <imammedo@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Ben Warren <ben@skyportsystems.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hmp-commands-info.hx
hmp.c
hmp.h
hw/acpi/vmgenid.c
qapi-schema.json
stubs/Makefile.objs
stubs/vmgenid.c [new file with mode: 0644]