2442
query-command-line-options
2443
--------------------------
2445
Show command line option schema.
2447
Return a json-array of command line option schema for all options (or for
2448
the given option), returning an error if the given option doesn't exist.
2450
Each array entry contains the following:
2452
- "option": option name (json-string)
2453
- "parameters": a json-array describes all parameters of the option:
2454
- "name": parameter name (json-string)
2455
- "type": parameter type (one of 'string', 'boolean', 'number',
2457
- "help": human readable description of the parameter
2458
(json-string, optional)
2462
-> { "execute": "query-command-line-options", "arguments": { "option": "option-rom" } }
2471
"name": "bootindex",
2475
"option": "option-rom"
2483
.name = "query-command-line-options",
2484
.args_type = "option:s?",
2485
.mhandler.cmd_new = qmp_marshal_input_query_command_line_options,
2435
2501
- Possible values: "active", "completed", "failed", "cancelled"
2436
2502
- "total-time": total amount of ms since migration started. If
2437
2503
migration has ended, it returns the total migration
2439
2505
- "downtime": only present when migration has finished correctly
2440
2506
total amount in ms for downtime that happened (json-int)
2441
2507
- "expected-downtime": only present while migration is active
2442
2508
total amount in ms for downtime that was calculated on
2443
the last bitmap round (json-int)
2509
the last bitmap round (json-int)
2444
2510
- "ram": only present if "status" is "active", it is a json-object with the
2445
following RAM information (in bytes):
2446
- "transferred": amount transferred (json-int)
2447
- "remaining": amount remaining (json-int)
2448
- "total": total (json-int)
2449
- "duplicate": number of duplicated pages (json-int)
2450
- "normal" : number of normal pages transferred (json-int)
2451
- "normal-bytes" : number of normal bytes transferred (json-int)
2511
following RAM information:
2512
- "transferred": amount transferred in bytes (json-int)
2513
- "remaining": amount remaining to transfer in bytes (json-int)
2514
- "total": total amount of memory in bytes (json-int)
2515
- "duplicate": number of pages filled entirely with the same
2517
These are sent over the wire much more efficiently.
2518
- "skipped": number of skipped zero pages (json-int)
2519
- "normal" : number of whole pages transferred. I.e. they
2520
were not sent as duplicate or xbzrle pages (json-int)
2521
- "normal-bytes" : number of bytes transferred in whole
2522
pages. This is just normal pages times size of one page,
2523
but this way upper levels don't need to care about page
2452
2525
- "disk": only present if "status" is "active" and it is a block migration,
2453
it is a json-object with the following disk information (in bytes):
2454
- "transferred": amount transferred (json-int)
2455
- "remaining": amount remaining (json-int)
2456
- "total": total (json-int)
2526
it is a json-object with the following disk information:
2527
- "transferred": amount transferred in bytes (json-int)
2528
- "remaining": amount remaining to transfer in bytes json-int)
2529
- "total": total disk size in bytes (json-int)
2457
2530
- "xbzrle-cache": only present if XBZRLE is active.
2458
2531
It is a json-object with the following XBZRLE information:
2459
- "cache-size": XBZRLE cache size
2460
- "bytes": total XBZRLE bytes transferred
2532
- "cache-size": XBZRLE cache size in bytes
2533
- "bytes": number of bytes transferred for XBZRLE compressed pages
2461
2534
- "pages": number of XBZRLE compressed pages
2462
- "cache-miss": number of cache misses
2463
- "overflow": number of XBZRLE overflows
2535
- "cache-miss": number of XBRZRLE page cache misses
2536
- "overflow": number of times XBZRLE overflows. This means
2537
that the XBZRLE encoding was bigger than just sent the
2538
whole page, and then we sent the whole page instead (as as
2466
2543
1. Before the first migration
2800
.name = "query-tpm",
2802
.mhandler.cmd_new = qmp_marshal_input_query_tpm,
2809
Return information about the TPM device.
2815
-> { "execute": "query-tpm" }
2818
{ "model": "tpm-tis",
2820
{ "type": "passthrough",
2822
{ "cancel-path": "/sys/class/misc/tpm0/device/cancel",
2834
.name = "query-tpm-models",
2836
.mhandler.cmd_new = qmp_marshal_input_query_tpm_models,
2843
Return a list of supported TPM models.
2849
-> { "execute": "query-tpm-models" }
2850
<- { "return": [ "tpm-tis" ] }
2855
.name = "query-tpm-types",
2857
.mhandler.cmd_new = qmp_marshal_input_query_tpm_types,
2864
Return a list of supported TPM types.
2870
-> { "execute": "query-tpm-types" }
2871
<- { "return": [ "passthrough" ] }
2723
2876
.name = "chardev-add",
2724
2877
.args_type = "id:s,backend:q",
2725
2878
.mhandler.cmd_new = qmp_marshal_input_chardev_add,