1 HXCOMM Use
DEFHEADING() to define headings
in both help text and texi
2 HXCOMM Text between STEXI and ETEXI are copied to texi version and
3 HXCOMM discarded from C version
4 HXCOMM
DEF(command
, args
, callback, arg_string
, help
) is used to construct
5 HXCOMM monitor commands
6 HXCOMM HXCOMM can be used
for comments
, discarded from both texi and C
14 .args_type
= "name:s?",
16 .help
= "show the help",
17 .mhandler
.cmd
= do_help_cmd
,
21 @item help or ?
[@
var{cmd
}]
23 Show the help
for all commands or just
for command @
var{cmd
}.
28 .args_type
= "device:B",
29 .params
= "device|all",
30 .help
= "commit changes to the disk images (if -snapshot is used) or backing files",
31 .mhandler
.cmd
= do_commit
,
37 Commit changes to the disk
images (if -snapshot is used
) or backing files
.
42 .args_type
= "item:s?",
43 .params
= "[subcommand]",
44 .help
= "show various information about the system state",
45 .user_print
= monitor_user_noop
,
46 .mhandler
.cmd_new
= do_info
,
50 @item info @
var{subcommand
}
52 Show various information about the system state
.
56 show the version of QEMU
58 show the various VLANs and the associated devices
60 show the character devices
62 show the block devices
64 show block device statistics
66 show the cpu registers
68 show infos
for each CPU
70 show the command line history
72 show the interrupts
statistics (if available
)
74 show
i8259 (PIC
) state
76 show emulated PCI device info
78 show virtual to physical memory
mappings (i386 only
)
80 show the active virtual memory
mappings (i386 only
)
82 show state of
HPET (i386 only
)
86 show USB devices plugged on the virtual USB hub
88 show all USB host devices
90 show profiling information
92 show information about active capturing
94 show list of VM snapshots
96 show the current VM
status (running|paused
)
98 show guest PCMCIA status
100 show which guest mouse is receiving events
102 show the vnc server status
104 show the current VM name
106 show the current VM UUID
110 show user network stack connection states
112 show migration status
114 show balloon information
124 .help
= "quit the emulator",
125 .user_print
= monitor_user_noop
,
126 .mhandler
.cmd_new
= do_quit
,
137 .args_type
= "force:-f,device:B",
138 .params
= "[-f] device",
139 .help
= "eject a removable medium (use -f to force it)",
140 .user_print
= monitor_user_noop
,
141 .mhandler
.cmd_new
= do_eject
,
145 @item eject
[-f
] @
var{device
}
147 Eject a removable
medium (use
-f to force it
).
152 .args_type
= "device:B,target:F,arg:s?",
153 .params
= "device filename [format]",
154 .help
= "change a removable medium, optional format",
155 .user_print
= monitor_user_noop
,
156 .mhandler
.cmd_new
= do_change
,
160 @item change @
var{device
} @
var{setting
}
163 Change the configuration of a device
.
166 @item change @
var{diskdevice
} @
var{filename
} [@
var{format
}]
167 Change the medium
for a removable disk device to point to @
var{filename
}. eg
170 (qemu
) change ide1
-cd0
/path
/to
/some
.iso
173 @
var{format
} is optional
.
175 @item change vnc @
var{display
},@
var{options
}
176 Change the configuration of the VNC server
. The valid syntax
for @
var{display
}
177 and @
var{options
} are described at @ref
{sec_invocation
}. eg
180 (qemu
) change vnc localhost
:1
183 @item change vnc password
[@
var{password
}]
185 Change the password associated with the VNC server
. If the
new password is not
186 supplied
, the monitor will prompt
for it to be entered
. VNC passwords are only
187 significant up to
8 letters
. eg
190 (qemu
) change vnc password
198 .name
= "screendump",
199 .args_type
= "filename:F",
200 .params
= "filename",
201 .help
= "save screen into PPM image 'filename'",
202 .user_print
= monitor_user_noop
,
203 .mhandler
.cmd_new
= do_screen_dump
,
207 @item screendump @
var{filename
}
209 Save screen into PPM image @
var{filename
}.
214 .args_type
= "filename:F",
215 .params
= "filename",
216 .help
= "output logs to 'filename'",
217 .mhandler
.cmd
= do_logfile
,
221 @item logfile @
var{filename
}
223 Output logs to @
var{filename
}.
228 .args_type
= "items:s",
229 .params
= "item1[,...]",
230 .help
= "activate logging of the specified items to '/tmp/qemu.log'",
231 .mhandler
.cmd
= do_log
,
235 @item log @
var{item1
}[,...]
237 Activate logging of the specified items to @file
{/tmp
/qemu
.log
}.
242 .args_type
= "name:s?",
243 .params
= "[tag|id]",
244 .help
= "save a VM snapshot. If no tag or id are provided, a new snapshot is created",
245 .mhandler
.cmd
= do_savevm
,
249 @item savevm
[@
var{tag
}|@
var{id
}]
251 Create a snapshot of the whole virtual machine
. If @
var{tag
} is
252 provided
, it is used as human readable identifier
. If there is already
253 a snapshot with the same tag or ID
, it is replaced
. More info at
259 .args_type
= "name:s",
261 .help
= "restore a VM snapshot from its tag or id",
262 .mhandler
.cmd
= do_loadvm
,
266 @item loadvm @
var{tag
}|@
var{id
}
268 Set the whole virtual machine to the snapshot identified by the tag
269 @
var{tag
} or the unique snapshot ID @
var{id
}.
274 .args_type
= "name:s",
276 .help
= "delete a VM snapshot from its tag or id",
277 .mhandler
.cmd
= do_delvm
,
281 @item delvm @
var{tag
}|@
var{id
}
283 Delete the snapshot identified by @
var{tag
} or @
var{id
}.
287 .name
= "singlestep",
288 .args_type
= "option:s?",
289 .params
= "[on|off]",
290 .help
= "run emulation in singlestep mode or switch to normal mode",
291 .mhandler
.cmd
= do_singlestep
,
295 @item singlestep
[off
]
297 Run the emulation
in single step mode
.
298 If called with option off
, the emulation returns to normal mode
.
305 .help
= "stop emulation",
306 .user_print
= monitor_user_noop
,
307 .mhandler
.cmd_new
= do_stop
,
320 .help
= "resume emulation",
321 .user_print
= monitor_user_noop
,
322 .mhandler
.cmd_new
= do_cont
,
333 .args_type
= "device:s?",
334 .params
= "[device]",
335 .help
= "start gdbserver on given device (default 'tcp::1234'), stop with 'none'",
336 .mhandler
.cmd
= do_gdbserver
,
340 @item gdbserver
[@
var{port
}]
342 Start gdbserver
session (default @
var{port
}=1234)
347 .args_type
= "fmt:/,addr:l",
348 .params
= "/fmt addr",
349 .help
= "virtual memory dump starting at 'addr'",
350 .mhandler
.cmd
= do_memory_dump
,
354 @item x
/fmt @
var{addr
}
356 Virtual memory dump starting at @
var{addr
}.
361 .args_type
= "fmt:/,addr:l",
362 .params
= "/fmt addr",
363 .help
= "physical memory dump starting at 'addr'",
364 .mhandler
.cmd
= do_physical_memory_dump
,
368 @item xp
/@
var{fmt
} @
var{addr
}
370 Physical memory dump starting at @
var{addr
}.
372 @
var{fmt
} is a format which tells the command how to format the
373 data
. Its syntax is
: @option
{/@
{count@
}@
{format@
}@
{size@
}}
378 is the number of items to be dumped
.
382 can be
x (hex
), d (signed decimal
), u (unsigned decimal
), o (octal
),
383 c (char
) or
i (asm instruction
).
387 can be
b (8 bits
), h (16 bits
), w (32 bits
) or
g (64 bits
). On x86
,
388 @code
{h
} or @code
{w
} can be specified with the @code
{i
} format to
389 respectively select
16 or
32 bit code instruction size
.
396 Dump
10 instructions at the current instruction pointer
:
401 0x90107065: lea
0x0(%esi
,1),%esi
402 0x90107069: lea
0x0(%edi
,1),%edi
404 0x90107071: jmp
0x90107080
412 Dump
80 16 bit values at the start of the video memory
.
414 (qemu
) xp
/80hx
0xb8000
415 0x000b8000: 0x0b50 0x0b6c 0x0b65 0x0b78 0x0b38 0x0b36 0x0b2f 0x0b42
416 0x000b8010: 0x0b6f 0x0b63 0x0b68 0x0b73 0x0b20 0x0b56 0x0b47 0x0b41
417 0x000b8020: 0x0b42 0x0b69 0x0b6f 0x0b73 0x0b20 0x0b63 0x0b75 0x0b72
418 0x000b8030: 0x0b72 0x0b65 0x0b6e 0x0b74 0x0b2d 0x0b63 0x0b76 0x0b73
419 0x000b8040: 0x0b20 0x0b30 0x0b35 0x0b20 0x0b4e 0x0b6f 0x0b76 0x0b20
420 0x000b8050: 0x0b32 0x0b30 0x0b30 0x0b33 0x0720 0x0720 0x0720 0x0720
421 0x000b8060: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
422 0x000b8070: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
423 0x000b8080: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
424 0x000b8090: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
431 .args_type
= "fmt:/,val:l",
432 .params
= "/fmt expr",
433 .help
= "print expression value (use $reg for CPU register access)",
434 .mhandler
.cmd
= do_print
,
438 @item p or print
/@
var{fmt
} @
var{expr
}
441 Print expression value
. Only the @
var{format
} part of @
var{fmt
} is
447 .args_type
= "fmt:/,addr:i,index:i.",
448 .params
= "/fmt addr",
449 .help
= "I/O port read",
450 .mhandler
.cmd
= do_ioport_read
,
459 .args_type
= "fmt:/,addr:i,val:i",
460 .params
= "/fmt addr value",
461 .help
= "I/O port write",
462 .mhandler
.cmd
= do_ioport_write
,
471 .args_type
= "string:s,hold_time:i?",
472 .params
= "keys [hold_ms]",
473 .help
= "send keys to the VM (e.g. 'sendkey ctrl-alt-f1', default hold time=100 ms)",
474 .mhandler
.cmd
= do_sendkey
,
478 @item sendkey @
var{keys
}
481 Send @
var{keys
} to the emulator
. @
var{keys
} could be the name of the
482 key or @code
{#
} followed by the raw value
in either decimal or hexadecimal
483 format
. Use @code
{-} to press several keys simultaneously
. Example
:
488 This command is useful to send keys that your graphical user
interface
489 intercepts at low level
, such as @code
{ctrl
-alt
-f1
} in X Window
.
493 .name
= "system_reset",
496 .help
= "reset the system",
497 .user_print
= monitor_user_noop
,
498 .mhandler
.cmd_new
= do_system_reset
,
509 .name
= "system_powerdown",
512 .help
= "send system power down event",
513 .user_print
= monitor_user_noop
,
514 .mhandler
.cmd_new
= do_system_powerdown
,
518 @item system_powerdown
519 @findex system_powerdown
521 Power down the
system (if supported
).
526 .args_type
= "start:i,size:i",
527 .params
= "addr size",
528 .help
= "compute the checksum of a memory region",
529 .mhandler
.cmd
= do_sum
,
533 @item sum @
var{addr
} @
var{size
}
536 Compute the checksum of a memory region
.
541 .args_type
= "devname:s",
543 .help
= "add USB device (e.g. 'host:bus.addr' or 'host:vendor_id:product_id')",
544 .mhandler
.cmd
= do_usb_add
,
548 @item usb_add @
var{devname
}
551 Add the USB device @
var{devname
}. For details of available devices see
557 .args_type
= "devname:s",
559 .help
= "remove USB device 'bus.addr'",
560 .mhandler
.cmd
= do_usb_del
,
564 @item usb_del @
var{devname
}
567 Remove the USB device @
var{devname
} from the QEMU virtual USB
568 hub
. @
var{devname
} has the syntax @code
{bus
.addr
}. Use the monitor
569 command @code
{info usb
} to see the devices you can remove
.
573 .name
= "device_add",
574 .args_type
= "device:O",
575 .params
= "driver[,prop=value][,...]",
576 .help
= "add device, like -device on the command line",
577 .user_print
= monitor_user_noop
,
578 .mhandler
.cmd_new
= do_device_add
,
582 @item device_add @
var{config
}
589 .name
= "device_del",
592 .help
= "remove device",
593 .user_print
= monitor_user_noop
,
594 .mhandler
.cmd_new
= do_device_del
,
598 @item device_del @
var{id
}
601 Remove device @
var{id
}.
606 .args_type
= "index:i",
608 .help
= "set the default CPU",
609 .user_print
= monitor_user_noop
,
610 .mhandler
.cmd_new
= do_cpu_set
,
618 .name
= "mouse_move",
619 .args_type
= "dx_str:s,dy_str:s,dz_str:s?",
620 .params
= "dx dy [dz]",
621 .help
= "send mouse move events",
622 .mhandler
.cmd
= do_mouse_move
,
626 @item mouse_move @
var{dx
} @
var{dy
} [@
var{dz
}]
628 Move the active mouse to the specified coordinates @
var{dx
} @
var{dy
}
629 with optional scroll axis @
var{dz
}.
633 .name
= "mouse_button",
634 .args_type
= "button_state:i",
636 .help
= "change mouse button state (1=L, 2=M, 4=R)",
637 .mhandler
.cmd
= do_mouse_button
,
641 @item mouse_button @
var{val
}
643 Change the active mouse button state @
var{val
} (1=L
, 2=M
, 4=R
).
648 .args_type
= "index:i",
650 .help
= "set which mouse device receives events",
651 .mhandler
.cmd
= do_mouse_set
,
655 @item mouse_set @
var{index
}
657 Set which mouse device receives events at given @
var{index
}, index
666 .name
= "wavcapture",
667 .args_type
= "path:F,freq:i?,bits:i?,nchannels:i?",
668 .params
= "path [frequency [bits [channels]]]",
669 .help
= "capture audio to a wave file (default frequency=44100 bits=16 channels=2)",
670 .mhandler
.cmd
= do_wav_capture
,
674 @item wavcapture @
var{filename
} [@
var{frequency
} [@
var{bits
} [@
var{channels
}]]]
676 Capture audio into @
var{filename
}. Using sample rate @
var{frequency
}
677 bits per sample @
var{bits
} and number of channels @
var{channels
}.
681 @item Sample rate
= 44100 Hz
- CD quality
683 @item Number of channels
= 2 - Stereo
689 .name
= "stopcapture",
691 .params
= "capture index",
692 .help
= "stop capture",
693 .mhandler
.cmd
= do_stop_capture
,
697 @item stopcapture @
var{index
}
699 Stop capture with a given @
var{index
}, index can be obtained with
707 .args_type
= "val:l,size:i,filename:s",
708 .params
= "addr size file",
709 .help
= "save to disk virtual memory dump starting at 'addr' of size 'size'",
710 .user_print
= monitor_user_noop
,
711 .mhandler
.cmd_new
= do_memory_save
,
715 @item memsave @
var{addr
} @
var{size
} @
var{file
}
717 save to disk virtual memory dump starting at @
var{addr
} of size @
var{size
}.
722 .args_type
= "val:l,size:i,filename:s",
723 .params
= "addr size file",
724 .help
= "save to disk physical memory dump starting at 'addr' of size 'size'",
725 .user_print
= monitor_user_noop
,
726 .mhandler
.cmd_new
= do_physical_memory_save
,
730 @item pmemsave @
var{addr
} @
var{size
} @
var{file
}
732 save to disk physical memory dump starting at @
var{addr
} of size @
var{size
}.
737 .args_type
= "bootdevice:s",
738 .params
= "bootdevice",
739 .help
= "define new values for the boot device list",
740 .mhandler
.cmd
= do_boot_set
,
744 @item boot_set @
var{bootdevicelist
}
747 Define
new values
for the boot device list
. Those values will
override
748 the values specified on the command line through the @code
{-boot
} option
.
750 The values that can be specified
here depend on the machine type
, but are
751 the same that can be specified
in the @code
{-boot
} command line option
.
754 #
if defined(TARGET_I386
)
757 .args_type
= "cpu_index:i",
759 .help
= "inject an NMI on the given CPU",
760 .mhandler
.cmd
= do_inject_nmi
,
766 Inject an NMI on the given
CPU (x86 only
).
771 .args_type
= "detach:-d,blk:-b,inc:-i,uri:s",
772 .params
= "[-d] [-b] [-i] uri",
773 .help
= "migrate to URI (using -d to not wait for completion)"
774 "\n\t\t\t -b for migration without shared storage with"
775 " full copy of disk\n\t\t\t -i for migration without "
776 "shared storage with incremental copy of disk "
777 "(base image shared between src and destination)",
778 .user_print
= monitor_user_noop
,
779 .mhandler
.cmd_new
= do_migrate
,
784 @item migrate
[-d
] [-b
] [-i
] @
var{uri
}
786 Migrate to @
var{uri
} (using -d to not wait
for completion
).
787 -b
for migration with full copy of disk
788 -i
for migration with incremental copy of
disk (base image is shared
)
792 .name
= "migrate_cancel",
795 .help
= "cancel the current VM migration",
796 .user_print
= monitor_user_noop
,
797 .mhandler
.cmd_new
= do_migrate_cancel
,
802 @findex migrate_cancel
803 Cancel the current VM migration
.
807 .name
= "migrate_set_speed",
808 .args_type
= "value:f",
810 .help
= "set maximum speed (in bytes) for migrations",
811 .user_print
= monitor_user_noop
,
812 .mhandler
.cmd_new
= do_migrate_set_speed
,
816 @item migrate_set_speed @
var{value
}
817 @findex migrate_set_speed
818 Set maximum speed to @
var{value
} (in bytes
) for migrations
.
822 .name
= "migrate_set_downtime",
823 .args_type
= "value:T",
825 .help
= "set maximum tolerated downtime (in seconds) for migrations",
826 .user_print
= monitor_user_noop
,
827 .mhandler
.cmd_new
= do_migrate_set_downtime
,
831 @item migrate_set_downtime @
var{second
}
832 @findex migrate_set_downtime
833 Set maximum tolerated
downtime (in seconds
) for migration
.
836 #
if defined(TARGET_I386
)
839 .args_type
= "pci_addr:s,opts:s",
840 .params
= "[[<domain>:]<bus>:]<slot>\n"
841 "[file=file][,if=type][,bus=n]\n"
842 "[,unit=m][,media=d][index=i]\n"
843 "[,cyls=c,heads=h,secs=s[,trans=t]]\n"
844 "[snapshot=on|off][,cache=on|off]",
845 .help
= "add drive to PCI storage controller",
846 .mhandler
.cmd
= drive_hot_add
,
853 Add drive to PCI storage controller
.
856 #
if defined(TARGET_I386
)
859 .args_type
= "pci_addr:s,type:s,opts:s?",
860 .params
= "auto|[[<domain>:]<bus>:]<slot> nic|storage [[vlan=n][,macaddr=addr][,model=type]] [file=file][,if=type][,bus=nr]...",
861 .help
= "hot-add PCI device",
862 .user_print
= pci_device_hot_add_print
,
863 .mhandler
.cmd_new
= pci_device_hot_add
,
873 #
if defined(TARGET_I386
)
876 .args_type
= "pci_addr:s",
877 .params
= "[[<domain>:]<bus>:]<slot>",
878 .help
= "hot remove PCI device",
879 .user_print
= monitor_user_noop
,
880 .mhandler
.cmd_new
= do_pci_device_hot_remove
,
887 Hot remove PCI device
.
891 .name
= "host_net_add",
892 .args_type
= "device:s,opts:s?",
893 .params
= "tap|user|socket|vde|dump [options]",
894 .help
= "add host VLAN client",
895 .mhandler
.cmd
= net_host_device_add
,
901 Add host VLAN client
.
905 .name
= "host_net_remove",
906 .args_type
= "vlan_id:i,device:s",
907 .params
= "vlan_id name",
908 .help
= "remove host VLAN client",
909 .mhandler
.cmd
= net_host_device_remove
,
913 @item host_net_remove
914 @findex host_net_remove
915 Remove host VLAN client
.
919 .name
= "netdev_add",
920 .args_type
= "netdev:O",
921 .params
= "[user|tap|socket],id=str[,prop=value][,...]",
922 .help
= "add host network device",
923 .user_print
= monitor_user_noop
,
924 .mhandler
.cmd_new
= do_netdev_add
,
930 Add host network device
.
934 .name
= "netdev_del",
937 .help
= "remove host network device",
938 .user_print
= monitor_user_noop
,
939 .mhandler
.cmd_new
= do_netdev_del
,
945 Remove host network device
.
950 .name
= "hostfwd_add",
951 .args_type
= "arg1:s,arg2:s?,arg3:s?",
952 .params
= "[vlan_id name] [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport",
953 .help
= "redirect TCP or UDP connections from host to guest (requires -net user)",
954 .mhandler
.cmd
= net_slirp_hostfwd_add
,
958 .name
= "hostfwd_remove",
959 .args_type
= "arg1:s,arg2:s?,arg3:s?",
960 .params
= "[vlan_id name] [tcp|udp]:[hostaddr]:hostport",
961 .help
= "remove host-to-guest TCP or UDP redirection",
962 .mhandler
.cmd
= net_slirp_hostfwd_remove
,
968 @findex host_net_redir
969 Redirect TCP or UDP connections from host to
guest (requires
-net user
).
974 .args_type
= "value:M",
976 .help
= "request VM to change it's memory allocation (in MB)",
977 .user_print
= monitor_user_noop
,
978 .mhandler
.cmd_async
= do_balloon
,
983 @item balloon @
var{value
}
985 Request VM to change its memory allocation to @
var{value
} (in MB
).
990 .args_type
= "name:s,up:b",
991 .params
= "name on|off",
992 .help
= "change the link status of a network adapter",
993 .user_print
= monitor_user_noop
,
994 .mhandler
.cmd_new
= do_set_link
,
998 @item set_link @
var{name
} [on|off
]
1000 Switch link @
var{name
} on (i
.e
. up
) or
off (i
.e
. down
).
1004 .name
= "watchdog_action",
1005 .args_type
= "action:s",
1006 .params
= "[reset|shutdown|poweroff|pause|debug|none]",
1007 .help
= "change watchdog action",
1008 .mhandler
.cmd
= do_watchdog_action
,
1012 @item watchdog_action
1013 @findex watchdog_action
1014 Change watchdog action
.
1019 .args_type
= "aclname:s",
1020 .params
= "aclname",
1021 .help
= "list rules in the access control list",
1022 .mhandler
.cmd
= do_acl_show
,
1026 @item acl_show @
var{aclname
}
1028 List all the matching rules
in the access control list
, and the
default
1029 policy
. There are currently two named access control lists
,
1030 @
var{vnc
.x509dname
} and @
var{vnc
.username
} matching on the x509 client
1031 certificate distinguished name
, and SASL username respectively
.
1035 .name
= "acl_policy",
1036 .args_type
= "aclname:s,policy:s",
1037 .params
= "aclname allow|deny",
1038 .help
= "set default access control list policy",
1039 .mhandler
.cmd
= do_acl_policy
,
1043 @item acl_policy @
var{aclname
} @code
{allow|deny
}
1045 Set the
default access control list policy
, used
in the event that
1046 none of the explicit rules match
. The
default policy at startup is
1052 .args_type
= "aclname:s,match:s,policy:s,index:i?",
1053 .params
= "aclname match allow|deny [index]",
1054 .help
= "add a match rule to the access control list",
1055 .mhandler
.cmd
= do_acl_add
,
1059 @item acl_allow @
var{aclname
} @
var{match
} @code
{allow|deny
} [@
var{index
}]
1061 Add a match rule to the access control list
, allowing or denying access
.
1062 The match will normally be an exact username or x509 distinguished name
,
1063 but can optionally include wildcard globs
. eg @code
{*@@EXAMPLE
.COM
} to
1064 allow all users
in the @code
{EXAMPLE
.COM
} kerberos realm
. The match will
1065 normally be appended to the end of the ACL
, but can be inserted
1066 earlier
in the list
if the optional @
var{index
} parameter is supplied
.
1070 .name
= "acl_remove",
1071 .args_type
= "aclname:s,match:s",
1072 .params
= "aclname match",
1073 .help
= "remove a match rule from the access control list",
1074 .mhandler
.cmd
= do_acl_remove
,
1078 @item acl_remove @
var{aclname
} @
var{match
}
1080 Remove the specified match rule from the access control list
.
1084 .name
= "acl_reset",
1085 .args_type
= "aclname:s",
1086 .params
= "aclname",
1087 .help
= "reset the access control list",
1088 .mhandler
.cmd
= do_acl_reset
,
1092 @item acl_remove @
var{aclname
}
1093 Remove all matches from the access control list
, and set the
default
1094 policy back to @code
{deny
}.
1097 #
if defined(TARGET_I386
)
1101 .args_type
= "cpu_index:i,bank:i,status:l,mcg_status:l,addr:l,misc:l",
1102 .params
= "cpu bank status mcgstatus addr misc",
1103 .help
= "inject a MCE on the given CPU",
1104 .mhandler
.cmd
= do_inject_mce
,
1109 @item mce @
var{cpu
} @
var{bank
} @
var{status
} @
var{mcgstatus
} @
var{addr
} @
var{misc
}
1111 Inject an MCE on the given
CPU (x86 only
).
1116 .args_type
= "fdname:s",
1117 .params
= "getfd name",
1118 .help
= "receive a file descriptor via SCM rights and assign it a name",
1119 .user_print
= monitor_user_noop
,
1120 .mhandler
.cmd_new
= do_getfd
,
1124 @item getfd @
var{fdname
}
1126 If a file descriptor is passed alongside
this command
using the SCM_RIGHTS
1127 mechanism on unix sockets
, it is stored
using the name @
var{fdname
} for
1128 later use by other monitor commands
.
1133 .args_type
= "fdname:s",
1134 .params
= "closefd name",
1135 .help
= "close a file descriptor previously passed via SCM rights",
1136 .user_print
= monitor_user_noop
,
1137 .mhandler
.cmd_new
= do_closefd
,
1141 @item closefd @
var{fdname
}
1143 Close the file descriptor previously assigned to @
var{fdname
} using the
1144 @code
{getfd
} command
. This is only needed
if the file descriptor was
never
1145 used by another monitor command
.
1149 .name
= "block_passwd",
1150 .args_type
= "device:B,password:s",
1151 .params
= "block_passwd device password",
1152 .help
= "set the password of encrypted block devices",
1153 .user_print
= monitor_user_noop
,
1154 .mhandler
.cmd_new
= do_block_set_passwd
,
1158 @item block_passwd @
var{device
} @
var{password
}
1159 @findex block_passwd
1160 Set the encrypted device @
var{device
} password to @
var{password
}
1164 .name
= "qmp_capabilities",
1167 .help
= "enable QMP capabilities",
1168 .user_print
= monitor_user_noop
,
1169 .mhandler
.cmd_new
= do_qmp_capabilities
,
1173 @item qmp_capabilities
1174 Enable the specified QMP capabilities