hmp-commands-info.hx 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009
  1. HXCOMM Use DEFHEADING() to define headings in both help text and rST.
  2. HXCOMM Text between SRST and ERST is copied to the rST version and
  3. HXCOMM discarded from C version.
  4. HXCOMM DEF(command, args, callback, arg_string, help) is used to construct
  5. HXCOMM monitor info commands
  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. #if defined(CONFIG_TCG)
  310. {
  311. .name = "profile",
  312. .args_type = "",
  313. .params = "",
  314. .help = "show profiling information",
  315. .cmd_info_hrt = qmp_x_query_profile,
  316. },
  317. #endif
  318. SRST
  319. ``info profile``
  320. Show profiling information.
  321. ERST
  322. {
  323. .name = "capture",
  324. .args_type = "",
  325. .params = "",
  326. .help = "show capture information",
  327. .cmd = hmp_info_capture,
  328. },
  329. SRST
  330. ``info capture``
  331. Show capture information.
  332. ERST
  333. {
  334. .name = "snapshots",
  335. .args_type = "",
  336. .params = "",
  337. .help = "show the currently saved VM snapshots",
  338. .cmd = hmp_info_snapshots,
  339. },
  340. SRST
  341. ``info snapshots``
  342. Show the currently saved VM snapshots.
  343. ERST
  344. {
  345. .name = "status",
  346. .args_type = "",
  347. .params = "",
  348. .help = "show the current VM status (running|paused)",
  349. .cmd = hmp_info_status,
  350. .flags = "p",
  351. },
  352. SRST
  353. ``info status``
  354. Show the current VM status (running|paused).
  355. ERST
  356. {
  357. .name = "mice",
  358. .args_type = "",
  359. .params = "",
  360. .help = "show which guest mouse is receiving events",
  361. .cmd = hmp_info_mice,
  362. },
  363. SRST
  364. ``info mice``
  365. Show which guest mouse is receiving events.
  366. ERST
  367. #if defined(CONFIG_VNC)
  368. {
  369. .name = "vnc",
  370. .args_type = "",
  371. .params = "",
  372. .help = "show the vnc server status",
  373. .cmd = hmp_info_vnc,
  374. },
  375. #endif
  376. SRST
  377. ``info vnc``
  378. Show the vnc server status.
  379. ERST
  380. #if defined(CONFIG_SPICE)
  381. {
  382. .name = "spice",
  383. .args_type = "",
  384. .params = "",
  385. .help = "show the spice server status",
  386. .cmd = hmp_info_spice,
  387. },
  388. #endif
  389. SRST
  390. ``info spice``
  391. Show the spice server status.
  392. ERST
  393. {
  394. .name = "name",
  395. .args_type = "",
  396. .params = "",
  397. .help = "show the current VM name",
  398. .cmd = hmp_info_name,
  399. .flags = "p",
  400. },
  401. SRST
  402. ``info name``
  403. Show the current VM name.
  404. ERST
  405. {
  406. .name = "uuid",
  407. .args_type = "",
  408. .params = "",
  409. .help = "show the current VM UUID",
  410. .cmd = hmp_info_uuid,
  411. .flags = "p",
  412. },
  413. SRST
  414. ``info uuid``
  415. Show the current VM UUID.
  416. ERST
  417. #if defined(CONFIG_SLIRP)
  418. {
  419. .name = "usernet",
  420. .args_type = "",
  421. .params = "",
  422. .help = "show user network stack connection states",
  423. .cmd = hmp_info_usernet,
  424. },
  425. #endif
  426. SRST
  427. ``info usernet``
  428. Show user network stack connection states.
  429. ERST
  430. {
  431. .name = "migrate",
  432. .args_type = "",
  433. .params = "",
  434. .help = "show migration status",
  435. .cmd = hmp_info_migrate,
  436. },
  437. SRST
  438. ``info migrate``
  439. Show migration status.
  440. ERST
  441. {
  442. .name = "migrate_capabilities",
  443. .args_type = "",
  444. .params = "",
  445. .help = "show current migration capabilities",
  446. .cmd = hmp_info_migrate_capabilities,
  447. },
  448. SRST
  449. ``info migrate_capabilities``
  450. Show current migration capabilities.
  451. ERST
  452. {
  453. .name = "migrate_parameters",
  454. .args_type = "",
  455. .params = "",
  456. .help = "show current migration parameters",
  457. .cmd = hmp_info_migrate_parameters,
  458. },
  459. SRST
  460. ``info migrate_parameters``
  461. Show current migration parameters.
  462. ERST
  463. {
  464. .name = "balloon",
  465. .args_type = "",
  466. .params = "",
  467. .help = "show balloon information",
  468. .cmd = hmp_info_balloon,
  469. },
  470. SRST
  471. ``info balloon``
  472. Show balloon information.
  473. ERST
  474. {
  475. .name = "qtree",
  476. .args_type = "",
  477. .params = "",
  478. .help = "show device tree",
  479. .cmd = hmp_info_qtree,
  480. },
  481. SRST
  482. ``info qtree``
  483. Show device tree.
  484. ERST
  485. {
  486. .name = "qdm",
  487. .args_type = "",
  488. .params = "",
  489. .help = "show qdev device model list",
  490. .cmd = hmp_info_qdm,
  491. },
  492. SRST
  493. ``info qdm``
  494. Show qdev device model list.
  495. ERST
  496. {
  497. .name = "qom-tree",
  498. .args_type = "path:s?",
  499. .params = "[path]",
  500. .help = "show QOM composition tree",
  501. .cmd = hmp_info_qom_tree,
  502. .flags = "p",
  503. },
  504. SRST
  505. ``info qom-tree``
  506. Show QOM composition tree.
  507. ERST
  508. {
  509. .name = "roms",
  510. .args_type = "",
  511. .params = "",
  512. .help = "show roms",
  513. .cmd_info_hrt = qmp_x_query_roms,
  514. },
  515. SRST
  516. ``info roms``
  517. Show roms.
  518. ERST
  519. {
  520. .name = "trace-events",
  521. .args_type = "name:s?,vcpu:i?",
  522. .params = "[name] [vcpu]",
  523. .help = "show available trace-events & their state "
  524. "(name: event name pattern; vcpu: vCPU to query, default is any)",
  525. .cmd = hmp_info_trace_events,
  526. .command_completion = info_trace_events_completion,
  527. },
  528. SRST
  529. ``info trace-events``
  530. Show available trace-events & their state.
  531. ERST
  532. {
  533. .name = "tpm",
  534. .args_type = "",
  535. .params = "",
  536. .help = "show the TPM device",
  537. .cmd = hmp_info_tpm,
  538. },
  539. SRST
  540. ``info tpm``
  541. Show the TPM device.
  542. ERST
  543. {
  544. .name = "memdev",
  545. .args_type = "",
  546. .params = "",
  547. .help = "show memory backends",
  548. .cmd = hmp_info_memdev,
  549. .flags = "p",
  550. },
  551. SRST
  552. ``info memdev``
  553. Show memory backends
  554. ERST
  555. {
  556. .name = "memory-devices",
  557. .args_type = "",
  558. .params = "",
  559. .help = "show memory devices",
  560. .cmd = hmp_info_memory_devices,
  561. },
  562. SRST
  563. ``info memory-devices``
  564. Show memory devices.
  565. ERST
  566. {
  567. .name = "iothreads",
  568. .args_type = "",
  569. .params = "",
  570. .help = "show iothreads",
  571. .cmd = hmp_info_iothreads,
  572. .flags = "p",
  573. },
  574. SRST
  575. ``info iothreads``
  576. Show iothread's identifiers.
  577. ERST
  578. {
  579. .name = "rocker",
  580. .args_type = "name:s",
  581. .params = "name",
  582. .help = "Show rocker switch",
  583. .cmd = hmp_rocker,
  584. },
  585. SRST
  586. ``info rocker`` *name*
  587. Show rocker switch.
  588. ERST
  589. {
  590. .name = "rocker-ports",
  591. .args_type = "name:s",
  592. .params = "name",
  593. .help = "Show rocker ports",
  594. .cmd = hmp_rocker_ports,
  595. },
  596. SRST
  597. ``info rocker-ports`` *name*-ports
  598. Show rocker ports.
  599. ERST
  600. {
  601. .name = "rocker-of-dpa-flows",
  602. .args_type = "name:s,tbl_id:i?",
  603. .params = "name [tbl_id]",
  604. .help = "Show rocker OF-DPA flow tables",
  605. .cmd = hmp_rocker_of_dpa_flows,
  606. },
  607. SRST
  608. ``info rocker-of-dpa-flows`` *name* [*tbl_id*]
  609. Show rocker OF-DPA flow tables.
  610. ERST
  611. {
  612. .name = "rocker-of-dpa-groups",
  613. .args_type = "name:s,type:i?",
  614. .params = "name [type]",
  615. .help = "Show rocker OF-DPA groups",
  616. .cmd = hmp_rocker_of_dpa_groups,
  617. },
  618. SRST
  619. ``info rocker-of-dpa-groups`` *name* [*type*]
  620. Show rocker OF-DPA groups.
  621. ERST
  622. #if defined(TARGET_S390X)
  623. {
  624. .name = "skeys",
  625. .args_type = "addr:l",
  626. .params = "address",
  627. .help = "Display the value of a storage key",
  628. .cmd = hmp_info_skeys,
  629. },
  630. #endif
  631. SRST
  632. ``info skeys`` *address*
  633. Display the value of a storage key (s390 only)
  634. ERST
  635. #if defined(TARGET_S390X)
  636. {
  637. .name = "cmma",
  638. .args_type = "addr:l,count:l?",
  639. .params = "address [count]",
  640. .help = "Display the values of the CMMA storage attributes for a range of pages",
  641. .cmd = hmp_info_cmma,
  642. },
  643. #endif
  644. SRST
  645. ``info cmma`` *address*
  646. Display the values of the CMMA storage attributes for a range of
  647. pages (s390 only)
  648. ERST
  649. {
  650. .name = "dump",
  651. .args_type = "",
  652. .params = "",
  653. .help = "Display the latest dump status",
  654. .cmd = hmp_info_dump,
  655. },
  656. SRST
  657. ``info dump``
  658. Display the latest dump status.
  659. ERST
  660. {
  661. .name = "ramblock",
  662. .args_type = "",
  663. .params = "",
  664. .help = "Display system ramblock information",
  665. .cmd_info_hrt = qmp_x_query_ramblock,
  666. },
  667. SRST
  668. ``info ramblock``
  669. Dump all the ramblocks of the system.
  670. ERST
  671. {
  672. .name = "hotpluggable-cpus",
  673. .args_type = "",
  674. .params = "",
  675. .help = "Show information about hotpluggable CPUs",
  676. .cmd = hmp_hotpluggable_cpus,
  677. .flags = "p",
  678. },
  679. SRST
  680. ``info hotpluggable-cpus``
  681. Show information about hotpluggable CPUs
  682. ERST
  683. {
  684. .name = "vm-generation-id",
  685. .args_type = "",
  686. .params = "",
  687. .help = "Show Virtual Machine Generation ID",
  688. .cmd = hmp_info_vm_generation_id,
  689. },
  690. SRST
  691. ``info vm-generation-id``
  692. Show Virtual Machine Generation ID
  693. ERST
  694. {
  695. .name = "memory_size_summary",
  696. .args_type = "",
  697. .params = "",
  698. .help = "show the amount of initially allocated and "
  699. "present hotpluggable (if enabled) memory in bytes.",
  700. .cmd = hmp_info_memory_size_summary,
  701. },
  702. SRST
  703. ``info memory_size_summary``
  704. Display the amount of initially allocated and present hotpluggable (if
  705. enabled) memory in bytes.
  706. ERST
  707. #if defined(TARGET_I386)
  708. {
  709. .name = "sev",
  710. .args_type = "",
  711. .params = "",
  712. .help = "show SEV information",
  713. .cmd = hmp_info_sev,
  714. },
  715. #endif
  716. SRST
  717. ``info sev``
  718. Show SEV information.
  719. ERST
  720. {
  721. .name = "replay",
  722. .args_type = "",
  723. .params = "",
  724. .help = "show record/replay information",
  725. .cmd = hmp_info_replay,
  726. },
  727. SRST
  728. ``info replay``
  729. Display the record/replay information: mode and the current icount.
  730. ERST
  731. {
  732. .name = "dirty_rate",
  733. .args_type = "",
  734. .params = "",
  735. .help = "show dirty rate information",
  736. .cmd = hmp_info_dirty_rate,
  737. },
  738. SRST
  739. ``info dirty_rate``
  740. Display the vcpu dirty rate information.
  741. ERST
  742. {
  743. .name = "vcpu_dirty_limit",
  744. .args_type = "",
  745. .params = "",
  746. .help = "show dirty page limit information of all vCPU",
  747. .cmd = hmp_info_vcpu_dirty_limit,
  748. },
  749. SRST
  750. ``info vcpu_dirty_limit``
  751. Display the vcpu dirty page limit information.
  752. ERST
  753. #if defined(TARGET_I386)
  754. {
  755. .name = "sgx",
  756. .args_type = "",
  757. .params = "",
  758. .help = "show intel SGX information",
  759. .cmd = hmp_info_sgx,
  760. },
  761. #endif
  762. SRST
  763. ``info sgx``
  764. Show intel SGX information.
  765. ERST
  766. #if defined(CONFIG_MOS6522)
  767. {
  768. .name = "via",
  769. .args_type = "",
  770. .params = "",
  771. .help = "show guest mos6522 VIA devices",
  772. .cmd = hmp_info_via,
  773. },
  774. #endif
  775. SRST
  776. ``info via``
  777. Show guest mos6522 VIA devices.
  778. ERST
  779. {
  780. .name = "stats",
  781. .args_type = "target:s,names:s?,provider:s?",
  782. .params = "target [names] [provider]",
  783. .help = "show statistics for the given target (vm or vcpu); optionally filter by"
  784. "name (comma-separated list, or * for all) and provider",
  785. .cmd = hmp_info_stats,
  786. },
  787. SRST
  788. ``stats``
  789. Show runtime-collected statistics
  790. ERST
  791. {
  792. .name = "virtio",
  793. .args_type = "",
  794. .params = "",
  795. .help = "List all available virtio devices",
  796. .cmd = hmp_virtio_query,
  797. .flags = "p",
  798. },
  799. SRST
  800. ``info virtio``
  801. List all available virtio devices
  802. ERST
  803. {
  804. .name = "virtio-status",
  805. .args_type = "path:s",
  806. .params = "path",
  807. .help = "Display status of a given virtio device",
  808. .cmd = hmp_virtio_status,
  809. .flags = "p",
  810. },
  811. SRST
  812. ``info virtio-status`` *path*
  813. Display status of a given virtio device
  814. ERST
  815. {
  816. .name = "virtio-queue-status",
  817. .args_type = "path:s,queue:i",
  818. .params = "path queue",
  819. .help = "Display status of a given virtio queue",
  820. .cmd = hmp_virtio_queue_status,
  821. .flags = "p",
  822. },
  823. SRST
  824. ``info virtio-queue-status`` *path* *queue*
  825. Display status of a given virtio queue
  826. ERST
  827. {
  828. .name = "virtio-vhost-queue-status",
  829. .args_type = "path:s,queue:i",
  830. .params = "path queue",
  831. .help = "Display status of a given vhost queue",
  832. .cmd = hmp_vhost_queue_status,
  833. .flags = "p",
  834. },
  835. SRST
  836. ``info virtio-vhost-queue-status`` *path* *queue*
  837. Display status of a given vhost queue
  838. ERST
  839. {
  840. .name = "virtio-queue-element",
  841. .args_type = "path:s,queue:i,index:i?",
  842. .params = "path queue [index]",
  843. .help = "Display element of a given virtio queue",
  844. .cmd = hmp_virtio_queue_element,
  845. .flags = "p",
  846. },
  847. SRST
  848. ``info virtio-queue-element`` *path* *queue* [*index*]
  849. Display element of a given virtio queue
  850. ERST
  851. {
  852. .name = "cryptodev",
  853. .args_type = "",
  854. .params = "",
  855. .help = "show the crypto devices",
  856. .cmd = hmp_info_cryptodev,
  857. .flags = "p",
  858. },
  859. SRST
  860. ``info cryptodev``
  861. Show the crypto devices.
  862. ERST