The command introduced here is just for developers. This means that: - the info displayed and the output format could change in the future - the command is only meant to be used from HMP, not from QMP Sample output: (qemu) sync-profile sync-profile is off (qemu) info sync-profile Type Object Call site Wait Time (s) Count Average (us) ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- (qemu) sync-profile on (qemu) sync-profile sync-profile is on (qemu) info sync-profile 15 Type Object Call site Wait Time (s) Count Average (us) ---------------------------------------------------------------------------------------------- condvar 0x55a01813ced0 cpus.c:1165 91.38235 2842 32154.24 BQL mutex 0x55a0171b7140 cpus.c:1434 12.56490 5787 2171.23 BQL mutex 0x55a0171b7140 accel/tcg/cpu-exec.c:432 7.75846 2844 2728.01 BQL mutex 0x55a0171b7140 accel/tcg/cputlb.c:870 5.09889 2884 1767.99 BQL mutex 0x55a0171b7140 accel/tcg/cpu-exec.c:529 3.46140 3254 1063.74 BQL mutex 0x55a0171b7140 accel/tcg/cputlb.c:804 0.76333 8655 88.20 BQL mutex 0x55a0171b7140 cpus.c:1466 0.60893 2941 207.05 BQL mutex 0x55a0171b7140 util/main-loop.c:236 0.00894 6425 1.39 mutex [ 3] util/qemu-timer.c:520 0.00342 50611 0.07 mutex [ 2] util/qemu-timer.c:426 0.00254 31336 0.08 mutex [ 3] util/qemu-timer.c:234 0.00107 19275 0.06 mutex 0x55a0171d9960 vl.c:763 0.00043 6425 0.07 mutex 0x55a0180d1bb0 monitor.c:458 0.00015 1603 0.09 mutex 0x55a0180e4c78 chardev/char.c:109 0.00002 217 0.08 mutex 0x55a0180d1bb0 monitor.c:448 0.00001 162 0.08 ---------------------------------------------------------------------------------------------- (qemu) info sync-profile -m 15 Type Object Call site Wait Time (s) Count Average (us) ---------------------------------------------------------------------------------------------- condvar 0x55a01813ced0 cpus.c:1165 95.11196 3051 31174.03 BQL mutex 0x55a0171b7140 accel/tcg/cpu-exec.c:432 7.92108 3052 2595.37 BQL mutex 0x55a0171b7140 cpus.c:1434 13.38253 6210 2155.00 BQL mutex 0x55a0171b7140 accel/tcg/cputlb.c:870 5.09901 3093 1648.57 BQL mutex 0x55a0171b7140 accel/tcg/cpu-exec.c:529 4.21123 3468 1214.31 BQL mutex 0x55a0171b7140 cpus.c:1466 0.60895 3156 192.95 BQL mutex 0x55a0171b7140 accel/tcg/cputlb.c:804 0.76337 9282 82.24 BQL mutex 0x55a0171b7140 util/main-loop.c:236 0.00944 6889 1.37 mutex 0x55a01813ce80 tcg/tcg.c:397 0.00000 24 0.15 mutex 0x55a0180d1bb0 monitor.c:458 0.00018 1922 0.09 mutex [ 2] util/qemu-timer.c:426 0.00266 32710 0.08 mutex 0x55a0180e4c78 chardev/char.c:109 0.00002 260 0.08 mutex 0x55a0180d1bb0 monitor.c:448 0.00001 187 0.08 mutex 0x55a0171d9960 vl.c:763 0.00047 6889 0.07 mutex [ 3] util/qemu-timer.c:520 0.00362 53377 0.07 ---------------------------------------------------------------------------------------------- (qemu) info sync-profile -m -n 15 Type Object Call site Wait Time (s) Count Average (us) ---------------------------------------------------------------------------------------------- condvar 0x55a01813ced0 cpus.c:1165 101.39331 3398 29839.12 BQL mutex 0x55a0171b7140 accel/tcg/cpu-exec.c:432 7.92112 3399 2330.43 BQL mutex 0x55a0171b7140 cpus.c:1434 14.28280 6922 2063.39 BQL mutex 0x55a0171b7140 accel/tcg/cputlb.c:870 5.77505 3445 1676.36 BQL mutex 0x55a0171b7140 accel/tcg/cpu-exec.c:529 5.66139 3883 1457.99 BQL mutex 0x55a0171b7140 cpus.c:1466 0.60901 3519 173.06 BQL mutex 0x55a0171b7140 accel/tcg/cputlb.c:804 0.76351 10338 73.85 BQL mutex 0x55a0171b7140 util/main-loop.c:236 0.01032 7664 1.35 mutex 0x55a0180e4f08 util/qemu-timer.c:426 0.00041 901 0.45 mutex 0x55a01813ce80 tcg/tcg.c:397 0.00000 24 0.15 mutex 0x55a0180d1bb0 monitor.c:458 0.00022 2319 0.09 mutex 0x55a0180e4c78 chardev/char.c:109 0.00003 306 0.08 mutex 0x55a0180e4f08 util/qemu-timer.c:520 0.00068 8565 0.08 mutex 0x55a0180d1bb0 monitor.c:448 0.00002 215 0.08 mutex 0x55a0180e4f78 util/qemu-timer.c:426 0.00247 34224 0.07 ---------------------------------------------------------------------------------------------- (qemu) sync-profile reset (qemu) info sync-profile -m 2 Type Object Call site Wait Time (s) Count Average (us) -------------------------------------------------------------------------------------------- condvar 0x55a01813ced0 cpus.c:1165 2.78756 99 28157.12 BQL mutex 0x55a0171b7140 accel/tcg/cputlb.c:870 0.33054 102 3240.55 -------------------------------------------------------------------------------------------- (qemu) sync-profile off (qemu) sync-profile sync-profile is off (qemu) sync-profile reset (qemu) info sync-profile Type Object Call site Wait Time (s) Count Average (us) ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			928 lines
		
	
	
		
			20 KiB
		
	
	
	
		
			Haxe
		
	
	
	
	
	
			
		
		
	
	
			928 lines
		
	
	
		
			20 KiB
		
	
	
	
		
			Haxe
		
	
	
	
	
	
HXCOMM Use DEFHEADING() to define headings in both help text and texi
 | 
						|
HXCOMM Text between STEXI and ETEXI are copied to texi version and
 | 
						|
HXCOMM discarded from C version
 | 
						|
HXCOMM DEF(command, args, callback, arg_string, help) is used to construct
 | 
						|
HXCOMM monitor info commands
 | 
						|
HXCOMM HXCOMM can be used for comments, discarded from both texi and C
 | 
						|
 | 
						|
STEXI
 | 
						|
@table @option
 | 
						|
@item info @var{subcommand}
 | 
						|
@findex info
 | 
						|
Show various information about the system state.
 | 
						|
@table @option
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "version",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the version of QEMU",
 | 
						|
        .cmd        = hmp_info_version,
 | 
						|
        .flags      = "p",
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info version
 | 
						|
@findex info version
 | 
						|
Show the version of QEMU.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "network",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the network state",
 | 
						|
        .cmd        = hmp_info_network,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info network
 | 
						|
@findex info network
 | 
						|
Show the network state.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "chardev",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the character devices",
 | 
						|
        .cmd        = hmp_info_chardev,
 | 
						|
        .flags      = "p",
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info chardev
 | 
						|
@findex info chardev
 | 
						|
Show the character devices.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "block",
 | 
						|
        .args_type  = "nodes:-n,verbose:-v,device:B?",
 | 
						|
        .params     = "[-n] [-v] [device]",
 | 
						|
        .help       = "show info of one block device or all block devices "
 | 
						|
                      "(-n: show named nodes; -v: show details)",
 | 
						|
        .cmd        = hmp_info_block,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info block
 | 
						|
@findex info block
 | 
						|
Show info of one block device or all block devices.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "blockstats",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show block device statistics",
 | 
						|
        .cmd        = hmp_info_blockstats,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info blockstats
 | 
						|
@findex info blockstats
 | 
						|
Show block device statistics.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "block-jobs",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show progress of ongoing block device operations",
 | 
						|
        .cmd        = hmp_info_block_jobs,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info block-jobs
 | 
						|
@findex info block-jobs
 | 
						|
Show progress of ongoing block device operations.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "registers",
 | 
						|
        .args_type  = "cpustate_all:-a",
 | 
						|
        .params     = "[-a]",
 | 
						|
        .help       = "show the cpu registers (-a: all - show register info for all cpus)",
 | 
						|
        .cmd        = hmp_info_registers,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info registers
 | 
						|
@findex info registers
 | 
						|
Show the cpu registers.
 | 
						|
ETEXI
 | 
						|
 | 
						|
#if defined(TARGET_I386)
 | 
						|
    {
 | 
						|
        .name       = "lapic",
 | 
						|
        .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 info lapic
 | 
						|
Show local APIC state
 | 
						|
ETEXI
 | 
						|
 | 
						|
#if defined(TARGET_I386)
 | 
						|
    {
 | 
						|
        .name       = "ioapic",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show io apic state",
 | 
						|
        .cmd        = hmp_info_io_apic,
 | 
						|
    },
 | 
						|
#endif
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info ioapic
 | 
						|
@findex info ioapic
 | 
						|
Show io APIC state
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "cpus",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show infos for each CPU",
 | 
						|
        .cmd        = hmp_info_cpus,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info cpus
 | 
						|
@findex info cpus
 | 
						|
Show infos for each CPU.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "history",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the command line history",
 | 
						|
        .cmd        = hmp_info_history,
 | 
						|
        .flags      = "p",
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info history
 | 
						|
@findex info history
 | 
						|
Show the command line history.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "irq",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the interrupts statistics (if available)",
 | 
						|
        .cmd        = hmp_info_irq,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info irq
 | 
						|
@findex info irq
 | 
						|
Show the interrupts statistics (if available).
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "pic",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show PIC state",
 | 
						|
        .cmd        = hmp_info_pic,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info pic
 | 
						|
@findex info pic
 | 
						|
Show PIC state.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "pci",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show PCI info",
 | 
						|
        .cmd        = hmp_info_pci,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info 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_M68K)
 | 
						|
    {
 | 
						|
        .name       = "tlb",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show virtual to physical memory mappings",
 | 
						|
        .cmd        = hmp_info_tlb,
 | 
						|
    },
 | 
						|
#endif
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info tlb
 | 
						|
@findex info tlb
 | 
						|
Show virtual to physical memory mappings.
 | 
						|
ETEXI
 | 
						|
 | 
						|
#if defined(TARGET_I386)
 | 
						|
    {
 | 
						|
        .name       = "mem",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the active virtual memory mappings",
 | 
						|
        .cmd        = hmp_info_mem,
 | 
						|
    },
 | 
						|
#endif
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info mem
 | 
						|
@findex info mem
 | 
						|
Show the active virtual memory mappings.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "mtree",
 | 
						|
        .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 info mtree
 | 
						|
Show memory tree.
 | 
						|
ETEXI
 | 
						|
 | 
						|
#if defined(CONFIG_TCG)
 | 
						|
    {
 | 
						|
        .name       = "jit",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show dynamic compiler info",
 | 
						|
        .cmd        = hmp_info_jit,
 | 
						|
    },
 | 
						|
#endif
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info jit
 | 
						|
@findex info jit
 | 
						|
Show dynamic compiler info.
 | 
						|
ETEXI
 | 
						|
 | 
						|
#if defined(CONFIG_TCG)
 | 
						|
    {
 | 
						|
        .name       = "opcount",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show dynamic compiler opcode counters",
 | 
						|
        .cmd        = hmp_info_opcount,
 | 
						|
    },
 | 
						|
#endif
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info 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
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "kvm",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show KVM information",
 | 
						|
        .cmd        = hmp_info_kvm,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info kvm
 | 
						|
@findex info kvm
 | 
						|
Show KVM information.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "numa",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show NUMA information",
 | 
						|
        .cmd        = hmp_info_numa,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info numa
 | 
						|
@findex info numa
 | 
						|
Show NUMA information.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "usb",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show guest USB devices",
 | 
						|
        .cmd        = hmp_info_usb,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info usb
 | 
						|
@findex info usb
 | 
						|
Show guest USB devices.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "usbhost",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show host USB devices",
 | 
						|
        .cmd        = hmp_info_usbhost,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info usbhost
 | 
						|
@findex info usbhost
 | 
						|
Show host USB devices.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "profile",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show profiling information",
 | 
						|
        .cmd        = hmp_info_profile,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info profile
 | 
						|
@findex info profile
 | 
						|
Show profiling information.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "capture",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show capture information",
 | 
						|
        .cmd        = hmp_info_capture,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info capture
 | 
						|
@findex info capture
 | 
						|
Show capture information.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "snapshots",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the currently saved VM snapshots",
 | 
						|
        .cmd        = hmp_info_snapshots,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info snapshots
 | 
						|
@findex info snapshots
 | 
						|
Show the currently saved VM snapshots.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "status",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the current VM status (running|paused)",
 | 
						|
        .cmd        = hmp_info_status,
 | 
						|
        .flags      = "p",
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info status
 | 
						|
@findex info status
 | 
						|
Show the current VM status (running|paused).
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "mice",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show which guest mouse is receiving events",
 | 
						|
        .cmd        = hmp_info_mice,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info mice
 | 
						|
@findex info mice
 | 
						|
Show which guest mouse is receiving events.
 | 
						|
ETEXI
 | 
						|
 | 
						|
#if defined(CONFIG_VNC)
 | 
						|
    {
 | 
						|
        .name       = "vnc",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the vnc server status",
 | 
						|
        .cmd        = hmp_info_vnc,
 | 
						|
    },
 | 
						|
#endif
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info vnc
 | 
						|
@findex info vnc
 | 
						|
Show the vnc server status.
 | 
						|
ETEXI
 | 
						|
 | 
						|
#if defined(CONFIG_SPICE)
 | 
						|
    {
 | 
						|
        .name       = "spice",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the spice server status",
 | 
						|
        .cmd        = hmp_info_spice,
 | 
						|
    },
 | 
						|
#endif
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info spice
 | 
						|
@findex info spice
 | 
						|
Show the spice server status.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "name",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the current VM name",
 | 
						|
        .cmd        = hmp_info_name,
 | 
						|
        .flags      = "p",
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info name
 | 
						|
@findex info name
 | 
						|
Show the current VM name.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "uuid",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the current VM UUID",
 | 
						|
        .cmd        = hmp_info_uuid,
 | 
						|
        .flags      = "p",
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info uuid
 | 
						|
@findex info uuid
 | 
						|
Show the current VM UUID.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "cpustats",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show CPU statistics",
 | 
						|
        .cmd        = hmp_info_cpustats,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info cpustats
 | 
						|
@findex info cpustats
 | 
						|
Show CPU statistics.
 | 
						|
ETEXI
 | 
						|
 | 
						|
#if defined(CONFIG_SLIRP)
 | 
						|
    {
 | 
						|
        .name       = "usernet",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show user network stack connection states",
 | 
						|
        .cmd        = hmp_info_usernet,
 | 
						|
    },
 | 
						|
#endif
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info usernet
 | 
						|
@findex info usernet
 | 
						|
Show user network stack connection states.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "migrate",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show migration status",
 | 
						|
        .cmd        = hmp_info_migrate,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info migrate
 | 
						|
@findex info migrate
 | 
						|
Show migration status.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "migrate_capabilities",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show current migration capabilities",
 | 
						|
        .cmd        = hmp_info_migrate_capabilities,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info migrate_capabilities
 | 
						|
@findex info migrate_capabilities
 | 
						|
Show current migration capabilities.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "migrate_parameters",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show current migration parameters",
 | 
						|
        .cmd        = hmp_info_migrate_parameters,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info migrate_parameters
 | 
						|
@findex info migrate_parameters
 | 
						|
Show current migration parameters.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "migrate_cache_size",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show current migration xbzrle cache size",
 | 
						|
        .cmd        = hmp_info_migrate_cache_size,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info migrate_cache_size
 | 
						|
@findex info migrate_cache_size
 | 
						|
Show current migration xbzrle cache size.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "balloon",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show balloon information",
 | 
						|
        .cmd        = hmp_info_balloon,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info balloon
 | 
						|
@findex info balloon
 | 
						|
Show balloon information.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "qtree",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show device tree",
 | 
						|
        .cmd        = hmp_info_qtree,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info qtree
 | 
						|
@findex info qtree
 | 
						|
Show device tree.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "qdm",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show qdev device model list",
 | 
						|
        .cmd        = hmp_info_qdm,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info qdm
 | 
						|
@findex info qdm
 | 
						|
Show qdev device model list.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "qom-tree",
 | 
						|
        .args_type  = "path:s?",
 | 
						|
        .params     = "[path]",
 | 
						|
        .help       = "show QOM composition tree",
 | 
						|
        .cmd        = hmp_info_qom_tree,
 | 
						|
        .flags      = "p",
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info qom-tree
 | 
						|
@findex info qom-tree
 | 
						|
Show QOM composition tree.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "roms",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show roms",
 | 
						|
        .cmd        = hmp_info_roms,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info roms
 | 
						|
@findex info roms
 | 
						|
Show roms.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "trace-events",
 | 
						|
        .args_type  = "name:s?,vcpu:i?",
 | 
						|
        .params     = "[name] [vcpu]",
 | 
						|
        .help       = "show available trace-events & their state "
 | 
						|
                      "(name: event name pattern; vcpu: vCPU to query, default is any)",
 | 
						|
        .cmd = hmp_info_trace_events,
 | 
						|
        .command_completion = info_trace_events_completion,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info trace-events
 | 
						|
@findex info trace-events
 | 
						|
Show available trace-events & their state.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "tpm",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show the TPM device",
 | 
						|
        .cmd        = hmp_info_tpm,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info tpm
 | 
						|
@findex info tpm
 | 
						|
Show the TPM device.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "memdev",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show memory backends",
 | 
						|
        .cmd        = hmp_info_memdev,
 | 
						|
        .flags      = "p",
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info memdev
 | 
						|
@findex info memdev
 | 
						|
Show memory backends
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "memory-devices",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show memory devices",
 | 
						|
        .cmd        = hmp_info_memory_devices,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info memory-devices
 | 
						|
@findex info memory-devices
 | 
						|
Show memory devices.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "iothreads",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "show iothreads",
 | 
						|
        .cmd        = hmp_info_iothreads,
 | 
						|
        .flags      = "p",
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info iothreads
 | 
						|
@findex info iothreads
 | 
						|
Show iothread's identifiers.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "rocker",
 | 
						|
        .args_type  = "name:s",
 | 
						|
        .params     = "name",
 | 
						|
        .help       = "Show rocker switch",
 | 
						|
        .cmd        = hmp_rocker,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info rocker @var{name}
 | 
						|
@findex info rocker
 | 
						|
Show rocker switch.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "rocker-ports",
 | 
						|
        .args_type  = "name:s",
 | 
						|
        .params     = "name",
 | 
						|
        .help       = "Show rocker ports",
 | 
						|
        .cmd        = hmp_rocker_ports,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info rocker-ports @var{name}-ports
 | 
						|
@findex info rocker-ports
 | 
						|
Show rocker ports.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "rocker-of-dpa-flows",
 | 
						|
        .args_type  = "name:s,tbl_id:i?",
 | 
						|
        .params     = "name [tbl_id]",
 | 
						|
        .help       = "Show rocker OF-DPA flow tables",
 | 
						|
        .cmd        = hmp_rocker_of_dpa_flows,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info rocker-of-dpa-flows @var{name} [@var{tbl_id}]
 | 
						|
@findex info rocker-of-dpa-flows
 | 
						|
Show rocker OF-DPA flow tables.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "rocker-of-dpa-groups",
 | 
						|
        .args_type  = "name:s,type:i?",
 | 
						|
        .params     = "name [type]",
 | 
						|
        .help       = "Show rocker OF-DPA groups",
 | 
						|
        .cmd        = hmp_rocker_of_dpa_groups,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info rocker-of-dpa-groups @var{name} [@var{type}]
 | 
						|
@findex info rocker-of-dpa-groups
 | 
						|
Show rocker OF-DPA groups.
 | 
						|
ETEXI
 | 
						|
 | 
						|
#if defined(TARGET_S390X)
 | 
						|
    {
 | 
						|
        .name       = "skeys",
 | 
						|
        .args_type  = "addr:l",
 | 
						|
        .params     = "address",
 | 
						|
        .help       = "Display the value of a storage key",
 | 
						|
        .cmd        = hmp_info_skeys,
 | 
						|
    },
 | 
						|
#endif
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info skeys @var{address}
 | 
						|
@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
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "dump",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "Display the latest dump status",
 | 
						|
        .cmd        = hmp_info_dump,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info dump
 | 
						|
@findex info dump
 | 
						|
Display the latest dump status.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "ramblock",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "Display system ramblock information",
 | 
						|
        .cmd        = hmp_info_ramblock,
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info ramblock
 | 
						|
@findex info ramblock
 | 
						|
Dump all the ramblocks of the system.
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "hotpluggable-cpus",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .help       = "Show information about hotpluggable CPUs",
 | 
						|
        .cmd        = hmp_hotpluggable_cpus,
 | 
						|
        .flags      = "p",
 | 
						|
    },
 | 
						|
 | 
						|
STEXI
 | 
						|
@item info 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 info vm-generation-id
 | 
						|
Show Virtual Machine Generation ID
 | 
						|
ETEXI
 | 
						|
 | 
						|
    {
 | 
						|
        .name       = "memory_size_summary",
 | 
						|
        .args_type  = "",
 | 
						|
        .params     = "",
 | 
						|
        .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
 | 
						|
 | 
						|
STEXI
 | 
						|
@end table
 | 
						|
ETEXI
 |