hmp-commands-info.hx 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994
  1. HXCOMM See docs/devel/docs.rst for the format of this file.
  2. HXCOMM
  3. HXCOMM This file defines the contents of an array of HMPCommand structs
  4. HXCOMM which specify the name, behaviour and help text for HMP commands.
  5. HXCOMM Text between SRST and ERST is rST format documentation.
  6. HXCOMM HXCOMM can be used for comments, discarded from both rST and C.
  7. HXCOMM
  8. HXCOMM In this file, generally SRST fragments should have two extra
  9. HXCOMM spaces of indent, so that the documentation list item for "info foo"
  10. HXCOMM appears inside the documentation list item for the top level
  11. HXCOMM "info" documentation entry. The exception is the first SRST
  12. HXCOMM fragment that defines that top level entry.
  13. SRST
  14. ``info`` *subcommand*
  15. Show various information about the system state.
  16. ERST
  17. {
  18. .name = "version",
  19. .args_type = "",
  20. .params = "",
  21. .help = "show the version of QEMU",
  22. .cmd = hmp_info_version,
  23. .flags = "p",
  24. },
  25. SRST
  26. ``info version``
  27. Show the version of QEMU.
  28. ERST
  29. {
  30. .name = "network",
  31. .args_type = "",
  32. .params = "",
  33. .help = "show the network state",
  34. .cmd = hmp_info_network,
  35. },
  36. SRST
  37. ``info network``
  38. Show the network state.
  39. ERST
  40. {
  41. .name = "chardev",
  42. .args_type = "",
  43. .params = "",
  44. .help = "show the character devices",
  45. .cmd = hmp_info_chardev,
  46. .flags = "p",
  47. },
  48. SRST
  49. ``info chardev``
  50. Show the character devices.
  51. ERST
  52. {
  53. .name = "block",
  54. .args_type = "nodes:-n,verbose:-v,device:B?",
  55. .params = "[-n] [-v] [device]",
  56. .help = "show info of one block device or all block devices "
  57. "(-n: show named nodes; -v: show details)",
  58. .cmd = hmp_info_block,
  59. },
  60. SRST
  61. ``info block``
  62. Show info of one block device or all block devices.
  63. ERST
  64. {
  65. .name = "blockstats",
  66. .args_type = "",
  67. .params = "",
  68. .help = "show block device statistics",
  69. .cmd = hmp_info_blockstats,
  70. },
  71. SRST
  72. ``info blockstats``
  73. Show block device statistics.
  74. ERST
  75. {
  76. .name = "block-jobs",
  77. .args_type = "",
  78. .params = "",
  79. .help = "show progress of ongoing block device operations",
  80. .cmd = hmp_info_block_jobs,
  81. },
  82. SRST
  83. ``info block-jobs``
  84. Show progress of ongoing block device operations.
  85. ERST
  86. {
  87. .name = "registers",
  88. .args_type = "cpustate_all:-a,vcpu:i?",
  89. .params = "[-a|vcpu]",
  90. .help = "show the cpu registers (-a: show register info for all cpus;"
  91. " vcpu: specific vCPU to query; show the current CPU's registers if"
  92. " no argument is specified)",
  93. .cmd = hmp_info_registers,
  94. },
  95. SRST
  96. ``info registers``
  97. Show the cpu registers.
  98. ERST
  99. #if defined(TARGET_I386)
  100. {
  101. .name = "lapic",
  102. .args_type = "apic-id:i?",
  103. .params = "[apic-id]",
  104. .help = "show local apic state (apic-id: local apic to read, default is which of current CPU)",
  105. .cmd = hmp_info_local_apic,
  106. },
  107. #endif
  108. SRST
  109. ``info lapic``
  110. Show local APIC state
  111. ERST
  112. {
  113. .name = "cpus",
  114. .args_type = "",
  115. .params = "",
  116. .help = "show infos for each CPU",
  117. .cmd = hmp_info_cpus,
  118. },
  119. SRST
  120. ``info cpus``
  121. Show infos for each CPU.
  122. ERST
  123. {
  124. .name = "history",
  125. .args_type = "",
  126. .params = "",
  127. .help = "show the command line history",
  128. .cmd = hmp_info_history,
  129. .flags = "p",
  130. },
  131. SRST
  132. ``info history``
  133. Show the command line history.
  134. ERST
  135. {
  136. .name = "irq",
  137. .args_type = "",
  138. .params = "",
  139. .help = "show the interrupts statistics (if available)",
  140. .cmd_info_hrt = qmp_x_query_irq,
  141. },
  142. SRST
  143. ``info irq``
  144. Show the interrupts statistics (if available).
  145. ERST
  146. {
  147. .name = "pic",
  148. .args_type = "",
  149. .params = "",
  150. .help = "show PIC state",
  151. .cmd = hmp_info_pic,
  152. },
  153. SRST
  154. ``info pic``
  155. Show PIC state.
  156. ERST
  157. {
  158. .name = "rdma",
  159. .args_type = "",
  160. .params = "",
  161. .help = "show RDMA state",
  162. .cmd_info_hrt = qmp_x_query_rdma,
  163. },
  164. SRST
  165. ``info rdma``
  166. Show RDMA state.
  167. ERST
  168. {
  169. .name = "pci",
  170. .args_type = "",
  171. .params = "",
  172. .help = "show PCI info",
  173. .cmd = hmp_info_pci,
  174. },
  175. SRST
  176. ``info pci``
  177. Show PCI information.
  178. ERST
  179. #if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
  180. defined(TARGET_PPC) || defined(TARGET_XTENSA) || defined(TARGET_M68K)
  181. {
  182. .name = "tlb",
  183. .args_type = "",
  184. .params = "",
  185. .help = "show virtual to physical memory mappings",
  186. .cmd = hmp_info_tlb,
  187. },
  188. #endif
  189. SRST
  190. ``info tlb``
  191. Show virtual to physical memory mappings.
  192. ERST
  193. #if defined(TARGET_I386) || defined(TARGET_RISCV)
  194. {
  195. .name = "mem",
  196. .args_type = "",
  197. .params = "",
  198. .help = "show the active virtual memory mappings",
  199. .cmd = hmp_info_mem,
  200. },
  201. #endif
  202. SRST
  203. ``info mem``
  204. Show the active virtual memory mappings.
  205. ERST
  206. {
  207. .name = "mtree",
  208. .args_type = "flatview:-f,dispatch_tree:-d,owner:-o,disabled:-D",
  209. .params = "[-f][-d][-o][-D]",
  210. .help = "show memory tree (-f: dump flat view for address spaces;"
  211. "-d: dump dispatch tree, valid with -f only);"
  212. "-o: dump region owners/parents;"
  213. "-D: dump disabled regions",
  214. .cmd = hmp_info_mtree,
  215. },
  216. SRST
  217. ``info mtree``
  218. Show memory tree.
  219. ERST
  220. #if defined(CONFIG_TCG)
  221. {
  222. .name = "jit",
  223. .args_type = "",
  224. .params = "",
  225. .help = "show dynamic compiler info",
  226. },
  227. #endif
  228. SRST
  229. ``info jit``
  230. Show dynamic compiler info.
  231. ERST
  232. #if defined(CONFIG_TCG)
  233. {
  234. .name = "opcount",
  235. .args_type = "",
  236. .params = "",
  237. .help = "show dynamic compiler opcode counters",
  238. },
  239. #endif
  240. SRST
  241. ``info opcount``
  242. Show dynamic compiler opcode counters
  243. ERST
  244. {
  245. .name = "sync-profile",
  246. .args_type = "mean:-m,no_coalesce:-n,max:i?",
  247. .params = "[-m] [-n] [max]",
  248. .help = "show synchronization profiling info, up to max entries "
  249. "(default: 10), sorted by total wait time. (-m: sort by "
  250. "mean wait time; -n: do not coalesce objects with the "
  251. "same call site)",
  252. .cmd = hmp_info_sync_profile,
  253. },
  254. SRST
  255. ``info sync-profile [-m|-n]`` [*max*]
  256. Show synchronization profiling info, up to *max* entries (default: 10),
  257. sorted by total wait time.
  258. ``-m``
  259. sort by mean wait time
  260. ``-n``
  261. do not coalesce objects with the same call site
  262. When different objects that share the same call site are coalesced,
  263. the "Object" field shows---enclosed in brackets---the number of objects
  264. being coalesced.
  265. ERST
  266. {
  267. .name = "kvm",
  268. .args_type = "",
  269. .params = "",
  270. .help = "show KVM information",
  271. .cmd = hmp_info_kvm,
  272. },
  273. SRST
  274. ``info kvm``
  275. Show KVM information.
  276. ERST
  277. {
  278. .name = "numa",
  279. .args_type = "",
  280. .params = "",
  281. .help = "show NUMA information",
  282. .cmd_info_hrt = qmp_x_query_numa,
  283. },
  284. SRST
  285. ``info numa``
  286. Show NUMA information.
  287. ERST
  288. {
  289. .name = "usb",
  290. .args_type = "",
  291. .params = "",
  292. .help = "show guest USB devices",
  293. .cmd_info_hrt = qmp_x_query_usb,
  294. },
  295. SRST
  296. ``info usb``
  297. Show guest USB devices.
  298. ERST
  299. {
  300. .name = "usbhost",
  301. .args_type = "",
  302. .params = "",
  303. .help = "show host USB devices",
  304. },
  305. SRST
  306. ``info usbhost``
  307. Show host USB devices.
  308. ERST
  309. {
  310. .name = "capture",
  311. .args_type = "",
  312. .params = "",
  313. .help = "show capture information",
  314. .cmd = hmp_info_capture,
  315. },
  316. SRST
  317. ``info capture``
  318. Show capture information.
  319. ERST
  320. {
  321. .name = "snapshots",
  322. .args_type = "",
  323. .params = "",
  324. .help = "show the currently saved VM snapshots",
  325. .cmd = hmp_info_snapshots,
  326. },
  327. SRST
  328. ``info snapshots``
  329. Show the currently saved VM snapshots.
  330. ERST
  331. {
  332. .name = "status",
  333. .args_type = "",
  334. .params = "",
  335. .help = "show the current VM status (running|paused)",
  336. .cmd = hmp_info_status,
  337. .flags = "p",
  338. },
  339. SRST
  340. ``info status``
  341. Show the current VM status (running|paused).
  342. ERST
  343. {
  344. .name = "mice",
  345. .args_type = "",
  346. .params = "",
  347. .help = "show which guest mouse is receiving events",
  348. .cmd = hmp_info_mice,
  349. },
  350. SRST
  351. ``info mice``
  352. Show which guest mouse is receiving events.
  353. ERST
  354. #if defined(CONFIG_VNC)
  355. {
  356. .name = "vnc",
  357. .args_type = "",
  358. .params = "",
  359. .help = "show the vnc server status",
  360. .cmd = hmp_info_vnc,
  361. },
  362. #endif
  363. SRST
  364. ``info vnc``
  365. Show the vnc server status.
  366. ERST
  367. #if defined(CONFIG_SPICE)
  368. {
  369. .name = "spice",
  370. .args_type = "",
  371. .params = "",
  372. .help = "show the spice server status",
  373. .cmd = hmp_info_spice,
  374. },
  375. #endif
  376. SRST
  377. ``info spice``
  378. Show the spice server status.
  379. ERST
  380. {
  381. .name = "name",
  382. .args_type = "",
  383. .params = "",
  384. .help = "show the current VM name",
  385. .cmd = hmp_info_name,
  386. .flags = "p",
  387. },
  388. SRST
  389. ``info name``
  390. Show the current VM name.
  391. ERST
  392. {
  393. .name = "uuid",
  394. .args_type = "",
  395. .params = "",
  396. .help = "show the current VM UUID",
  397. .cmd = hmp_info_uuid,
  398. .flags = "p",
  399. },
  400. SRST
  401. ``info uuid``
  402. Show the current VM UUID.
  403. ERST
  404. #if defined(CONFIG_SLIRP)
  405. {
  406. .name = "usernet",
  407. .args_type = "",
  408. .params = "",
  409. .help = "show user network stack connection states",
  410. .cmd = hmp_info_usernet,
  411. },
  412. #endif
  413. SRST
  414. ``info usernet``
  415. Show user network stack connection states.
  416. ERST
  417. {
  418. .name = "migrate",
  419. .args_type = "",
  420. .params = "",
  421. .help = "show migration status",
  422. .cmd = hmp_info_migrate,
  423. },
  424. SRST
  425. ``info migrate``
  426. Show migration status.
  427. ERST
  428. {
  429. .name = "migrate_capabilities",
  430. .args_type = "",
  431. .params = "",
  432. .help = "show current migration capabilities",
  433. .cmd = hmp_info_migrate_capabilities,
  434. },
  435. SRST
  436. ``info migrate_capabilities``
  437. Show current migration capabilities.
  438. ERST
  439. {
  440. .name = "migrate_parameters",
  441. .args_type = "",
  442. .params = "",
  443. .help = "show current migration parameters",
  444. .cmd = hmp_info_migrate_parameters,
  445. },
  446. SRST
  447. ``info migrate_parameters``
  448. Show current migration parameters.
  449. ERST
  450. {
  451. .name = "balloon",
  452. .args_type = "",
  453. .params = "",
  454. .help = "show balloon information",
  455. .cmd = hmp_info_balloon,
  456. },
  457. SRST
  458. ``info balloon``
  459. Show balloon information.
  460. ERST
  461. {
  462. .name = "qtree",
  463. .args_type = "",
  464. .params = "",
  465. .help = "show device tree",
  466. .cmd = hmp_info_qtree,
  467. },
  468. SRST
  469. ``info qtree``
  470. Show device tree.
  471. ERST
  472. {
  473. .name = "qdm",
  474. .args_type = "",
  475. .params = "",
  476. .help = "show qdev device model list",
  477. .cmd = hmp_info_qdm,
  478. },
  479. SRST
  480. ``info qdm``
  481. Show qdev device model list.
  482. ERST
  483. {
  484. .name = "qom-tree",
  485. .args_type = "path:s?",
  486. .params = "[path]",
  487. .help = "show QOM composition tree",
  488. .cmd = hmp_info_qom_tree,
  489. .flags = "p",
  490. },
  491. SRST
  492. ``info qom-tree``
  493. Show QOM composition tree.
  494. ERST
  495. {
  496. .name = "roms",
  497. .args_type = "",
  498. .params = "",
  499. .help = "show roms",
  500. .cmd_info_hrt = qmp_x_query_roms,
  501. },
  502. SRST
  503. ``info roms``
  504. Show roms.
  505. ERST
  506. {
  507. .name = "trace-events",
  508. .args_type = "name:s?,vcpu:i?",
  509. .params = "[name] [vcpu]",
  510. .help = "show available trace-events & their state "
  511. "(name: event name pattern; vcpu: vCPU to query, default is any)",
  512. .cmd = hmp_info_trace_events,
  513. .command_completion = info_trace_events_completion,
  514. },
  515. SRST
  516. ``info trace-events``
  517. Show available trace-events & their state.
  518. ERST
  519. {
  520. .name = "tpm",
  521. .args_type = "",
  522. .params = "",
  523. .help = "show the TPM device",
  524. .cmd = hmp_info_tpm,
  525. },
  526. SRST
  527. ``info tpm``
  528. Show the TPM device.
  529. ERST
  530. {
  531. .name = "memdev",
  532. .args_type = "",
  533. .params = "",
  534. .help = "show memory backends",
  535. .cmd = hmp_info_memdev,
  536. .flags = "p",
  537. },
  538. SRST
  539. ``info memdev``
  540. Show memory backends
  541. ERST
  542. {
  543. .name = "memory-devices",
  544. .args_type = "",
  545. .params = "",
  546. .help = "show memory devices",
  547. .cmd = hmp_info_memory_devices,
  548. },
  549. SRST
  550. ``info memory-devices``
  551. Show memory devices.
  552. ERST
  553. {
  554. .name = "iothreads",
  555. .args_type = "",
  556. .params = "",
  557. .help = "show iothreads",
  558. .cmd = hmp_info_iothreads,
  559. .flags = "p",
  560. },
  561. SRST
  562. ``info iothreads``
  563. Show iothread's identifiers.
  564. ERST
  565. {
  566. .name = "rocker",
  567. .args_type = "name:s",
  568. .params = "name",
  569. .help = "Show rocker switch",
  570. .cmd = hmp_rocker,
  571. },
  572. SRST
  573. ``info rocker`` *name*
  574. Show rocker switch.
  575. ERST
  576. {
  577. .name = "rocker-ports",
  578. .args_type = "name:s",
  579. .params = "name",
  580. .help = "Show rocker ports",
  581. .cmd = hmp_rocker_ports,
  582. },
  583. SRST
  584. ``info rocker-ports`` *name*-ports
  585. Show rocker ports.
  586. ERST
  587. {
  588. .name = "rocker-of-dpa-flows",
  589. .args_type = "name:s,tbl_id:i?",
  590. .params = "name [tbl_id]",
  591. .help = "Show rocker OF-DPA flow tables",
  592. .cmd = hmp_rocker_of_dpa_flows,
  593. },
  594. SRST
  595. ``info rocker-of-dpa-flows`` *name* [*tbl_id*]
  596. Show rocker OF-DPA flow tables.
  597. ERST
  598. {
  599. .name = "rocker-of-dpa-groups",
  600. .args_type = "name:s,type:i?",
  601. .params = "name [type]",
  602. .help = "Show rocker OF-DPA groups",
  603. .cmd = hmp_rocker_of_dpa_groups,
  604. },
  605. SRST
  606. ``info rocker-of-dpa-groups`` *name* [*type*]
  607. Show rocker OF-DPA groups.
  608. ERST
  609. #if defined(TARGET_S390X)
  610. {
  611. .name = "skeys",
  612. .args_type = "addr:l",
  613. .params = "address",
  614. .help = "Display the value of a storage key",
  615. .cmd = hmp_info_skeys,
  616. },
  617. #endif
  618. SRST
  619. ``info skeys`` *address*
  620. Display the value of a storage key (s390 only)
  621. ERST
  622. #if defined(TARGET_S390X)
  623. {
  624. .name = "cmma",
  625. .args_type = "addr:l,count:l?",
  626. .params = "address [count]",
  627. .help = "Display the values of the CMMA storage attributes for a range of pages",
  628. .cmd = hmp_info_cmma,
  629. },
  630. #endif
  631. SRST
  632. ``info cmma`` *address*
  633. Display the values of the CMMA storage attributes for a range of
  634. pages (s390 only)
  635. ERST
  636. {
  637. .name = "dump",
  638. .args_type = "",
  639. .params = "",
  640. .help = "Display the latest dump status",
  641. .cmd = hmp_info_dump,
  642. },
  643. SRST
  644. ``info dump``
  645. Display the latest dump status.
  646. ERST
  647. {
  648. .name = "ramblock",
  649. .args_type = "",
  650. .params = "",
  651. .help = "Display system ramblock information",
  652. .cmd_info_hrt = qmp_x_query_ramblock,
  653. },
  654. SRST
  655. ``info ramblock``
  656. Dump all the ramblocks of the system.
  657. ERST
  658. {
  659. .name = "hotpluggable-cpus",
  660. .args_type = "",
  661. .params = "",
  662. .help = "Show information about hotpluggable CPUs",
  663. .cmd = hmp_hotpluggable_cpus,
  664. .flags = "p",
  665. },
  666. SRST
  667. ``info hotpluggable-cpus``
  668. Show information about hotpluggable CPUs
  669. ERST
  670. {
  671. .name = "vm-generation-id",
  672. .args_type = "",
  673. .params = "",
  674. .help = "Show Virtual Machine Generation ID",
  675. .cmd = hmp_info_vm_generation_id,
  676. },
  677. SRST
  678. ``info vm-generation-id``
  679. Show Virtual Machine Generation ID
  680. ERST
  681. {
  682. .name = "memory_size_summary",
  683. .args_type = "",
  684. .params = "",
  685. .help = "show the amount of initially allocated and "
  686. "present hotpluggable (if enabled) memory in bytes.",
  687. .cmd = hmp_info_memory_size_summary,
  688. },
  689. SRST
  690. ``info memory_size_summary``
  691. Display the amount of initially allocated and present hotpluggable (if
  692. enabled) memory in bytes.
  693. ERST
  694. #if defined(TARGET_I386)
  695. {
  696. .name = "sev",
  697. .args_type = "",
  698. .params = "",
  699. .help = "show SEV information",
  700. .cmd = hmp_info_sev,
  701. },
  702. #endif
  703. SRST
  704. ``info sev``
  705. Show SEV information.
  706. ERST
  707. {
  708. .name = "replay",
  709. .args_type = "",
  710. .params = "",
  711. .help = "show record/replay information",
  712. .cmd = hmp_info_replay,
  713. },
  714. SRST
  715. ``info replay``
  716. Display the record/replay information: mode and the current icount.
  717. ERST
  718. {
  719. .name = "dirty_rate",
  720. .args_type = "",
  721. .params = "",
  722. .help = "show dirty rate information",
  723. .cmd = hmp_info_dirty_rate,
  724. },
  725. SRST
  726. ``info dirty_rate``
  727. Display the vcpu dirty rate information.
  728. ERST
  729. {
  730. .name = "vcpu_dirty_limit",
  731. .args_type = "",
  732. .params = "",
  733. .help = "show dirty page limit information of all vCPU",
  734. .cmd = hmp_info_vcpu_dirty_limit,
  735. },
  736. SRST
  737. ``info vcpu_dirty_limit``
  738. Display the vcpu dirty page limit information.
  739. ERST
  740. #if defined(TARGET_I386)
  741. {
  742. .name = "sgx",
  743. .args_type = "",
  744. .params = "",
  745. .help = "show intel SGX information",
  746. .cmd = hmp_info_sgx,
  747. },
  748. #endif
  749. SRST
  750. ``info sgx``
  751. Show intel SGX information.
  752. ERST
  753. #if defined(CONFIG_MOS6522)
  754. {
  755. .name = "via",
  756. .args_type = "",
  757. .params = "",
  758. .help = "show guest mos6522 VIA devices",
  759. .cmd = hmp_info_via,
  760. },
  761. #endif
  762. SRST
  763. ``info via``
  764. Show guest mos6522 VIA devices.
  765. ERST
  766. {
  767. .name = "stats",
  768. .args_type = "target:s,names:s?,provider:s?",
  769. .params = "target [names] [provider]",
  770. .help = "show statistics for the given target (vm or vcpu); optionally filter by"
  771. "name (comma-separated list, or * for all) and provider",
  772. .cmd = hmp_info_stats,
  773. },
  774. SRST
  775. ``stats``
  776. Show runtime-collected statistics
  777. ERST
  778. {
  779. .name = "virtio",
  780. .args_type = "",
  781. .params = "",
  782. .help = "List all available virtio devices",
  783. .cmd = hmp_virtio_query,
  784. .flags = "p",
  785. },
  786. SRST
  787. ``info virtio``
  788. List all available virtio devices
  789. ERST
  790. {
  791. .name = "virtio-status",
  792. .args_type = "path:s",
  793. .params = "path",
  794. .help = "Display status of a given virtio device",
  795. .cmd = hmp_virtio_status,
  796. .flags = "p",
  797. },
  798. SRST
  799. ``info virtio-status`` *path*
  800. Display status of a given virtio device
  801. ERST
  802. {
  803. .name = "virtio-queue-status",
  804. .args_type = "path:s,queue:i",
  805. .params = "path queue",
  806. .help = "Display status of a given virtio queue",
  807. .cmd = hmp_virtio_queue_status,
  808. .flags = "p",
  809. },
  810. SRST
  811. ``info virtio-queue-status`` *path* *queue*
  812. Display status of a given virtio queue
  813. ERST
  814. {
  815. .name = "virtio-vhost-queue-status",
  816. .args_type = "path:s,queue:i",
  817. .params = "path queue",
  818. .help = "Display status of a given vhost queue",
  819. .cmd = hmp_vhost_queue_status,
  820. .flags = "p",
  821. },
  822. SRST
  823. ``info virtio-vhost-queue-status`` *path* *queue*
  824. Display status of a given vhost queue
  825. ERST
  826. {
  827. .name = "virtio-queue-element",
  828. .args_type = "path:s,queue:i,index:i?",
  829. .params = "path queue [index]",
  830. .help = "Display element of a given virtio queue",
  831. .cmd = hmp_virtio_queue_element,
  832. .flags = "p",
  833. },
  834. SRST
  835. ``info virtio-queue-element`` *path* *queue* [*index*]
  836. Display element of a given virtio queue
  837. ERST
  838. {
  839. .name = "cryptodev",
  840. .args_type = "",
  841. .params = "",
  842. .help = "show the crypto devices",
  843. .cmd = hmp_info_cryptodev,
  844. .flags = "p",
  845. },
  846. SRST
  847. ``info cryptodev``
  848. Show the crypto devices.
  849. ERST