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
}]
22 Show the help
for all commands or just
for command @
var{cmd
}.
27 .args_type
= "device:B",
28 .params
= "device|all",
29 .help
= "commit changes to the disk images (if -snapshot is used) or backing files",
30 .mhandler
.cmd
= do_commit
,
35 Commit changes to the disk
images (if -snapshot is used
) or backing files
.
40 .args_type
= "item:s?",
41 .params
= "[subcommand]",
42 .help
= "show various information about the system state",
43 .user_print
= monitor_user_noop
,
44 .mhandler
.cmd_new
= do_info
,
48 @item info @
var{subcommand
}
49 Show various information about the system state
.
53 show the version of QEMU
55 show the various VLANs and the associated devices
57 show the character devices
59 show the block devices
61 show block device statistics
63 show the cpu registers
65 show infos
for each CPU
67 show the command line history
69 show the interrupts
statistics (if available
)
71 show
i8259 (PIC
) state
73 show emulated PCI device info
75 show virtual to physical memory
mappings (i386 only
)
77 show the active virtual memory
mappings (i386 only
)
79 show state of
HPET (i386 only
)
83 show USB devices plugged on the virtual USB hub
85 show all USB host devices
87 show profiling information
89 show information about active capturing
91 show list of VM snapshots
93 show the current VM
status (running|paused
)
95 show guest PCMCIA status
97 show which guest mouse is receiving events
99 show the vnc server status
101 show the current VM name
103 show the current VM UUID
107 show user network stack connection states
109 show migration status
111 show balloon information
121 .help
= "quit the emulator",
122 .user_print
= monitor_user_noop
,
123 .mhandler
.cmd_new
= do_quit
,
133 .args_type
= "force:-f,device:B",
134 .params
= "[-f] device",
135 .help
= "eject a removable medium (use -f to force it)",
136 .user_print
= monitor_user_noop
,
137 .mhandler
.cmd_new
= do_eject
,
141 @item eject
[-f
] @
var{device
}
142 Eject a removable
medium (use
-f to force it
).
147 .args_type
= "device:B,target:F,arg:s?",
148 .params
= "device filename [format]",
149 .help
= "change a removable medium, optional format",
150 .user_print
= monitor_user_noop
,
151 .mhandler
.cmd_new
= do_change
,
155 @item change @
var{device
} @
var{setting
}
157 Change the configuration of a device
.
160 @item change @
var{diskdevice
} @
var{filename
} [@
var{format
}]
161 Change the medium
for a removable disk device to point to @
var{filename
}. eg
164 (qemu
) change ide1
-cd0
/path
/to
/some
.iso
167 @
var{format
} is optional
.
169 @item change vnc @
var{display
},@
var{options
}
170 Change the configuration of the VNC server
. The valid syntax
for @
var{display
}
171 and @
var{options
} are described at @ref
{sec_invocation
}. eg
174 (qemu
) change vnc localhost
:1
177 @item change vnc password
[@
var{password
}]
179 Change the password associated with the VNC server
. If the
new password is not
180 supplied
, the monitor will prompt
for it to be entered
. VNC passwords are only
181 significant up to
8 letters
. eg
184 (qemu
) change vnc password
192 .name
= "screendump",
193 .args_type
= "filename:F",
194 .params
= "filename",
195 .help
= "save screen into PPM image 'filename'",
196 .mhandler
.cmd
= do_screen_dump
,
200 @item screendump @
var{filename
}
201 Save screen into PPM image @
var{filename
}.
206 .args_type
= "filename:F",
207 .params
= "filename",
208 .help
= "output logs to 'filename'",
209 .mhandler
.cmd
= do_logfile
,
213 @item logfile @
var{filename
}
214 Output logs to @
var{filename
}.
219 .args_type
= "items:s",
220 .params
= "item1[,...]",
221 .help
= "activate logging of the specified items to '/tmp/qemu.log'",
222 .mhandler
.cmd
= do_log
,
226 @item log @
var{item1
}[,...]
227 Activate logging of the specified items to @file
{/tmp
/qemu
.log
}.
232 .args_type
= "name:s?",
233 .params
= "[tag|id]",
234 .help
= "save a VM snapshot. If no tag or id are provided, a new snapshot is created",
235 .mhandler
.cmd
= do_savevm
,
239 @item savevm
[@
var{tag
}|@
var{id
}]
240 Create a snapshot of the whole virtual machine
. If @
var{tag
} is
241 provided
, it is used as human readable identifier
. If there is already
242 a snapshot with the same tag or ID
, it is replaced
. More info at
248 .args_type
= "name:s",
250 .help
= "restore a VM snapshot from its tag or id",
251 .mhandler
.cmd
= do_loadvm
,
255 @item loadvm @
var{tag
}|@
var{id
}
256 Set the whole virtual machine to the snapshot identified by the tag
257 @
var{tag
} or the unique snapshot ID @
var{id
}.
262 .args_type
= "name:s",
264 .help
= "delete a VM snapshot from its tag or id",
265 .mhandler
.cmd
= do_delvm
,
269 @item delvm @
var{tag
}|@
var{id
}
270 Delete the snapshot identified by @
var{tag
} or @
var{id
}.
274 .name
= "singlestep",
275 .args_type
= "option:s?",
276 .params
= "[on|off]",
277 .help
= "run emulation in singlestep mode or switch to normal mode",
278 .mhandler
.cmd
= do_singlestep
,
282 @item singlestep
[off
]
283 Run the emulation
in single step mode
.
284 If called with option off
, the emulation returns to normal mode
.
291 .help
= "stop emulation",
292 .user_print
= monitor_user_noop
,
293 .mhandler
.cmd_new
= do_stop
,
305 .help
= "resume emulation",
306 .user_print
= monitor_user_noop
,
307 .mhandler
.cmd_new
= do_cont
,
317 .args_type
= "device:s?",
318 .params
= "[device]",
319 .help
= "start gdbserver on given device (default 'tcp::1234'), stop with 'none'",
320 .mhandler
.cmd
= do_gdbserver
,
324 @item gdbserver
[@
var{port
}]
325 Start gdbserver
session (default @
var{port
}=1234)
330 .args_type
= "fmt:/,addr:l",
331 .params
= "/fmt addr",
332 .help
= "virtual memory dump starting at 'addr'",
333 .mhandler
.cmd
= do_memory_dump
,
337 @item x
/fmt @
var{addr
}
338 Virtual memory dump starting at @
var{addr
}.
343 .args_type
= "fmt:/,addr:l",
344 .params
= "/fmt addr",
345 .help
= "physical memory dump starting at 'addr'",
346 .mhandler
.cmd
= do_physical_memory_dump
,
350 @item xp
/@
var{fmt
} @
var{addr
}
351 Physical memory dump starting at @
var{addr
}.
353 @
var{fmt
} is a format which tells the command how to format the
354 data
. Its syntax is
: @option
{/@
{count@
}@
{format@
}@
{size@
}}
358 is the number of items to be dumped
.
361 can be
x (hex
), d (signed decimal
), u (unsigned decimal
), o (octal
),
362 c (char
) or
i (asm instruction
).
365 can be
b (8 bits
), h (16 bits
), w (32 bits
) or
g (64 bits
). On x86
,
366 @code
{h
} or @code
{w
} can be specified with the @code
{i
} format to
367 respectively select
16 or
32 bit code instruction size
.
374 Dump
10 instructions at the current instruction pointer
:
379 0x90107065: lea
0x0(%esi
,1),%esi
380 0x90107069: lea
0x0(%edi
,1),%edi
382 0x90107071: jmp
0x90107080
390 Dump
80 16 bit values at the start of the video memory
.
392 (qemu
) xp
/80hx
0xb8000
393 0x000b8000: 0x0b50 0x0b6c 0x0b65 0x0b78 0x0b38 0x0b36 0x0b2f 0x0b42
394 0x000b8010: 0x0b6f 0x0b63 0x0b68 0x0b73 0x0b20 0x0b56 0x0b47 0x0b41
395 0x000b8020: 0x0b42 0x0b69 0x0b6f 0x0b73 0x0b20 0x0b63 0x0b75 0x0b72
396 0x000b8030: 0x0b72 0x0b65 0x0b6e 0x0b74 0x0b2d 0x0b63 0x0b76 0x0b73
397 0x000b8040: 0x0b20 0x0b30 0x0b35 0x0b20 0x0b4e 0x0b6f 0x0b76 0x0b20
398 0x000b8050: 0x0b32 0x0b30 0x0b30 0x0b33 0x0720 0x0720 0x0720 0x0720
399 0x000b8060: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
400 0x000b8070: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
401 0x000b8080: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
402 0x000b8090: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
409 .args_type
= "fmt:/,val:l",
410 .params
= "/fmt expr",
411 .help
= "print expression value (use $reg for CPU register access)",
412 .mhandler
.cmd
= do_print
,
416 @item p or print
/@
var{fmt
} @
var{expr
}
418 Print expression value
. Only the @
var{format
} part of @
var{fmt
} is
424 .args_type
= "fmt:/,addr:i,index:i.",
425 .params
= "/fmt addr",
426 .help
= "I/O port read",
427 .mhandler
.cmd
= do_ioport_read
,
436 .args_type
= "fmt:/,addr:i,val:i",
437 .params
= "/fmt addr value",
438 .help
= "I/O port write",
439 .mhandler
.cmd
= do_ioport_write
,
448 .args_type
= "string:s,hold_time:i?",
449 .params
= "keys [hold_ms]",
450 .help
= "send keys to the VM (e.g. 'sendkey ctrl-alt-f1', default hold time=100 ms)",
451 .mhandler
.cmd
= do_sendkey
,
455 @item sendkey @
var{keys
}
457 Send @
var{keys
} to the emulator
. @
var{keys
} could be the name of the
458 key or @code
{#
} followed by the raw value
in either decimal or hexadecimal
459 format
. Use @code
{-} to press several keys simultaneously
. Example
:
464 This command is useful to send keys that your graphical user
interface
465 intercepts at low level
, such as @code
{ctrl
-alt
-f1
} in X Window
.
469 .name
= "system_reset",
472 .help
= "reset the system",
473 .user_print
= monitor_user_noop
,
474 .mhandler
.cmd_new
= do_system_reset
,
484 .name
= "system_powerdown",
487 .help
= "send system power down event",
488 .user_print
= monitor_user_noop
,
489 .mhandler
.cmd_new
= do_system_powerdown
,
493 @item system_powerdown
495 Power down the
system (if supported
).
500 .args_type
= "start:i,size:i",
501 .params
= "addr size",
502 .help
= "compute the checksum of a memory region",
503 .mhandler
.cmd
= do_sum
,
507 @item sum @
var{addr
} @
var{size
}
509 Compute the checksum of a memory region
.
514 .args_type
= "devname:s",
516 .help
= "add USB device (e.g. 'host:bus.addr' or 'host:vendor_id:product_id')",
517 .mhandler
.cmd
= do_usb_add
,
521 @item usb_add @
var{devname
}
523 Add the USB device @
var{devname
}. For details of available devices see
529 .args_type
= "devname:s",
531 .help
= "remove USB device 'bus.addr'",
532 .mhandler
.cmd
= do_usb_del
,
536 @item usb_del @
var{devname
}
538 Remove the USB device @
var{devname
} from the QEMU virtual USB
539 hub
. @
var{devname
} has the syntax @code
{bus
.addr
}. Use the monitor
540 command @code
{info usb
} to see the devices you can remove
.
544 .name
= "device_add",
545 .args_type
= "config:s",
547 .help
= "add device, like -device on the command line",
548 .mhandler
.cmd
= do_device_add
,
552 @item device_add @
var{config
}
558 .name
= "device_del",
561 .help
= "remove device",
562 .mhandler
.cmd
= do_device_del
,
566 @item device_del @
var{id
}
568 Remove device @
var{id
}.
573 .args_type
= "index:i",
575 .help
= "set the default CPU",
576 .user_print
= monitor_user_noop
,
577 .mhandler
.cmd_new
= do_cpu_set
,
585 .name
= "mouse_move",
586 .args_type
= "dx_str:s,dy_str:s,dz_str:s?",
587 .params
= "dx dy [dz]",
588 .help
= "send mouse move events",
589 .mhandler
.cmd
= do_mouse_move
,
593 @item mouse_move @
var{dx
} @
var{dy
} [@
var{dz
}]
594 Move the active mouse to the specified coordinates @
var{dx
} @
var{dy
}
595 with optional scroll axis @
var{dz
}.
599 .name
= "mouse_button",
600 .args_type
= "button_state:i",
602 .help
= "change mouse button state (1=L, 2=M, 4=R)",
603 .mhandler
.cmd
= do_mouse_button
,
607 @item mouse_button @
var{val
}
608 Change the active mouse button state @
var{val
} (1=L
, 2=M
, 4=R
).
613 .args_type
= "index:i",
615 .help
= "set which mouse device receives events",
616 .mhandler
.cmd
= do_mouse_set
,
620 @item mouse_set @
var{index
}
621 Set which mouse device receives events at given @
var{index
}, index
630 .name
= "wavcapture",
631 .args_type
= "path:F,freq:i?,bits:i?,nchannels:i?",
632 .params
= "path [frequency [bits [channels]]]",
633 .help
= "capture audio to a wave file (default frequency=44100 bits=16 channels=2)",
634 .mhandler
.cmd
= do_wav_capture
,
638 @item wavcapture @
var{filename
} [@
var{frequency
} [@
var{bits
} [@
var{channels
}]]]
639 Capture audio into @
var{filename
}. Using sample rate @
var{frequency
}
640 bits per sample @
var{bits
} and number of channels @
var{channels
}.
644 @item Sample rate
= 44100 Hz
- CD quality
646 @item Number of channels
= 2 - Stereo
652 .name
= "stopcapture",
654 .params
= "capture index",
655 .help
= "stop capture",
656 .mhandler
.cmd
= do_stop_capture
,
660 @item stopcapture @
var{index
}
661 Stop capture with a given @
var{index
}, index can be obtained with
669 .args_type
= "val:l,size:i,filename:s",
670 .params
= "addr size file",
671 .help
= "save to disk virtual memory dump starting at 'addr' of size 'size'",
672 .user_print
= monitor_user_noop
,
673 .mhandler
.cmd_new
= do_memory_save
,
677 @item memsave @
var{addr
} @
var{size
} @
var{file
}
678 save to disk virtual memory dump starting at @
var{addr
} of size @
var{size
}.
683 .args_type
= "val:l,size:i,filename:s",
684 .params
= "addr size file",
685 .help
= "save to disk physical memory dump starting at 'addr' of size 'size'",
686 .user_print
= monitor_user_noop
,
687 .mhandler
.cmd_new
= do_physical_memory_save
,
691 @item pmemsave @
var{addr
} @
var{size
} @
var{file
}
692 save to disk physical memory dump starting at @
var{addr
} of size @
var{size
}.
697 .args_type
= "bootdevice:s",
698 .params
= "bootdevice",
699 .help
= "define new values for the boot device list",
700 .mhandler
.cmd
= do_boot_set
,
704 @item boot_set @
var{bootdevicelist
}
706 Define
new values
for the boot device list
. Those values will
override
707 the values specified on the command line through the @code
{-boot
} option
.
709 The values that can be specified
here depend on the machine type
, but are
710 the same that can be specified
in the @code
{-boot
} command line option
.
713 #
if defined(TARGET_I386
)
716 .args_type
= "cpu_index:i",
718 .help
= "inject an NMI on the given CPU",
719 .mhandler
.cmd
= do_inject_nmi
,
724 Inject an NMI on the given
CPU (x86 only
).
729 .args_type
= "detach:-d,blk:-b,inc:-i,uri:s",
730 .params
= "[-d] [-b] [-i] uri",
731 .help
= "migrate to URI (using -d to not wait for completion)"
732 "\n\t\t\t -b for migration without shared storage with"
733 " full copy of disk\n\t\t\t -i for migration without "
734 "shared storage with incremental copy of disk "
735 "(base image shared between src and destination)",
736 .user_print
= monitor_user_noop
,
737 .mhandler
.cmd_new
= do_migrate
,
742 @item migrate
[-d
] [-b
] [-i
] @
var{uri
}
743 Migrate to @
var{uri
} (using -d to not wait
for completion
).
744 -b
for migration with full copy of disk
745 -i
for migration with incremental copy of
disk (base image is shared
)
749 .name
= "migrate_cancel",
752 .help
= "cancel the current VM migration",
753 .user_print
= monitor_user_noop
,
754 .mhandler
.cmd_new
= do_migrate_cancel
,
759 Cancel the current VM migration
.
763 .name
= "migrate_set_speed",
764 .args_type
= "value:s",
766 .help
= "set maximum speed (in bytes) for migrations",
767 .mhandler
.cmd
= do_migrate_set_speed
,
771 @item migrate_set_speed @
var{value
}
772 Set maximum speed to @
var{value
} (in bytes
) for migrations
.
776 .name
= "migrate_set_downtime",
777 .args_type
= "value:s",
779 .help
= "set maximum tolerated downtime (in seconds) for migrations",
780 .mhandler
.cmd
= do_migrate_set_downtime
,
784 @item migrate_set_downtime @
var{second
}
785 Set maximum tolerated
downtime (in seconds
) for migration
.
788 #
if defined(TARGET_I386
)
791 .args_type
= "pci_addr:s,opts:s",
792 .params
= "[[<domain>:]<bus>:]<slot>\n"
793 "[file=file][,if=type][,bus=n]\n"
794 "[,unit=m][,media=d][index=i]\n"
795 "[,cyls=c,heads=h,secs=s[,trans=t]]\n"
796 "[snapshot=on|off][,cache=on|off]",
797 .help
= "add drive to PCI storage controller",
798 .mhandler
.cmd
= drive_hot_add
,
804 Add drive to PCI storage controller
.
807 #
if defined(TARGET_I386
)
810 .args_type
= "pci_addr:s,type:s,opts:s?",
811 .params
= "auto|[[<domain>:]<bus>:]<slot> nic|storage [[vlan=n][,macaddr=addr][,model=type]] [file=file][,if=type][,bus=nr]...",
812 .help
= "hot-add PCI device",
813 .user_print
= pci_device_hot_add_print
,
814 .mhandler
.cmd_new
= pci_device_hot_add
,
823 #
if defined(TARGET_I386
)
826 .args_type
= "pci_addr:s",
827 .params
= "[[<domain>:]<bus>:]<slot>",
828 .help
= "hot remove PCI device",
829 .user_print
= monitor_user_noop
,
830 .mhandler
.cmd_new
= do_pci_device_hot_remove
,
836 Hot remove PCI device
.
840 .name
= "host_net_add",
841 .args_type
= "device:s,opts:s?",
842 .params
= "tap|user|socket|vde|dump [options]",
843 .help
= "add host VLAN client",
844 .mhandler
.cmd
= net_host_device_add
,
849 Add host VLAN client
.
853 .name
= "host_net_remove",
854 .args_type
= "vlan_id:i,device:s",
855 .params
= "vlan_id name",
856 .help
= "remove host VLAN client",
857 .mhandler
.cmd
= net_host_device_remove
,
861 @item host_net_remove
862 Remove host VLAN client
.
867 .name
= "hostfwd_add",
868 .args_type
= "arg1:s,arg2:s?,arg3:s?",
869 .params
= "[vlan_id name] [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport",
870 .help
= "redirect TCP or UDP connections from host to guest (requires -net user)",
871 .mhandler
.cmd
= net_slirp_hostfwd_add
,
875 .name
= "hostfwd_remove",
876 .args_type
= "arg1:s,arg2:s?,arg3:s?",
877 .params
= "[vlan_id name] [tcp|udp]:[hostaddr]:hostport",
878 .help
= "remove host-to-guest TCP or UDP redirection",
879 .mhandler
.cmd
= net_slirp_hostfwd_remove
,
885 Redirect TCP or UDP connections from host to
guest (requires
-net user
).
890 .args_type
= "value:M",
892 .help
= "request VM to change it's memory allocation (in MB)",
893 .user_print
= monitor_user_noop
,
894 .mhandler
.cmd_new
= do_balloon
,
898 @item balloon @
var{value
}
899 Request VM to change its memory allocation to @
var{value
} (in MB
).
904 .args_type
= "name:s,up_or_down:s",
905 .params
= "name up|down",
906 .help
= "change the link status of a network adapter",
907 .mhandler
.cmd
= do_set_link
,
911 @item set_link @
var{name
} [up|down
]
912 Set link @
var{name
} up or down
.
916 .name
= "watchdog_action",
917 .args_type
= "action:s",
918 .params
= "[reset|shutdown|poweroff|pause|debug|none]",
919 .help
= "change watchdog action",
920 .mhandler
.cmd
= do_watchdog_action
,
924 @item watchdog_action
925 Change watchdog action
.
930 .args_type
= "aclname:s",
932 .help
= "list rules in the access control list",
933 .mhandler
.cmd
= do_acl_show
,
937 @item acl_show @
var{aclname
}
938 List all the matching rules
in the access control list
, and the
default
939 policy
. There are currently two named access control lists
,
940 @
var{vnc
.x509dname
} and @
var{vnc
.username
} matching on the x509 client
941 certificate distinguished name
, and SASL username respectively
.
945 .name
= "acl_policy",
946 .args_type
= "aclname:s,policy:s",
947 .params
= "aclname allow|deny",
948 .help
= "set default access control list policy",
949 .mhandler
.cmd
= do_acl_policy
,
953 @item acl_policy @
var{aclname
} @code
{allow|deny
}
954 Set the
default access control list policy
, used
in the event that
955 none of the explicit rules match
. The
default policy at startup is
961 .args_type
= "aclname:s,match:s,policy:s,index:i?",
962 .params
= "aclname match allow|deny [index]",
963 .help
= "add a match rule to the access control list",
964 .mhandler
.cmd
= do_acl_add
,
968 @item acl_allow @
var{aclname
} @
var{match
} @code
{allow|deny
} [@
var{index
}]
969 Add a match rule to the access control list
, allowing or denying access
.
970 The match will normally be an exact username or x509 distinguished name
,
971 but can optionally include wildcard globs
. eg @code
{*@@EXAMPLE
.COM
} to
972 allow all users
in the @code
{EXAMPLE
.COM
} kerberos realm
. The match will
973 normally be appended to the end of the ACL
, but can be inserted
974 earlier
in the list
if the optional @
var{index
} parameter is supplied
.
978 .name
= "acl_remove",
979 .args_type
= "aclname:s,match:s",
980 .params
= "aclname match",
981 .help
= "remove a match rule from the access control list",
982 .mhandler
.cmd
= do_acl_remove
,
986 @item acl_remove @
var{aclname
} @
var{match
}
987 Remove the specified match rule from the access control list
.
992 .args_type
= "aclname:s",
994 .help
= "reset the access control list",
995 .mhandler
.cmd
= do_acl_reset
,
999 @item acl_remove @
var{aclname
} @
var{match
}
1000 Remove all matches from the access control list
, and set the
default
1001 policy back to @code
{deny
}.
1004 #
if defined(TARGET_I386
)
1008 .args_type
= "cpu_index:i,bank:i,status:l,mcg_status:l,addr:l,misc:l",
1009 .params
= "cpu bank status mcgstatus addr misc",
1010 .help
= "inject a MCE on the given CPU",
1011 .mhandler
.cmd
= do_inject_mce
,
1016 @item mce @
var{cpu
} @
var{bank
} @
var{status
} @
var{mcgstatus
} @
var{addr
} @
var{misc
}
1017 Inject an MCE on the given
CPU (x86 only
).
1022 .args_type
= "fdname:s",
1023 .params
= "getfd name",
1024 .help
= "receive a file descriptor via SCM rights and assign it a name",
1025 .user_print
= monitor_user_noop
,
1026 .mhandler
.cmd_new
= do_getfd
,
1030 @item getfd @
var{fdname
}
1031 If a file descriptor is passed alongside
this command
using the SCM_RIGHTS
1032 mechanism on unix sockets
, it is stored
using the name @
var{fdname
} for
1033 later use by other monitor commands
.
1038 .args_type
= "fdname:s",
1039 .params
= "closefd name",
1040 .help
= "close a file descriptor previously passed via SCM rights",
1041 .user_print
= monitor_user_noop
,
1042 .mhandler
.cmd_new
= do_closefd
,
1046 @item closefd @
var{fdname
}
1047 Close the file descriptor previously assigned to @
var{fdname
} using the
1048 @code
{getfd
} command
. This is only needed
if the file descriptor was
never
1049 used by another monitor command
.
1053 .name
= "block_passwd",
1054 .args_type
= "device:B,password:s",
1055 .params
= "block_passwd device password",
1056 .help
= "set the password of encrypted block devices",
1057 .user_print
= monitor_user_noop
,
1058 .mhandler
.cmd_new
= do_block_set_passwd
,
1062 @item block_passwd @
var{device
} @
var{password
}
1063 Set the encrypted device @
var{device
} password to @
var{password
}