hmp-commands-info.hx 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981
  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_info_hrt = qmp_x_query_interrupt_controllers,
  152. },
  153. SRST
  154. ``info pic``
  155. Show PIC state.
  156. ERST
  157. {
  158. .name = "pci",
  159. .args_type = "",
  160. .params = "",
  161. .help = "show PCI info",
  162. .cmd = hmp_info_pci,
  163. },
  164. SRST
  165. ``info pci``
  166. Show PCI information.
  167. ERST
  168. #if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
  169. defined(TARGET_PPC) || defined(TARGET_XTENSA) || defined(TARGET_M68K)
  170. {
  171. .name = "tlb",
  172. .args_type = "",
  173. .params = "",
  174. .help = "show virtual to physical memory mappings",
  175. .cmd = hmp_info_tlb,
  176. },
  177. #endif
  178. SRST
  179. ``info tlb``
  180. Show virtual to physical memory mappings.
  181. ERST
  182. #if defined(TARGET_I386) || defined(TARGET_RISCV)
  183. {
  184. .name = "mem",
  185. .args_type = "",
  186. .params = "",
  187. .help = "show the active virtual memory mappings",
  188. .cmd = hmp_info_mem,
  189. },
  190. #endif
  191. SRST
  192. ``info mem``
  193. Show the active virtual memory mappings.
  194. ERST
  195. {
  196. .name = "mtree",
  197. .args_type = "flatview:-f,dispatch_tree:-d,owner:-o,disabled:-D",
  198. .params = "[-f][-d][-o][-D]",
  199. .help = "show memory tree (-f: dump flat view for address spaces;"
  200. "-d: dump dispatch tree, valid with -f only);"
  201. "-o: dump region owners/parents;"
  202. "-D: dump disabled regions",
  203. .cmd = hmp_info_mtree,
  204. },
  205. SRST
  206. ``info mtree``
  207. Show memory tree.
  208. ERST
  209. #if defined(CONFIG_TCG)
  210. {
  211. .name = "jit",
  212. .args_type = "",
  213. .params = "",
  214. .help = "show dynamic compiler info",
  215. },
  216. #endif
  217. SRST
  218. ``info jit``
  219. Show dynamic compiler info.
  220. ERST
  221. #if defined(CONFIG_TCG)
  222. {
  223. .name = "opcount",
  224. .args_type = "",
  225. .params = "",
  226. .help = "show dynamic compiler opcode counters",
  227. },
  228. #endif
  229. SRST
  230. ``info opcount``
  231. Show dynamic compiler opcode counters
  232. ERST
  233. {
  234. .name = "sync-profile",
  235. .args_type = "mean:-m,no_coalesce:-n,max:i?",
  236. .params = "[-m] [-n] [max]",
  237. .help = "show synchronization profiling info, up to max entries "
  238. "(default: 10), sorted by total wait time. (-m: sort by "
  239. "mean wait time; -n: do not coalesce objects with the "
  240. "same call site)",
  241. .cmd = hmp_info_sync_profile,
  242. },
  243. SRST
  244. ``info sync-profile [-m|-n]`` [*max*]
  245. Show synchronization profiling info, up to *max* entries (default: 10),
  246. sorted by total wait time.
  247. ``-m``
  248. sort by mean wait time
  249. ``-n``
  250. do not coalesce objects with the same call site
  251. When different objects that share the same call site are coalesced,
  252. the "Object" field shows---enclosed in brackets---the number of objects
  253. being coalesced.
  254. ERST
  255. {
  256. .name = "kvm",
  257. .args_type = "",
  258. .params = "",
  259. .help = "show KVM information",
  260. .cmd = hmp_info_kvm,
  261. },
  262. SRST
  263. ``info kvm``
  264. Show KVM information.
  265. ERST
  266. {
  267. .name = "numa",
  268. .args_type = "",
  269. .params = "",
  270. .help = "show NUMA information",
  271. .cmd_info_hrt = qmp_x_query_numa,
  272. },
  273. SRST
  274. ``info numa``
  275. Show NUMA information.
  276. ERST
  277. {
  278. .name = "usb",
  279. .args_type = "",
  280. .params = "",
  281. .help = "show guest USB devices",
  282. .cmd_info_hrt = qmp_x_query_usb,
  283. },
  284. SRST
  285. ``info usb``
  286. Show guest USB devices.
  287. ERST
  288. {
  289. .name = "usbhost",
  290. .args_type = "",
  291. .params = "",
  292. .help = "show host USB devices",
  293. },
  294. SRST
  295. ``info usbhost``
  296. Show host USB devices.
  297. ERST
  298. {
  299. .name = "capture",
  300. .args_type = "",
  301. .params = "",
  302. .help = "show capture information",
  303. .cmd = hmp_info_capture,
  304. },
  305. SRST
  306. ``info capture``
  307. Show capture information.
  308. ERST
  309. {
  310. .name = "snapshots",
  311. .args_type = "",
  312. .params = "",
  313. .help = "show the currently saved VM snapshots",
  314. .cmd = hmp_info_snapshots,
  315. },
  316. SRST
  317. ``info snapshots``
  318. Show the currently saved VM snapshots.
  319. ERST
  320. {
  321. .name = "status",
  322. .args_type = "",
  323. .params = "",
  324. .help = "show the current VM status (running|paused)",
  325. .cmd = hmp_info_status,
  326. .flags = "p",
  327. },
  328. SRST
  329. ``info status``
  330. Show the current VM status (running|paused).
  331. ERST
  332. {
  333. .name = "mice",
  334. .args_type = "",
  335. .params = "",
  336. .help = "show which guest mouse is receiving events",
  337. .cmd = hmp_info_mice,
  338. },
  339. SRST
  340. ``info mice``
  341. Show which guest mouse is receiving events.
  342. ERST
  343. #if defined(CONFIG_VNC)
  344. {
  345. .name = "vnc",
  346. .args_type = "",
  347. .params = "",
  348. .help = "show the vnc server status",
  349. .cmd = hmp_info_vnc,
  350. },
  351. #endif
  352. SRST
  353. ``info vnc``
  354. Show the vnc server status.
  355. ERST
  356. #if defined(CONFIG_SPICE)
  357. {
  358. .name = "spice",
  359. .args_type = "",
  360. .params = "",
  361. .help = "show the spice server status",
  362. .cmd = hmp_info_spice,
  363. },
  364. #endif
  365. SRST
  366. ``info spice``
  367. Show the spice server status.
  368. ERST
  369. {
  370. .name = "name",
  371. .args_type = "",
  372. .params = "",
  373. .help = "show the current VM name",
  374. .cmd = hmp_info_name,
  375. .flags = "p",
  376. },
  377. SRST
  378. ``info name``
  379. Show the current VM name.
  380. ERST
  381. {
  382. .name = "uuid",
  383. .args_type = "",
  384. .params = "",
  385. .help = "show the current VM UUID",
  386. .cmd = hmp_info_uuid,
  387. .flags = "p",
  388. },
  389. SRST
  390. ``info uuid``
  391. Show the current VM UUID.
  392. ERST
  393. #if defined(CONFIG_SLIRP)
  394. {
  395. .name = "usernet",
  396. .args_type = "",
  397. .params = "",
  398. .help = "show user network stack connection states",
  399. .cmd = hmp_info_usernet,
  400. },
  401. #endif
  402. SRST
  403. ``info usernet``
  404. Show user network stack connection states.
  405. ERST
  406. {
  407. .name = "migrate",
  408. .args_type = "",
  409. .params = "",
  410. .help = "show migration status",
  411. .cmd = hmp_info_migrate,
  412. },
  413. SRST
  414. ``info migrate``
  415. Show migration status.
  416. ERST
  417. {
  418. .name = "migrate_capabilities",
  419. .args_type = "",
  420. .params = "",
  421. .help = "show current migration capabilities",
  422. .cmd = hmp_info_migrate_capabilities,
  423. },
  424. SRST
  425. ``info migrate_capabilities``
  426. Show current migration capabilities.
  427. ERST
  428. {
  429. .name = "migrate_parameters",
  430. .args_type = "",
  431. .params = "",
  432. .help = "show current migration parameters",
  433. .cmd = hmp_info_migrate_parameters,
  434. },
  435. SRST
  436. ``info migrate_parameters``
  437. Show current migration parameters.
  438. ERST
  439. {
  440. .name = "balloon",
  441. .args_type = "",
  442. .params = "",
  443. .help = "show balloon information",
  444. .cmd = hmp_info_balloon,
  445. },
  446. SRST
  447. ``info balloon``
  448. Show balloon information.
  449. ERST
  450. {
  451. .name = "qtree",
  452. .args_type = "brief:-b",
  453. .params = "[-b]",
  454. .help = "show device tree (-b: brief, omit properties)",
  455. .cmd = hmp_info_qtree,
  456. },
  457. SRST
  458. ``info qtree``
  459. Show device tree.
  460. ERST
  461. {
  462. .name = "qdm",
  463. .args_type = "",
  464. .params = "",
  465. .help = "show qdev device model list",
  466. .cmd = hmp_info_qdm,
  467. },
  468. SRST
  469. ``info qdm``
  470. Show qdev device model list.
  471. ERST
  472. {
  473. .name = "qom-tree",
  474. .args_type = "path:s?",
  475. .params = "[path]",
  476. .help = "show QOM composition tree",
  477. .cmd = hmp_info_qom_tree,
  478. .flags = "p",
  479. },
  480. SRST
  481. ``info qom-tree``
  482. Show QOM composition tree.
  483. ERST
  484. {
  485. .name = "roms",
  486. .args_type = "",
  487. .params = "",
  488. .help = "show roms",
  489. .cmd_info_hrt = qmp_x_query_roms,
  490. },
  491. SRST
  492. ``info roms``
  493. Show roms.
  494. ERST
  495. {
  496. .name = "trace-events",
  497. .args_type = "name:s?,vcpu:i?",
  498. .params = "[name] [vcpu]",
  499. .help = "show available trace-events & their state "
  500. "(name: event name pattern; vcpu: vCPU to query, default is any)",
  501. .cmd = hmp_info_trace_events,
  502. .command_completion = info_trace_events_completion,
  503. },
  504. SRST
  505. ``info trace-events``
  506. Show available trace-events & their state.
  507. ERST
  508. {
  509. .name = "tpm",
  510. .args_type = "",
  511. .params = "",
  512. .help = "show the TPM device",
  513. .cmd = hmp_info_tpm,
  514. },
  515. SRST
  516. ``info tpm``
  517. Show the TPM device.
  518. ERST
  519. {
  520. .name = "memdev",
  521. .args_type = "",
  522. .params = "",
  523. .help = "show memory backends",
  524. .cmd = hmp_info_memdev,
  525. .flags = "p",
  526. },
  527. SRST
  528. ``info memdev``
  529. Show memory backends
  530. ERST
  531. {
  532. .name = "memory-devices",
  533. .args_type = "",
  534. .params = "",
  535. .help = "show memory devices",
  536. .cmd = hmp_info_memory_devices,
  537. },
  538. SRST
  539. ``info memory-devices``
  540. Show memory devices.
  541. ERST
  542. {
  543. .name = "iothreads",
  544. .args_type = "",
  545. .params = "",
  546. .help = "show iothreads",
  547. .cmd = hmp_info_iothreads,
  548. .flags = "p",
  549. },
  550. SRST
  551. ``info iothreads``
  552. Show iothread's identifiers.
  553. ERST
  554. {
  555. .name = "rocker",
  556. .args_type = "name:s",
  557. .params = "name",
  558. .help = "Show rocker switch",
  559. .cmd = hmp_rocker,
  560. },
  561. SRST
  562. ``info rocker`` *name*
  563. Show rocker switch.
  564. ERST
  565. {
  566. .name = "rocker-ports",
  567. .args_type = "name:s",
  568. .params = "name",
  569. .help = "Show rocker ports",
  570. .cmd = hmp_rocker_ports,
  571. },
  572. SRST
  573. ``info rocker-ports`` *name*-ports
  574. Show rocker ports.
  575. ERST
  576. {
  577. .name = "rocker-of-dpa-flows",
  578. .args_type = "name:s,tbl_id:i?",
  579. .params = "name [tbl_id]",
  580. .help = "Show rocker OF-DPA flow tables",
  581. .cmd = hmp_rocker_of_dpa_flows,
  582. },
  583. SRST
  584. ``info rocker-of-dpa-flows`` *name* [*tbl_id*]
  585. Show rocker OF-DPA flow tables.
  586. ERST
  587. {
  588. .name = "rocker-of-dpa-groups",
  589. .args_type = "name:s,type:i?",
  590. .params = "name [type]",
  591. .help = "Show rocker OF-DPA groups",
  592. .cmd = hmp_rocker_of_dpa_groups,
  593. },
  594. SRST
  595. ``info rocker-of-dpa-groups`` *name* [*type*]
  596. Show rocker OF-DPA groups.
  597. ERST
  598. #if defined(TARGET_S390X)
  599. {
  600. .name = "skeys",
  601. .args_type = "addr:l",
  602. .params = "address",
  603. .help = "Display the value of a storage key",
  604. .cmd = hmp_info_skeys,
  605. },
  606. #endif
  607. SRST
  608. ``info skeys`` *address*
  609. Display the value of a storage key (s390 only)
  610. ERST
  611. #if defined(TARGET_S390X)
  612. {
  613. .name = "cmma",
  614. .args_type = "addr:l,count:l?",
  615. .params = "address [count]",
  616. .help = "Display the values of the CMMA storage attributes for a range of pages",
  617. .cmd = hmp_info_cmma,
  618. },
  619. #endif
  620. SRST
  621. ``info cmma`` *address*
  622. Display the values of the CMMA storage attributes for a range of
  623. pages (s390 only)
  624. ERST
  625. {
  626. .name = "dump",
  627. .args_type = "",
  628. .params = "",
  629. .help = "Display the latest dump status",
  630. .cmd = hmp_info_dump,
  631. },
  632. SRST
  633. ``info dump``
  634. Display the latest dump status.
  635. ERST
  636. {
  637. .name = "ramblock",
  638. .args_type = "",
  639. .params = "",
  640. .help = "Display system ramblock information",
  641. .cmd_info_hrt = qmp_x_query_ramblock,
  642. },
  643. SRST
  644. ``info ramblock``
  645. Dump all the ramblocks of the system.
  646. ERST
  647. {
  648. .name = "hotpluggable-cpus",
  649. .args_type = "",
  650. .params = "",
  651. .help = "Show information about hotpluggable CPUs",
  652. .cmd = hmp_hotpluggable_cpus,
  653. .flags = "p",
  654. },
  655. SRST
  656. ``info hotpluggable-cpus``
  657. Show information about hotpluggable CPUs
  658. ERST
  659. {
  660. .name = "vm-generation-id",
  661. .args_type = "",
  662. .params = "",
  663. .help = "Show Virtual Machine Generation ID",
  664. .cmd = hmp_info_vm_generation_id,
  665. },
  666. SRST
  667. ``info vm-generation-id``
  668. Show Virtual Machine Generation ID
  669. ERST
  670. {
  671. .name = "memory_size_summary",
  672. .args_type = "",
  673. .params = "",
  674. .help = "show the amount of initially allocated and "
  675. "present hotpluggable (if enabled) memory in bytes.",
  676. .cmd = hmp_info_memory_size_summary,
  677. },
  678. SRST
  679. ``info memory_size_summary``
  680. Display the amount of initially allocated and present hotpluggable (if
  681. enabled) memory in bytes.
  682. ERST
  683. #if defined(TARGET_I386)
  684. {
  685. .name = "sev",
  686. .args_type = "",
  687. .params = "",
  688. .help = "show SEV information",
  689. .cmd = hmp_info_sev,
  690. },
  691. #endif
  692. SRST
  693. ``info sev``
  694. Show SEV information.
  695. ERST
  696. {
  697. .name = "replay",
  698. .args_type = "",
  699. .params = "",
  700. .help = "show record/replay information",
  701. .cmd = hmp_info_replay,
  702. },
  703. SRST
  704. ``info replay``
  705. Display the record/replay information: mode and the current icount.
  706. ERST
  707. {
  708. .name = "dirty_rate",
  709. .args_type = "",
  710. .params = "",
  711. .help = "show dirty rate information",
  712. .cmd = hmp_info_dirty_rate,
  713. },
  714. SRST
  715. ``info dirty_rate``
  716. Display the vcpu dirty rate information.
  717. ERST
  718. {
  719. .name = "vcpu_dirty_limit",
  720. .args_type = "",
  721. .params = "",
  722. .help = "show dirty page limit information of all vCPU",
  723. .cmd = hmp_info_vcpu_dirty_limit,
  724. },
  725. SRST
  726. ``info vcpu_dirty_limit``
  727. Display the vcpu dirty page limit information.
  728. ERST
  729. #if defined(TARGET_I386)
  730. {
  731. .name = "sgx",
  732. .args_type = "",
  733. .params = "",
  734. .help = "show intel SGX information",
  735. .cmd = hmp_info_sgx,
  736. },
  737. #endif
  738. SRST
  739. ``info sgx``
  740. Show intel SGX information.
  741. ERST
  742. #if defined(CONFIG_MOS6522)
  743. {
  744. .name = "via",
  745. .args_type = "",
  746. .params = "",
  747. .help = "show guest mos6522 VIA devices",
  748. .cmd = hmp_info_via,
  749. },
  750. #endif
  751. SRST
  752. ``info via``
  753. Show guest mos6522 VIA devices.
  754. ERST
  755. {
  756. .name = "stats",
  757. .args_type = "target:s,names:s?,provider:s?",
  758. .params = "target [names] [provider]",
  759. .help = "show statistics for the given target (vm or vcpu); optionally filter by"
  760. "name (comma-separated list, or * for all) and provider",
  761. .cmd = hmp_info_stats,
  762. },
  763. SRST
  764. ``info stats``
  765. Show runtime-collected statistics
  766. ERST
  767. {
  768. .name = "virtio",
  769. .args_type = "",
  770. .params = "",
  771. .help = "List all available virtio devices",
  772. .cmd = hmp_virtio_query,
  773. .flags = "p",
  774. },
  775. SRST
  776. ``info virtio``
  777. List all available virtio devices
  778. ERST
  779. {
  780. .name = "virtio-status",
  781. .args_type = "path:s",
  782. .params = "path",
  783. .help = "Display status of a given virtio device",
  784. .cmd = hmp_virtio_status,
  785. .flags = "p",
  786. },
  787. SRST
  788. ``info virtio-status`` *path*
  789. Display status of a given virtio device
  790. ERST
  791. {
  792. .name = "virtio-queue-status",
  793. .args_type = "path:s,queue:i",
  794. .params = "path queue",
  795. .help = "Display status of a given virtio queue",
  796. .cmd = hmp_virtio_queue_status,
  797. .flags = "p",
  798. },
  799. SRST
  800. ``info virtio-queue-status`` *path* *queue*
  801. Display status of a given virtio queue
  802. ERST
  803. {
  804. .name = "virtio-vhost-queue-status",
  805. .args_type = "path:s,queue:i",
  806. .params = "path queue",
  807. .help = "Display status of a given vhost queue",
  808. .cmd = hmp_vhost_queue_status,
  809. .flags = "p",
  810. },
  811. SRST
  812. ``info virtio-vhost-queue-status`` *path* *queue*
  813. Display status of a given vhost queue
  814. ERST
  815. {
  816. .name = "virtio-queue-element",
  817. .args_type = "path:s,queue:i,index:i?",
  818. .params = "path queue [index]",
  819. .help = "Display element of a given virtio queue",
  820. .cmd = hmp_virtio_queue_element,
  821. .flags = "p",
  822. },
  823. SRST
  824. ``info virtio-queue-element`` *path* *queue* [*index*]
  825. Display element of a given virtio queue
  826. ERST
  827. {
  828. .name = "cryptodev",
  829. .args_type = "",
  830. .params = "",
  831. .help = "show the crypto devices",
  832. .cmd = hmp_info_cryptodev,
  833. .flags = "p",
  834. },
  835. SRST
  836. ``info cryptodev``
  837. Show the crypto devices.
  838. ERST