]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hmp-commands-info.hx
virtio: add "use-started" property
[mirror_qemu.git] / hmp-commands-info.hx
index 1c6772597d6683daacf951166d3f3ae9208c9f30..c59444c4616d52bc0368e3aff97ecbc07009a4dd 100644 (file)
@@ -19,11 +19,12 @@ ETEXI
         .params     = "",
         .help       = "show the version of QEMU",
         .cmd        = hmp_info_version,
         .params     = "",
         .help       = "show the version of QEMU",
         .cmd        = hmp_info_version,
+        .flags      = "p",
     },
 
 STEXI
 @item info version
     },
 
 STEXI
 @item info version
-@findex version
+@findex info version
 Show the version of QEMU.
 ETEXI
 
 Show the version of QEMU.
 ETEXI
 
@@ -37,7 +38,7 @@ ETEXI
 
 STEXI
 @item info network
 
 STEXI
 @item info network
-@findex network
+@findex info network
 Show the network state.
 ETEXI
 
 Show the network state.
 ETEXI
 
@@ -47,11 +48,12 @@ ETEXI
         .params     = "",
         .help       = "show the character devices",
         .cmd        = hmp_info_chardev,
         .params     = "",
         .help       = "show the character devices",
         .cmd        = hmp_info_chardev,
+        .flags      = "p",
     },
 
 STEXI
 @item info chardev
     },
 
 STEXI
 @item info chardev
-@findex chardev
+@findex info chardev
 Show the character devices.
 ETEXI
 
 Show the character devices.
 ETEXI
 
@@ -66,7 +68,7 @@ ETEXI
 
 STEXI
 @item info block
 
 STEXI
 @item info block
-@findex block
+@findex info block
 Show info of one block device or all block devices.
 ETEXI
 
 Show info of one block device or all block devices.
 ETEXI
 
@@ -80,7 +82,7 @@ ETEXI
 
 STEXI
 @item info blockstats
 
 STEXI
 @item info blockstats
-@findex blockstats
+@findex info blockstats
 Show block device statistics.
 ETEXI
 
 Show block device statistics.
 ETEXI
 
@@ -94,7 +96,7 @@ ETEXI
 
 STEXI
 @item info block-jobs
 
 STEXI
 @item info block-jobs
-@findex block-jobs
+@findex info block-jobs
 Show progress of ongoing block device operations.
 ETEXI
 
 Show progress of ongoing block device operations.
 ETEXI
 
@@ -108,7 +110,7 @@ ETEXI
 
 STEXI
 @item info registers
 
 STEXI
 @item info registers
-@findex registers
+@findex info registers
 Show the cpu registers.
 ETEXI
 
 Show the cpu registers.
 ETEXI
 
@@ -125,7 +127,7 @@ ETEXI
 
 STEXI
 @item info lapic
 
 STEXI
 @item info lapic
-@findex lapic
+@findex info lapic
 Show local APIC state
 ETEXI
 
 Show local APIC state
 ETEXI
 
@@ -141,7 +143,7 @@ ETEXI
 
 STEXI
 @item info ioapic
 
 STEXI
 @item info ioapic
-@findex ioapic
+@findex info ioapic
 Show io APIC state
 ETEXI
 
 Show io APIC state
 ETEXI
 
@@ -155,7 +157,7 @@ ETEXI
 
 STEXI
 @item info cpus
 
 STEXI
 @item info cpus
-@findex cpus
+@findex info cpus
 Show infos for each CPU.
 ETEXI
 
 Show infos for each CPU.
 ETEXI
 
@@ -165,11 +167,12 @@ ETEXI
         .params     = "",
         .help       = "show the command line history",
         .cmd        = hmp_info_history,
         .params     = "",
         .help       = "show the command line history",
         .cmd        = hmp_info_history,
+        .flags      = "p",
     },
 
 STEXI
 @item info history
     },
 
 STEXI
 @item info history
-@findex history
+@findex info history
 Show the command line history.
 ETEXI
 
 Show the command line history.
 ETEXI
 
@@ -183,7 +186,7 @@ ETEXI
 
 STEXI
 @item info irq
 
 STEXI
 @item info irq
-@findex irq
+@findex info irq
 Show the interrupts statistics (if available).
 ETEXI
 
 Show the interrupts statistics (if available).
 ETEXI
 
@@ -197,8 +200,22 @@ ETEXI
 
 STEXI
 @item info pic
 
 STEXI
 @item info pic
-@findex pic
-Show i8259 (PIC) state.
+@findex info pic
+Show PIC state.
+ETEXI
+
+    {
+        .name       = "rdma",
+        .args_type  = "",
+        .params     = "",
+        .help       = "show RDMA state",
+        .cmd        = hmp_info_rdma,
+    },
+
+STEXI
+@item info rdma
+@findex info rdma
+Show RDMA state.
 ETEXI
 
     {
 ETEXI
 
     {
@@ -211,12 +228,12 @@ ETEXI
 
 STEXI
 @item info pci
 
 STEXI
 @item info pci
-@findex pci
+@findex info pci
 Show PCI information.
 ETEXI
 
 #if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
 Show PCI information.
 ETEXI
 
 #if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
-    defined(TARGET_PPC) || defined(TARGET_XTENSA)
+    defined(TARGET_PPC) || defined(TARGET_XTENSA) || defined(TARGET_M68K)
     {
         .name       = "tlb",
         .args_type  = "",
     {
         .name       = "tlb",
         .args_type  = "",
@@ -228,7 +245,7 @@ ETEXI
 
 STEXI
 @item info tlb
 
 STEXI
 @item info tlb
-@findex tlb
+@findex info tlb
 Show virtual to physical memory mappings.
 ETEXI
 
 Show virtual to physical memory mappings.
 ETEXI
 
@@ -244,21 +261,23 @@ ETEXI
 
 STEXI
 @item info mem
 
 STEXI
 @item info mem
-@findex mem
+@findex info mem
 Show the active virtual memory mappings.
 ETEXI
 
     {
         .name       = "mtree",
 Show the active virtual memory mappings.
 ETEXI
 
     {
         .name       = "mtree",
-        .args_type  = "flatview:-f",
-        .params     = "[-f]",
-        .help       = "show memory tree (-f: dump flat view for address spaces)",
+        .args_type  = "flatview:-f,dispatch_tree:-d,owner:-o",
+        .params     = "[-f][-d][-o]",
+        .help       = "show memory tree (-f: dump flat view for address spaces;"
+                      "-d: dump dispatch tree, valid with -f only);"
+                      "-o: dump region owners/parents",
         .cmd        = hmp_info_mtree,
     },
 
 STEXI
 @item info mtree
         .cmd        = hmp_info_mtree,
     },
 
 STEXI
 @item info mtree
-@findex mtree
+@findex info mtree
 Show memory tree.
 ETEXI
 
 Show memory tree.
 ETEXI
 
@@ -274,7 +293,7 @@ ETEXI
 
 STEXI
 @item info jit
 
 STEXI
 @item info jit
-@findex jit
+@findex info jit
 Show dynamic compiler info.
 ETEXI
 
 Show dynamic compiler info.
 ETEXI
 
@@ -290,8 +309,30 @@ ETEXI
 
 STEXI
 @item info opcount
 
 STEXI
 @item info opcount
-@findex opcount
+@findex info opcount
 Show dynamic compiler opcode counters
 Show dynamic compiler opcode counters
+ETEXI
+
+    {
+        .name       = "sync-profile",
+        .args_type  = "mean:-m,no_coalesce:-n,max:i?",
+        .params     = "[-m] [-n] [max]",
+        .help       = "show synchronization profiling info, up to max entries "
+                      "(default: 10), sorted by total wait time. (-m: sort by "
+                      "mean wait time; -n: do not coalesce objects with the "
+                      "same call site)",
+        .cmd        = hmp_info_sync_profile,
+    },
+
+STEXI
+@item info sync-profile [-m|-n] [@var{max}]
+@findex info sync-profile
+Show synchronization profiling info, up to @var{max} entries (default: 10),
+sorted by total wait time.
+        -m: sort by mean wait time
+        -n: do not coalesce objects with the same call site
+When different objects that share the same call site are coalesced, the "Object"
+field shows---enclosed in brackets---the number of objects being coalesced.
 ETEXI
 
     {
 ETEXI
 
     {
@@ -304,7 +345,7 @@ ETEXI
 
 STEXI
 @item info kvm
 
 STEXI
 @item info kvm
-@findex kvm
+@findex info kvm
 Show KVM information.
 ETEXI
 
 Show KVM information.
 ETEXI
 
@@ -318,7 +359,7 @@ ETEXI
 
 STEXI
 @item info numa
 
 STEXI
 @item info numa
-@findex numa
+@findex info numa
 Show NUMA information.
 ETEXI
 
 Show NUMA information.
 ETEXI
 
@@ -332,7 +373,7 @@ ETEXI
 
 STEXI
 @item info usb
 
 STEXI
 @item info usb
-@findex usb
+@findex info usb
 Show guest USB devices.
 ETEXI
 
 Show guest USB devices.
 ETEXI
 
@@ -346,7 +387,7 @@ ETEXI
 
 STEXI
 @item info usbhost
 
 STEXI
 @item info usbhost
-@findex usbhost
+@findex info usbhost
 Show host USB devices.
 ETEXI
 
 Show host USB devices.
 ETEXI
 
@@ -360,7 +401,7 @@ ETEXI
 
 STEXI
 @item info profile
 
 STEXI
 @item info profile
-@findex profile
+@findex info profile
 Show profiling information.
 ETEXI
 
 Show profiling information.
 ETEXI
 
@@ -374,7 +415,7 @@ ETEXI
 
 STEXI
 @item info capture
 
 STEXI
 @item info capture
-@findex capture
+@findex info capture
 Show capture information.
 ETEXI
 
 Show capture information.
 ETEXI
 
@@ -388,7 +429,7 @@ ETEXI
 
 STEXI
 @item info snapshots
 
 STEXI
 @item info snapshots
-@findex snapshots
+@findex info snapshots
 Show the currently saved VM snapshots.
 ETEXI
 
 Show the currently saved VM snapshots.
 ETEXI
 
@@ -398,11 +439,12 @@ ETEXI
         .params     = "",
         .help       = "show the current VM status (running|paused)",
         .cmd        = hmp_info_status,
         .params     = "",
         .help       = "show the current VM status (running|paused)",
         .cmd        = hmp_info_status,
+        .flags      = "p",
     },
 
 STEXI
 @item info status
     },
 
 STEXI
 @item info status
-@findex status
+@findex info status
 Show the current VM status (running|paused).
 ETEXI
 
 Show the current VM status (running|paused).
 ETEXI
 
@@ -416,10 +458,11 @@ ETEXI
 
 STEXI
 @item info mice
 
 STEXI
 @item info mice
-@findex mice
+@findex info mice
 Show which guest mouse is receiving events.
 ETEXI
 
 Show which guest mouse is receiving events.
 ETEXI
 
+#if defined(CONFIG_VNC)
     {
         .name       = "vnc",
         .args_type  = "",
     {
         .name       = "vnc",
         .args_type  = "",
@@ -427,10 +470,11 @@ ETEXI
         .help       = "show the vnc server status",
         .cmd        = hmp_info_vnc,
     },
         .help       = "show the vnc server status",
         .cmd        = hmp_info_vnc,
     },
+#endif
 
 STEXI
 @item info vnc
 
 STEXI
 @item info vnc
-@findex vnc
+@findex info vnc
 Show the vnc server status.
 ETEXI
 
 Show the vnc server status.
 ETEXI
 
@@ -446,7 +490,7 @@ ETEXI
 
 STEXI
 @item info spice
 
 STEXI
 @item info spice
-@findex spice
+@findex info spice
 Show the spice server status.
 ETEXI
 
 Show the spice server status.
 ETEXI
 
@@ -456,11 +500,12 @@ ETEXI
         .params     = "",
         .help       = "show the current VM name",
         .cmd        = hmp_info_name,
         .params     = "",
         .help       = "show the current VM name",
         .cmd        = hmp_info_name,
+        .flags      = "p",
     },
 
 STEXI
 @item info name
     },
 
 STEXI
 @item info name
-@findex name
+@findex info name
 Show the current VM name.
 ETEXI
 
 Show the current VM name.
 ETEXI
 
@@ -470,11 +515,12 @@ ETEXI
         .params     = "",
         .help       = "show the current VM UUID",
         .cmd        = hmp_info_uuid,
         .params     = "",
         .help       = "show the current VM UUID",
         .cmd        = hmp_info_uuid,
+        .flags      = "p",
     },
 
 STEXI
 @item info uuid
     },
 
 STEXI
 @item info uuid
-@findex uuid
+@findex info uuid
 Show the current VM UUID.
 ETEXI
 
 Show the current VM UUID.
 ETEXI
 
@@ -488,7 +534,7 @@ ETEXI
 
 STEXI
 @item info cpustats
 
 STEXI
 @item info cpustats
-@findex cpustats
+@findex info cpustats
 Show CPU statistics.
 ETEXI
 
 Show CPU statistics.
 ETEXI
 
@@ -504,7 +550,7 @@ ETEXI
 
 STEXI
 @item info usernet
 
 STEXI
 @item info usernet
-@findex usernet
+@findex info usernet
 Show user network stack connection states.
 ETEXI
 
 Show user network stack connection states.
 ETEXI
 
@@ -518,7 +564,7 @@ ETEXI
 
 STEXI
 @item info migrate
 
 STEXI
 @item info migrate
-@findex migrate
+@findex info migrate
 Show migration status.
 ETEXI
 
 Show migration status.
 ETEXI
 
@@ -532,7 +578,7 @@ ETEXI
 
 STEXI
 @item info migrate_capabilities
 
 STEXI
 @item info migrate_capabilities
-@findex migrate_capabilities
+@findex info migrate_capabilities
 Show current migration capabilities.
 ETEXI
 
 Show current migration capabilities.
 ETEXI
 
@@ -546,7 +592,7 @@ ETEXI
 
 STEXI
 @item info migrate_parameters
 
 STEXI
 @item info migrate_parameters
-@findex migrate_parameters
+@findex info migrate_parameters
 Show current migration parameters.
 ETEXI
 
 Show current migration parameters.
 ETEXI
 
@@ -560,7 +606,7 @@ ETEXI
 
 STEXI
 @item info migrate_cache_size
 
 STEXI
 @item info migrate_cache_size
-@findex migrate_cache_size
+@findex info migrate_cache_size
 Show current migration xbzrle cache size.
 ETEXI
 
 Show current migration xbzrle cache size.
 ETEXI
 
@@ -574,7 +620,7 @@ ETEXI
 
 STEXI
 @item info balloon
 
 STEXI
 @item info balloon
-@findex balloon
+@findex info balloon
 Show balloon information.
 ETEXI
 
 Show balloon information.
 ETEXI
 
@@ -588,7 +634,7 @@ ETEXI
 
 STEXI
 @item info qtree
 
 STEXI
 @item info qtree
-@findex qtree
+@findex info qtree
 Show device tree.
 ETEXI
 
 Show device tree.
 ETEXI
 
@@ -602,7 +648,7 @@ ETEXI
 
 STEXI
 @item info qdm
 
 STEXI
 @item info qdm
-@findex qdm
+@findex info qdm
 Show qdev device model list.
 ETEXI
 
 Show qdev device model list.
 ETEXI
 
@@ -612,11 +658,12 @@ ETEXI
         .params     = "[path]",
         .help       = "show QOM composition tree",
         .cmd        = hmp_info_qom_tree,
         .params     = "[path]",
         .help       = "show QOM composition tree",
         .cmd        = hmp_info_qom_tree,
+        .flags      = "p",
     },
 
 STEXI
 @item info qom-tree
     },
 
 STEXI
 @item info qom-tree
-@findex qom-tree
+@findex info qom-tree
 Show QOM composition tree.
 ETEXI
 
 Show QOM composition tree.
 ETEXI
 
@@ -630,7 +677,7 @@ ETEXI
 
 STEXI
 @item info roms
 
 STEXI
 @item info roms
-@findex roms
+@findex info roms
 Show roms.
 ETEXI
 
 Show roms.
 ETEXI
 
@@ -646,7 +693,7 @@ ETEXI
 
 STEXI
 @item info trace-events
 
 STEXI
 @item info trace-events
-@findex trace-events
+@findex info trace-events
 Show available trace-events & their state.
 ETEXI
 
 Show available trace-events & their state.
 ETEXI
 
@@ -660,7 +707,7 @@ ETEXI
 
 STEXI
 @item info tpm
 
 STEXI
 @item info tpm
-@findex tpm
+@findex info tpm
 Show the TPM device.
 ETEXI
 
 Show the TPM device.
 ETEXI
 
@@ -670,11 +717,12 @@ ETEXI
         .params     = "",
         .help       = "show memory backends",
         .cmd        = hmp_info_memdev,
         .params     = "",
         .help       = "show memory backends",
         .cmd        = hmp_info_memdev,
+        .flags      = "p",
     },
 
 STEXI
 @item info memdev
     },
 
 STEXI
 @item info memdev
-@findex memdev
+@findex info memdev
 Show memory backends
 ETEXI
 
 Show memory backends
 ETEXI
 
@@ -688,7 +736,7 @@ ETEXI
 
 STEXI
 @item info memory-devices
 
 STEXI
 @item info memory-devices
-@findex memory-devices
+@findex info memory-devices
 Show memory devices.
 ETEXI
 
 Show memory devices.
 ETEXI
 
@@ -698,11 +746,12 @@ ETEXI
         .params     = "",
         .help       = "show iothreads",
         .cmd        = hmp_info_iothreads,
         .params     = "",
         .help       = "show iothreads",
         .cmd        = hmp_info_iothreads,
+        .flags      = "p",
     },
 
 STEXI
 @item info iothreads
     },
 
 STEXI
 @item info iothreads
-@findex iothreads
+@findex info iothreads
 Show iothread's identifiers.
 ETEXI
 
 Show iothread's identifiers.
 ETEXI
 
@@ -716,7 +765,7 @@ ETEXI
 
 STEXI
 @item info rocker @var{name}
 
 STEXI
 @item info rocker @var{name}
-@findex rocker
+@findex info rocker
 Show rocker switch.
 ETEXI
 
 Show rocker switch.
 ETEXI
 
@@ -729,8 +778,8 @@ ETEXI
     },
 
 STEXI
     },
 
 STEXI
-@item info rocker_ports @var{name}-ports
-@findex ocker-ports
+@item info rocker-ports @var{name}-ports
+@findex info rocker-ports
 Show rocker ports.
 ETEXI
 
 Show rocker ports.
 ETEXI
 
@@ -743,8 +792,8 @@ ETEXI
     },
 
 STEXI
     },
 
 STEXI
-@item info rocker_of_dpa_flows @var{name} [@var{tbl_id}]
-@findex rocker-of-dpa-flows
+@item info rocker-of-dpa-flows @var{name} [@var{tbl_id}]
+@findex info rocker-of-dpa-flows
 Show rocker OF-DPA flow tables.
 ETEXI
 
 Show rocker OF-DPA flow tables.
 ETEXI
 
@@ -758,7 +807,7 @@ ETEXI
 
 STEXI
 @item info rocker-of-dpa-groups @var{name} [@var{type}]
 
 STEXI
 @item info rocker-of-dpa-groups @var{name} [@var{type}]
-@findex rocker-of-dpa-groups
+@findex info rocker-of-dpa-groups
 Show rocker OF-DPA groups.
 ETEXI
 
 Show rocker OF-DPA groups.
 ETEXI
 
@@ -774,7 +823,7 @@ ETEXI
 
 STEXI
 @item info skeys @var{address}
 
 STEXI
 @item info skeys @var{address}
-@findex skeys
+@findex info skeys
 Display the value of a storage key (s390 only)
 ETEXI
 
 Display the value of a storage key (s390 only)
 ETEXI
 
@@ -790,7 +839,7 @@ ETEXI
 
 STEXI
 @item info cmma @var{address}
 
 STEXI
 @item info cmma @var{address}
-@findex cmma
+@findex info cmma
 Display the values of the CMMA storage attributes for a range of pages (s390 only)
 ETEXI
 
 Display the values of the CMMA storage attributes for a range of pages (s390 only)
 ETEXI
 
@@ -804,7 +853,7 @@ ETEXI
 
 STEXI
 @item info dump
 
 STEXI
 @item info dump
-@findex dump
+@findex info dump
 Display the latest dump status.
 ETEXI
 
 Display the latest dump status.
 ETEXI
 
@@ -818,7 +867,7 @@ ETEXI
 
 STEXI
 @item info ramblock
 
 STEXI
 @item info ramblock
-@findex ramblock
+@findex info ramblock
 Dump all the ramblocks of the system.
 ETEXI
 
 Dump all the ramblocks of the system.
 ETEXI
 
@@ -828,43 +877,60 @@ ETEXI
         .params     = "",
         .help       = "Show information about hotpluggable CPUs",
         .cmd        = hmp_hotpluggable_cpus,
         .params     = "",
         .help       = "Show information about hotpluggable CPUs",
         .cmd        = hmp_hotpluggable_cpus,
+        .flags      = "p",
     },
 
 STEXI
 @item info hotpluggable-cpus
     },
 
 STEXI
 @item info hotpluggable-cpus
-@findex hotpluggable-cpus
+@findex info hotpluggable-cpus
 Show information about hotpluggable CPUs
 ETEXI
 
 Show information about hotpluggable CPUs
 ETEXI
 
+    {
+        .name       = "vm-generation-id",
+        .args_type  = "",
+        .params     = "",
+        .help       = "Show Virtual Machine Generation ID",
+        .cmd = hmp_info_vm_generation_id,
+    },
+
 STEXI
 @item info vm-generation-id
 STEXI
 @item info vm-generation-id
-@findex vm-generation-id
+@findex info vm-generation-id
 Show Virtual Machine Generation ID
 ETEXI
 
     {
 Show Virtual Machine Generation ID
 ETEXI
 
     {
-        .name       = "vm-generation-id",
+        .name       = "memory_size_summary",
         .args_type  = "",
         .params     = "",
         .args_type  = "",
         .params     = "",
-        .help       = "Show Virtual Machine Generation ID",
-        .cmd = hmp_info_vm_generation_id,
+        .help       = "show the amount of initially allocated and "
+                      "present hotpluggable (if enabled) memory in bytes.",
+        .cmd        = hmp_info_memory_size_summary,
     },
 
 STEXI
 @item info memory_size_summary
     },
 
 STEXI
 @item info memory_size_summary
-@findex memory_size_summary
+@findex info memory_size_summary
 Display the amount of initially allocated and present hotpluggable (if
 enabled) memory in bytes.
 ETEXI
 
 Display the amount of initially allocated and present hotpluggable (if
 enabled) memory in bytes.
 ETEXI
 
+#if defined(TARGET_I386)
     {
     {
-        .name       = "memory_size_summary",
+        .name       = "sev",
         .args_type  = "",
         .params     = "",
         .args_type  = "",
         .params     = "",
-        .help       = "show the amount of initially allocated and "
-                      "present hotpluggable (if enabled) memory in bytes.",
-        .cmd        = hmp_info_memory_size_summary,
+        .help       = "show SEV information",
+        .cmd        = hmp_info_sev,
     },
     },
+#endif
+
+STEXI
+@item info sev
+@findex info sev
+Show SEV information.
+ETEXI
 
 STEXI
 @end table
 
 STEXI
 @end table