X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=hmp-commands-info.hx;h=c59444c4616d52bc0368e3aff97ecbc07009a4dd;hb=23e1d054112cec1e9d3a29eb27b89335f42d3479;hp=ba98e581ab1c32964549edbad1d66cb2b71a80fd;hpb=c5eb5846d2d207bbde7f4b665d9ff90b92c8adff;p=mirror_qemu.git diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx index ba98e581ab..c59444c461 100644 --- a/hmp-commands-info.hx +++ b/hmp-commands-info.hx @@ -19,11 +19,12 @@ ETEXI .params = "", .help = "show the version of QEMU", .cmd = hmp_info_version, + .flags = "p", }, STEXI @item info version -@findex version +@findex info version Show the version of QEMU. ETEXI @@ -37,7 +38,7 @@ ETEXI STEXI @item info network -@findex network +@findex info network Show the network state. ETEXI @@ -47,11 +48,12 @@ ETEXI .params = "", .help = "show the character devices", .cmd = hmp_info_chardev, + .flags = "p", }, STEXI @item info chardev -@findex chardev +@findex info chardev Show the character devices. ETEXI @@ -66,7 +68,7 @@ ETEXI STEXI @item info block -@findex block +@findex info block Show info of one block device or all block devices. ETEXI @@ -80,7 +82,7 @@ ETEXI STEXI @item info blockstats -@findex blockstats +@findex info blockstats Show block device statistics. ETEXI @@ -94,7 +96,7 @@ ETEXI STEXI @item info block-jobs -@findex block-jobs +@findex info block-jobs Show progress of ongoing block device operations. ETEXI @@ -108,23 +110,24 @@ ETEXI STEXI @item info registers -@findex registers +@findex info registers Show the cpu registers. ETEXI #if defined(TARGET_I386) { .name = "lapic", - .args_type = "", - .params = "", - .help = "show local apic state", + .args_type = "apic-id:i?", + .params = "[apic-id]", + .help = "show local apic state (apic-id: local apic to read, default is which of current CPU)", + .cmd = hmp_info_local_apic, }, #endif STEXI @item info lapic -@findex lapic +@findex info lapic Show local APIC state ETEXI @@ -140,7 +143,7 @@ ETEXI STEXI @item info ioapic -@findex ioapic +@findex info ioapic Show io APIC state ETEXI @@ -154,7 +157,7 @@ ETEXI STEXI @item info cpus -@findex cpus +@findex info cpus Show infos for each CPU. ETEXI @@ -164,11 +167,12 @@ ETEXI .params = "", .help = "show the command line history", .cmd = hmp_info_history, + .flags = "p", }, STEXI @item info history -@findex history +@findex info history Show the command line history. ETEXI @@ -182,7 +186,7 @@ ETEXI STEXI @item info irq -@findex irq +@findex info irq Show the interrupts statistics (if available). ETEXI @@ -196,8 +200,22 @@ ETEXI 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 { @@ -210,12 +228,12 @@ ETEXI STEXI @item info pci -@findex pci +@findex info pci 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 = "", @@ -227,7 +245,7 @@ ETEXI STEXI @item info tlb -@findex tlb +@findex info tlb Show virtual to physical memory mappings. ETEXI @@ -243,24 +261,27 @@ ETEXI STEXI @item info mem -@findex mem +@findex info mem 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 -@findex mtree +@findex info mtree Show memory tree. ETEXI +#if defined(CONFIG_TCG) { .name = "jit", .args_type = "", @@ -268,13 +289,15 @@ ETEXI .help = "show dynamic compiler info", .cmd = hmp_info_jit, }, +#endif STEXI @item info jit -@findex jit +@findex info jit Show dynamic compiler info. ETEXI +#if defined(CONFIG_TCG) { .name = "opcount", .args_type = "", @@ -282,11 +305,34 @@ ETEXI .help = "show dynamic compiler opcode counters", .cmd = hmp_info_opcount, }, +#endif STEXI @item info opcount -@findex opcount +@findex info opcount 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 { @@ -299,7 +345,7 @@ ETEXI STEXI @item info kvm -@findex kvm +@findex info kvm Show KVM information. ETEXI @@ -313,7 +359,7 @@ ETEXI STEXI @item info numa -@findex numa +@findex info numa Show NUMA information. ETEXI @@ -327,7 +373,7 @@ ETEXI STEXI @item info usb -@findex usb +@findex info usb Show guest USB devices. ETEXI @@ -341,7 +387,7 @@ ETEXI STEXI @item info usbhost -@findex usbhost +@findex info usbhost Show host USB devices. ETEXI @@ -355,7 +401,7 @@ ETEXI STEXI @item info profile -@findex profile +@findex info profile Show profiling information. ETEXI @@ -369,7 +415,7 @@ ETEXI STEXI @item info capture -@findex capture +@findex info capture Show capture information. ETEXI @@ -383,7 +429,7 @@ ETEXI STEXI @item info snapshots -@findex snapshots +@findex info snapshots Show the currently saved VM snapshots. ETEXI @@ -393,11 +439,12 @@ ETEXI .params = "", .help = "show the current VM status (running|paused)", .cmd = hmp_info_status, + .flags = "p", }, STEXI @item info status -@findex status +@findex info status Show the current VM status (running|paused). ETEXI @@ -411,10 +458,11 @@ ETEXI STEXI @item info mice -@findex mice +@findex info mice Show which guest mouse is receiving events. ETEXI +#if defined(CONFIG_VNC) { .name = "vnc", .args_type = "", @@ -422,10 +470,11 @@ ETEXI .help = "show the vnc server status", .cmd = hmp_info_vnc, }, +#endif STEXI @item info vnc -@findex vnc +@findex info vnc Show the vnc server status. ETEXI @@ -441,7 +490,7 @@ ETEXI STEXI @item info spice -@findex spice +@findex info spice Show the spice server status. ETEXI @@ -451,11 +500,12 @@ ETEXI .params = "", .help = "show the current VM name", .cmd = hmp_info_name, + .flags = "p", }, STEXI @item info name -@findex name +@findex info name Show the current VM name. ETEXI @@ -465,11 +515,12 @@ ETEXI .params = "", .help = "show the current VM UUID", .cmd = hmp_info_uuid, + .flags = "p", }, STEXI @item info uuid -@findex uuid +@findex info uuid Show the current VM UUID. ETEXI @@ -483,7 +534,7 @@ ETEXI STEXI @item info cpustats -@findex cpustats +@findex info cpustats Show CPU statistics. ETEXI @@ -499,7 +550,7 @@ ETEXI STEXI @item info usernet -@findex usernet +@findex info usernet Show user network stack connection states. ETEXI @@ -513,7 +564,7 @@ ETEXI STEXI @item info migrate -@findex migrate +@findex info migrate Show migration status. ETEXI @@ -527,7 +578,7 @@ ETEXI STEXI @item info migrate_capabilities -@findex migrate_capabilities +@findex info migrate_capabilities Show current migration capabilities. ETEXI @@ -541,7 +592,7 @@ ETEXI STEXI @item info migrate_parameters -@findex migrate_parameters +@findex info migrate_parameters Show current migration parameters. ETEXI @@ -555,7 +606,7 @@ ETEXI STEXI @item info migrate_cache_size -@findex migrate_cache_size +@findex info migrate_cache_size Show current migration xbzrle cache size. ETEXI @@ -569,7 +620,7 @@ ETEXI STEXI @item info balloon -@findex balloon +@findex info balloon Show balloon information. ETEXI @@ -583,7 +634,7 @@ ETEXI STEXI @item info qtree -@findex qtree +@findex info qtree Show device tree. ETEXI @@ -597,7 +648,7 @@ ETEXI STEXI @item info qdm -@findex qdm +@findex info qdm Show qdev device model list. ETEXI @@ -607,11 +658,12 @@ ETEXI .params = "[path]", .help = "show QOM composition tree", .cmd = hmp_info_qom_tree, + .flags = "p", }, STEXI @item info qom-tree -@findex qom-tree +@findex info qom-tree Show QOM composition tree. ETEXI @@ -625,7 +677,7 @@ ETEXI STEXI @item info roms -@findex roms +@findex info roms Show roms. ETEXI @@ -641,7 +693,7 @@ ETEXI STEXI @item info trace-events -@findex trace-events +@findex info trace-events Show available trace-events & their state. ETEXI @@ -655,7 +707,7 @@ ETEXI STEXI @item info tpm -@findex tpm +@findex info tpm Show the TPM device. ETEXI @@ -665,11 +717,12 @@ ETEXI .params = "", .help = "show memory backends", .cmd = hmp_info_memdev, + .flags = "p", }, STEXI @item info memdev -@findex memdev +@findex info memdev Show memory backends ETEXI @@ -683,7 +736,7 @@ ETEXI STEXI @item info memory-devices -@findex memory-devices +@findex info memory-devices Show memory devices. ETEXI @@ -693,11 +746,12 @@ ETEXI .params = "", .help = "show iothreads", .cmd = hmp_info_iothreads, + .flags = "p", }, STEXI @item info iothreads -@findex iothreads +@findex info iothreads Show iothread's identifiers. ETEXI @@ -711,7 +765,7 @@ ETEXI STEXI @item info rocker @var{name} -@findex rocker +@findex info rocker Show rocker switch. ETEXI @@ -724,8 +778,8 @@ ETEXI }, 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 @@ -738,8 +792,8 @@ ETEXI }, 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 @@ -753,7 +807,7 @@ ETEXI 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 @@ -769,8 +823,24 @@ ETEXI STEXI @item info skeys @var{address} -@findex skeys +@findex info skeys Display the value of a storage key (s390 only) +ETEXI + +#if defined(TARGET_S390X) + { + .name = "cmma", + .args_type = "addr:l,count:l?", + .params = "address [count]", + .help = "Display the values of the CMMA storage attributes for a range of pages", + .cmd = hmp_info_cmma, + }, +#endif + +STEXI +@item info cmma @var{address} +@findex info cmma +Display the values of the CMMA storage attributes for a range of pages (s390 only) ETEXI { @@ -783,7 +853,7 @@ ETEXI STEXI @item info dump -@findex dump +@findex info dump Display the latest dump status. ETEXI @@ -797,7 +867,7 @@ ETEXI STEXI @item info ramblock -@findex ramblock +@findex info ramblock Dump all the ramblocks of the system. ETEXI @@ -807,28 +877,61 @@ ETEXI .params = "", .help = "Show information about hotpluggable CPUs", .cmd = hmp_hotpluggable_cpus, + .flags = "p", }, STEXI @item info hotpluggable-cpus -@findex hotpluggable-cpus +@findex info hotpluggable-cpus 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 -@findex vm-generation-id +@findex info vm-generation-id Show Virtual Machine Generation ID ETEXI { - .name = "vm-generation-id", + .name = "memory_size_summary", .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 +@findex info memory_size_summary +Display the amount of initially allocated and present hotpluggable (if +enabled) memory in bytes. +ETEXI + +#if defined(TARGET_I386) + { + .name = "sev", + .args_type = "", + .params = "", + .help = "show SEV information", + .cmd = hmp_info_sev, + }, +#endif + +STEXI +@item info sev +@findex info sev +Show SEV information. +ETEXI + STEXI @end table ETEXI