°Ô½Ã¹° 1,369°Ç
   
qemu monitor option (QMP)
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2012-11-15 (¸ñ) 18:04 Á¶È¸ : 7653
±ÛÁÖ¼Ò :
                                


(qemu) help
help
help|? [cmd] -- show the help
commit device|all -- commit changes to the disk images (if -snapshot is used) or backing files
q|quit  -- quit the emulator
block_resize device size -- resize a block image
eject [-f] device -- eject a removable medium (use -f to force it)
drive_del device -- remove host block device
change device filename [format] -- change a removable medium, optional format
screendump filename -- save screen into PPM image 'filename'
logfile filename -- output logs to 'filename'
log item1[,...] -- activate logging of the specified items to '/tmp/qemu.log'
savevm [tag|id] -- save a VM snapshot. If no tag or id are provided, a new snapshot is created
loadvm tag|id -- restore a VM snapshot from its tag or id
delvm tag|id -- delete a VM snapshot from its tag or id
singlestep [on|off] -- run emulation in singlestep mode or switch to normal mode
stop  -- stop emulation
c|cont  -- resume emulation
gdbserver [device] -- start gdbserver on given device (default 'tcp::1234'), stop with 'none'
x /fmt addr -- virtual memory dump starting at 'addr'
xp /fmt addr -- physical memory dump starting at 'addr'
p|print /fmt expr -- print expression value (use $reg for CPU register access)
i /fmt addr -- I/O port read
o /fmt addr value -- I/O port write
sendkey keys [hold_ms] -- send keys to the VM (e.g. 'sendkey ctrl-alt-f1', default hold time=100 ms)
system_reset  -- reset the system
system_powerdown  -- send system power down event
sum addr size -- compute the checksum of a memory region
usb_add device -- add USB device (e.g. 'host:bus.addr' or 'host:vendor_id:product_id')
usb_del device -- remove USB device 'bus.addr'
device_add driver[,prop=value][,...] -- add device, like -device on the command line
device_del device -- remove device
cpu index -- set the default CPU
mouse_move dx dy [dz] -- send mouse move events
mouse_button state -- change mouse button state (1=L, 2=M, 4=R)
mouse_set index -- set which mouse device receives events
wavcapture path [frequency [bits [channels]]] -- capture audio to a wave file (default frequency=44100 bits=16 channels=2)
stopcapture capture index -- stop capture
memsave addr size file -- save to disk virtual memory dump starting at 'addr' of size 'size'
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
boot_set bootdevice -- define new values for the boot device list
nmi cpu -- inject an NMI on the given CPU
migrate [-d] [-b] [-i] uri -- migrate to URI (using -d to not wait for completion)
                         -b for migration without shared storage with full copy of disk
                         -i for migration without shared storage with incremental copy of disk (base image shared between src and destination)
migrate_cancel  -- cancel the current VM migration
migrate_set_speed value -- set maximum speed (in bytes) for migrations. Defaults to MB if no size suffix is specified, ie. B/K/M/G/T
migrate_set_downtime value -- set maximum tolerated downtime (in seconds) for migrations
snapshot_blkdev device [new-image-file] [format] -- initiates a live snapshot
                        of device. If a new image file is specified, the
                        new image file will become the new root image.
                        If format is specified, the snapshot file will
                        be created in that format. Otherwise the
                        snapshot will be internal! (currently unsupported)
client_migrate_info protocol hostname port tls-port cert-subject -- send migration info to spice/vnc client
drive_add [[<domain>:]<bus>:]<slot>
[file=file][,if=type][,bus=n]
[,unit=m][,media=d][index=i]
[,cyls=c,heads=h,secs=s[,trans=t]]
[snapshot=on|off][,cache=on|off] -- add drive to PCI storage controller
pci_add auto|[[<domain>:]<bus>:]<slot> nic|storage [[vlan=n][,macaddr=addr][,model=type]] [file=file][,if=type][,bus=nr]... -- hot-add PCI device
pci_del [[<domain>:]<bus>:]<slot> -- hot remove PCI device
pcie_aer_inject_error [-a] [-c] id <error_status> [<tlp header> [<tlp header prefix>]] -- inject pcie aer error
                         -a for advisory non fatal error
                         -c for correctable error
                        <id> = qdev device id
                        <error_status> = error string or 32bit
                        <tlb header> = 32bit x 4
                        <tlb header prefix> = 32bit x 4
host_net_add tap|user|socket|vde|dump [options] -- add host VLAN client
host_net_remove vlan_id name -- remove host VLAN client
netdev_add [user|tap|socket],id=str[,prop=value][,...] -- add host network device
netdev_del id -- remove host network device
hostfwd_add [vlan_id name] [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport -- redirect TCP or UDP connections from host to guest (requires -net user)
hostfwd_remove [vlan_id name] [tcp|udp]:[hostaddr]:hostport -- remove host-to-guest TCP or UDP redirection
balloon target -- request VM to change its memory allocation (in MB)
set_link name on|off -- change the link status of a network adapter
watchdog_action [reset|shutdown|poweroff|pause|debug|none] -- change watchdog action
acl_show aclname -- list rules in the access control list
acl_policy aclname allow|deny -- set default access control list policy
acl_add aclname match allow|deny [index] -- add a match rule to the access control list
acl_remove aclname match -- remove a match rule from the access control list
acl_reset aclname -- reset the access control list
mce [-b] cpu bank status mcgstatus addr misc -- inject a MCE on the given CPU [and broadcast to other CPUs with -b option]
getfd getfd name -- receive a file descriptor via SCM rights and assign it a name
closefd closefd name -- close a file descriptor previously passed via SCM rights
block_passwd block_passwd device password -- set the password of encrypted block devices
cpu_set cpu [online|offline] -- change cpu state
set_password protocol password action-if-connected -- set spice/vnc password
expire_password protocol time -- set spice/vnc password expire-time
info [subcommand] -- show various information about the system state




(qemu) info
info
info version  -- show the version of QEMU
info network  -- show the network state
info chardev  -- show the character devices
info block  -- show the block devices
info blockstats  -- show block device statistics
info registers  -- show the cpu registers
info cpus  -- show infos for each CPU
info history  -- show the command line history
info irq  -- show the interrupts statistics (if available)
info pic  -- show i8259 (PIC) state
info pci  -- show PCI info
info tlb  -- show virtual to physical memory mappings
info mem  -- show the active virtual memory mappings
info jit  -- show dynamic compiler info
info kvm  -- show KVM information
info numa  -- show NUMA information
info usb  -- show guest USB devices
info usbhost  -- show host USB devices
info profile  -- show profiling information
info capture  -- show capture information
info snapshots  -- show the currently saved VM snapshots
info status  -- show the current VM status (running|paused)
info pcmcia  -- show guest PCMCIA status
info mice  -- show which guest mouse is receiving events
info vnc  -- show the vnc server status
info name  -- show the current VM name
info uuid  -- show the current VM UUID
info usernet  -- show user network stack connection states
info migrate  -- show migration status
info balloon  -- show balloon information
info qtree  -- show device tree
info qdm  -- show qdev device model list
info roms  -- show roms



À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.