mirror of
https://github.com/mborgerson/xemu.git
synced 2025-12-01 16:10:01 +00:00
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>
This commit is contained in:
committed by
Michael S. Tsirkin
parent
d03637bcfb
commit
39164c136c
@ -801,6 +801,20 @@ STEXI
|
||||
Show information about hotpluggable CPUs
|
||||
ETEXI
|
||||
|
||||
STEXI
|
||||
@item info vm-generation-id
|
||||
@findex vm-generation-id
|
||||
Show Virtual Machine Generation ID
|
||||
ETEXI
|
||||
|
||||
{
|
||||
.name = "vm-generation-id",
|
||||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "Show Virtual Machine Generation ID",
|
||||
.cmd = hmp_info_vm_generation_id,
|
||||
},
|
||||
|
||||
STEXI
|
||||
@end table
|
||||
ETEXI
|
||||
|
||||
Reference in New Issue
Block a user