Linux QEMU KVM去虚拟化命令参数方法
演示命令:
qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.00a3b775-f246-468e-93d6-7f8aff7b1de1.pid -name "忧郁之心5201" -smbios type=0,vendor=ASUS,version=8.3.2,date="2016/4/15",release=8.3.2 -smbios type=1,manufacturer=ASUS,product=ADFSDR,version=8.3.2,serial=vMvEKFUenmT7NBj3,sku=vMvEKFU,family=vMv,uuid=00a3b775-f246-468e-93d6-7f8aff7b1de1 -smbios type=2,manufacturer=ASUS,product=ADFSDR,version=8.3.2 -smbios type=3,manufacturer=ASUS,version=8.3.2 -cpu phenom -smp 2 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/00a3b775-f246-468e-93d6-7f8aff7b1de1.dat,serial="db58-9346-8.3.2" -net nic,model=e1000,macaddr=d4:24:6a:46:3a:93 -net tap,ifname=tap385,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :385 &
QEMU emulator version 2.3.0 (Debian 1:2.3+dfsg-5ubuntu9.4), Copyright (c) 2003-2008 Fabrice Bellard
usage: qemu-system-x86_64 [options] [disk_image]
'disk_image' is a raw hard disk image for IDE hard disk 0
Standard options:
-h or -help display this help and exit
-version display version information and exit
-machine [type=]name[,prop[=value][,...]]
selects emulated machine ('-machine help' for list)
property accel=accel1[:accel2[:...]] selects accelerator
supported accelerators are kvm, xen, tcg (default: tcg)
kernel_irqchip=on|off controls accelerated irqchip support
vmport=on|off|auto controls emulation of vmport (default: auto)
kvm_shadow_mem=size of KVM shadow MMU
dump-guest-core=on|off include guest memory in a core dump (default=on)
mem-merge=on|off controls memory merge support (default: on)
iommu=on|off controls emulated Intel IOMMU (VT-d) support (default=off)
aes-key-wrap=on|off controls support for AES key wrapping (default=on)
dea-key-wrap=on|off controls support for DEA key wrapping (default=on)
suppress-vmdesc=on|off disables self-describing migration (default=off)
-cpu cpu select CPU ('-cpu help' for list)
-smp [cpus=]n[,maxcpus=cpus][,cores=cores][,threads=threads][,sockets=sockets]
set the number of CPUs to 'n' [default=1]
maxcpus= maximum number of total cpus, including
offline CPUs for hotplug, etc
cores= number of CPU cores on one socket
threads= number of threads on one CPU core
sockets= number of discrete sockets in the system
-numa node[,mem=size][,cpus=cpu[-cpu]][,nodeid=node]
-numa node[,memdev=id][,cpus=cpu[-cpu]][,nodeid=node]
-add-fd fd=fd,set=set[,opaque=opaque]
Add 'fd' to fd 'set'
-set group.id.arg=value
set <arg> parameter for item <id> of type <group>
i.e. -set drive.$id.file=/path/to/image
-global driver.prop=value
set a global default for a driver property
-boot [order=drives][,once=drives][,menu=on|off]
[,splash=sp_name][,splash-time=sp_time][,reboot-timeout=rb_time][,strict=on|off]
'drives': floppy (a), hard disk (c), CD-ROM (d), network (n)
'sp_name': the file's name that would be passed to bios as logo picture, if menu=on
'sp_time': the period that splash picture last if menu=on, unit is ms
'rb_timeout': the timeout before guest reboot when boot failed, unit is ms
-m[emory] [size=]megs[,slots=n,maxmem=size]
configure guest RAM
size: initial amount of guest memory (default: 128MiB)
slots: number of hotplug slots (default: none)
maxmem: maximum amount of guest memory (default: none)
NOTE: Some architectures might enforce a specific granularity
-mem-path FILE provide backing storage for guest RAM
-mem-prealloc preallocate guest memory (use with -mem-path)
-k language use keyboard layout (for example 'fr' for French)
-audio-help print list of audio drivers and their options
-soundhw c1,... enable audio support
and only specified sound cards (comma separated list)
use '-soundhw help' to get the list of supported cards
use '-soundhw all' to enable all of them
-balloon none disable balloon device
-balloon virtio[,addr=str]
enable virtio balloon device (default)
-device driver[,prop[=value][,...]]
add device (based on driver)
prop=value,... sets driver properties
use '-device help' to print all possible drivers
use '-device driver,help' to print all possible properties
-name string1[,process=string2][,debug-threads=on|off]
set the name of the guest
string1 sets the window title and string2 the process name (on Linux)
When debug-threads is enabled, individual threads are given a separate name (on Linux)
NOTE: The thread names are for debugging and not a stable API.
-uuid %08x-%04x-%04x-%04x-%012x
specify machine UUID
Block device options:
-fda/-fdb file use 'file' as floppy disk 0/1 image
-hda/-hdb file use 'file' as IDE hard disk 0/1 image
-hdc/-hdd file use 'file' as IDE hard disk 2/3 image
-cdrom file use 'file' as IDE cdrom image (cdrom is ide1 master)
-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]
[,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off]
[,cache=writethrough|writeback|none|directsync|unsafe][,format=f]
[,serial=s][,addr=A][,rerror=ignore|stop|report]
[,werror=ignore|stop|report|enospc][,id=name][,aio=threads|native]
[,readonly=on|off][,copy-on-read=on|off]
[,discard=ignore|unmap][,detect-zeroes=on|off|unmap]
[[,bps=b]|[[,bps_rd=r][,bps_wr=w]]]
[[,iops=i]|[[,iops_rd=r][,iops_wr=w]]]
[[,bps_max=bm]|[[,bps_rd_max=rm][,bps_wr_max=wm]]]
[[,iops_max=im]|[[,iops_rd_max=irm][,iops_wr_max=iwm]]]
[[,iops_size=is]]
use 'file' as a drive image
-mtdblock file use 'file' as on-board Flash memory image
-sd file use 'file' as SecureDigital card image
-pflash file use 'file' as a parallel flash image
-snapshot write to temporary files instead of disk image files
-hdachs c,h,s[,t]
force hard disk 0 physical geometry and the optional BIOS
translation (t=none or lba) (usually QEMU can guess them)
-fsdev fsdriver,id=id[,path=path,][security_model={mapped-xattr|mapped-file|passthrough|none}]
[,writeout=immediate][,readonly][,socket=socket|sock_fd=sock_fd]
-virtfs local,path=path,mount_tag=tag,security_model=[mapped-xattr|mapped-file|passthrough|none]
[,writeout=immediate][,readonly][,socket=socket|sock_fd=sock_fd]
-virtfs_synth Create synthetic file system image
USB options:
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Display options:
-display sdl[,frame=on|off][,alt_grab=on|off][,ctrl_grab=on|off]
[,window_close=on|off]|curses|none|
gtk[,grab_on_hover=on|off]|
vnc=<display>[,<optargs>]
select display type
-nographic disable graphical output and redirect serial I/Os to console
-curses use a curses/ncurses interface instead of SDL
-no-frame open SDL window without a frame and window decorations
-alt-grab use Ctrl-Alt-Shift to grab mouse (instead of Ctrl-Alt)
-ctrl-grab use Right-Ctrl to grab mouse (instead of Ctrl-Alt)
-no-quit disable SDL window close capability
-sdl enable SDL
-spice [port=port][,tls-port=secured-port][,x509-dir=<dir>]
[,x509-key-file=<file>][,x509-key-password=<file>]
[,x509-cert-file=<file>][,x509-cacert-file=<file>]
[,x509-dh-key-file=<file>][,addr=addr][,ipv4|ipv6|unix]
[,tls-ciphers=<list>]
[,tls-channel=[main|display|cursor|inputs|record|playback]]
[,plaintext-channel=[main|display|cursor|inputs|record|playback]]
[,sasl][,password=<secret>][,disable-ticketing]
[,image-compression=[auto_glz|auto_lz|quic|glz|lz|off]]
[,jpeg-wan-compression=[auto|never|always]]
[,zlib-glz-wan-compression=[auto|never|always]]
[,streaming-video=[off|all|filter]][,disable-copy-paste]
[,disable-agent-file-xfer][,agent-mouse=[on|off]]
[,playback-compression=[on|off]][,seamless-migration=[on|off]]
enable spice
at least one of {port, tls-port} is mandatory
-portrait rotate graphical output 90 deg left (only PXA LCD)
-rotate <deg> rotate graphical output some deg left (only PXA LCD)
-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|none]
select video card type
-full-screen start in full screen
-vnc display start a VNC server on display
i386 target only:
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-no-fd-bootchk disable boot signature checking for floppy disks
-no-acpi disable ACPI
-no-hpet disable HPET
-acpitable [sig=str][,rev=n][,oem_id=str][,oem_table_id=str][,oem_rev=n][,asl_compiler_id=str][,asl_compiler_rev=n][,{data|file}=file1[:file2]...]
ACPI table description
-smbios file=binary
load SMBIOS entry from binary file
-smbios type=0[,vendor=str][,version=str][,date=str][,release=%d.%d]
[,uefi=on|off]
specify SMBIOS type 0 fields
-smbios type=1[,manufacturer=str][,product=str][,version=str][,serial=str]
[,uuid=uuid][,sku=str][,family=str]
specify SMBIOS type 1 fields
-smbios type=2[,manufacturer=str][,product=str][,version=str][,serial=str]
[,asset=str][,location=str]
specify SMBIOS type 2 fields
-smbios type=3[,manufacturer=str][,version=str][,serial=str][,asset=str]
[,sku=str]
specify SMBIOS type 3 fields
-smbios type=4[,sock_pfx=str][,manufacturer=str][,version=str][,serial=str]
[,asset=str][,part=str]
specify SMBIOS type 4 fields
-smbios type=17[,loc_pfx=str][,bank=str][,manufacturer=str][,serial=str]
[,asset=str][,part=str][,speed=%d]
specify SMBIOS type 17 fields
Network options:
-net nic[,vlan=n][,macaddr=mac][,model=type][,name=str][,addr=str][,vectors=v]
create a new Network Interface Card and connect it to VLAN 'n'
-net user[,vlan=n][,name=str][,net=addr[/mask]][,host=addr][,restrict=on|off]
[,hostname=host][,dhcpstart=addr][,dns=addr][,dnssearch=domain][,tftp=dir]
[,bootfile=f][,hostfwd=rule][,guestfwd=rule][,smb=dir[,smbserver=addr]]
connect the user mode network stack to VLAN 'n', configure its
DHCP server and enabled optional services
-net tap[,vlan=n][,name=str][,fd=h][,fds=x:y:...:z][,ifname=name][,script=file][,downscript=dfile][,helper=helper][,sndbuf=nbytes][,vnet_hdr=on|off][,vhost=on|off][,vhostfd=h][,vhostfds=x:y:...:z][,vhostforce=on|off][,queues=n]
connect the host TAP network interface to VLAN 'n'
use network scripts 'file' (default=/etc/qemu-ifup)
to configure it and 'dfile' (default=/etc/qemu-ifdown)
to deconfigure it
use '[down]script=no' to disable script execution
use network helper 'helper' (default=/usr/lib/qemu/qemu-bridge-helper) to
configure it
use 'fd=h' to connect to an already opened TAP interface
use 'fds=x:y:...:z' to connect to already opened multiqueue capable TAP interfaces
use 'sndbuf=nbytes' to limit the size of the send buffer (the
default is disabled 'sndbuf=0' to enable flow control set 'sndbuf=1048576')
use vnet_hdr=off to avoid enabling the IFF_VNET_HDR tap flag
use vnet_hdr=on to make the lack of IFF_VNET_HDR support an error condition
use vhost=on to enable experimental in kernel accelerator
(only has effect for virtio guests which use MSIX)
use vhostforce=on to force vhost on for non-MSIX virtio guests
use 'vhostfd=h' to connect to an already opened vhost net device
use 'vhostfds=x:y:...:z to connect to multiple already opened vhost net devices
use 'queues=n' to specify the number of queues to be created for multiqueue TAP
-net bridge[,vlan=n][,name=str][,br=bridge][,helper=helper]
connects a host TAP network interface to a host bridge device 'br'
(default=br0) using the program 'helper'
(default=/usr/lib/qemu/qemu-bridge-helper)
-net l2tpv3[,vlan=n][,name=str],src=srcaddr,dst=dstaddr[,srcport=srcport][,dstport=dstport],txsession=txsession[,rxsession=rxsession][,ipv6=on/off][,udp=on/off][,cookie64=on/off][,counter][,pincounter][,txcookie=txcookie][,rxcookie=rxcookie][,offset=offset]
connect the VLAN to an Ethernet over L2TPv3 pseudowire
Linux kernel 3.3+ as well as most routers can talk
L2TPv3. This transport allows connecting a VM to a VM,
VM to a router and even VM to Host. It is a nearly-universal
standard (RFC3391). Note - this implementation uses static
pre-configured tunnels (same as the Linux kernel).
use 'src=' to specify source address
use 'dst=' to specify destination address
use 'udp=on' to specify udp encapsulation
use 'srcport=' to specify source udp port
use 'dstport=' to specify destination udp port
use 'ipv6=on' to force v6
L2TPv3 uses cookies to prevent misconfiguration as
well as a weak security measure
use 'rxcookie=0x012345678' to specify a rxcookie
use 'txcookie=0x012345678' to specify a txcookie
use 'cookie64=on' to set cookie size to 64 bit, otherwise 32
use 'counter=off' to force a 'cut-down' L2TPv3 with no counter
use 'pincounter=on' to work around broken counter handling in peer
use 'offset=X' to add an extra offset between header and data
-net socket[,vlan=n][,name=str][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,name=str][,fd=h][,mcast=maddr:port[,localaddr=addr]]
connect the vlan 'n' to multicast maddr and port
use 'localaddr=addr' to specify the host address to send packets from
-net socket[,vlan=n][,name=str][,fd=h][,udp=host:port][,localaddr=host:port]
connect the vlan 'n' to another VLAN using an UDP tunnel
-net dump[,vlan=n][,file=f][,len=n]
dump traffic on vlan 'n' to file 'f' (max n bytes per packet)
-net none use it alone to have zero network devices. If no -net option
is provided, the default is '-net nic -net user'
-netdev [user|tap|bridge|vhost-user|socket|hubport],id=str[,option][,option][,...]
Character device options:
-chardev null,id=id[,mux=on|off]
-chardev socket,id=id[,host=host],port=port[,to=to][,ipv4][,ipv6][,nodelay][,reconnect=seconds]
[,server][,nowait][,telnet][,reconnect=seconds][,mux=on|off] (tcp)
-chardev socket,id=id,path=path[,server][,nowait][,telnet][,reconnect=seconds][,mux=on|off] (unix)
-chardev udp,id=id[,host=host],port=port[,localaddr=localaddr]
[,localport=localport][,ipv4][,ipv6][,mux=on|off]
-chardev msmouse,id=id[,mux=on|off]
-chardev vc,id=id[[,width=width][,height=height]][[,cols=cols][,rows=rows]]
[,mux=on|off]
-chardev ringbuf,id=id[,size=size]
-chardev file,id=id,path=path[,mux=on|off]
-chardev pipe,id=id,path=path[,mux=on|off]
-chardev pty,id=id[,mux=on|off]
-chardev stdio,id=id[,mux=on|off][,signal=on|off]
-chardev braille,id=id[,mux=on|off]
-chardev serial,id=id,path=path[,mux=on|off]
-chardev tty,id=id,path=path[,mux=on|off]
-chardev parallel,id=id,path=path[,mux=on|off]
-chardev parport,id=id,path=path[,mux=on|off]
-chardev spicevmc,id=id,name=name[,debug=debug]
-chardev spiceport,id=id,name=name[,debug=debug]
Device URL Syntax:
-iscsi [user=user][,password=password]
[,header-digest=CRC32C|CR32C-NONE|NONE-CRC32C|NONE
[,initiator-name=initiator-iqn][,id=target-iqn]
iSCSI session parameters
Bluetooth(R) options:
-bt hci,null dumb bluetooth HCI - doesn't respond to commands
-bt hci,host[:id]
use host's HCI with the given name
-bt hci[,vlan=n]
emulate a standard HCI in virtual scatternet 'n'
-bt vhci[,vlan=n]
add host computer to virtual scatternet 'n' using VHCI
-bt device:dev[,vlan=n]
emulate a bluetooth device 'dev' in scatternet 'n'
TPM device options:
-tpmdev passthrough,id=id[,path=path][,cancel-path=path]
use path to provide path to a character device; default is /dev/tpm0
use cancel-path to provide path to TPM's cancel sysfs entry; if
not provided it will be searched for in /sys/class/misc/tpm?/device
Linux/Multiboot boot specific:
-kernel bzImage use 'bzImage' as kernel image
-append cmdline use 'cmdline' as kernel command line
-initrd file use 'file' as initial ram disk
-dtb file use 'file' as device tree image
Debug/Expert options:
-serial dev redirect the serial port to char device 'dev'
-parallel dev redirect the parallel port to char device 'dev'
-monitor dev redirect the monitor to char device 'dev'
-qmp dev like -monitor but opens in 'control' mode
-qmp-pretty dev like -qmp but uses pretty JSON formatting
-mon [chardev=]name[,mode=readline|control][,default]
-debugcon dev redirect the debug console to char device 'dev'
-pidfile file write PID to 'file'
-singlestep always run in singlestep mode
-S freeze CPU at startup (use 'c' to start execution)
-realtime [mlock=on|off]
run qemu with realtime features
mlock=on|off controls mlock support (default: on)
-gdb dev wait for gdb connection on 'dev'
-s shorthand for -gdb tcp::1234
-d item1,... enable logging of specified items (use '-d help' for a list of log items)
-D logfile output log to logfile (default stderr)
-L path set the directory for the BIOS, VGA BIOS and keymaps
-bios file set the filename for the BIOS
-enable-kvm enable KVM full virtualization support
-xen-domid id specify xen guest domain id
-xen-create create domain using xen hypercalls, bypassing xend
warning: should not be used when xend is in use
-xen-attach attach to existing xen domain
xend will use this when starting QEMU
-no-reboot exit instead of rebooting
-no-shutdown stop before shutdown
-loadvm [tag|id]
start right away with a saved state (loadvm in monitor)
-daemonize daemonize QEMU after initializing
-option-rom rom load a file, rom, into the option ROM space
-rtc [base=utc|localtime|date][,clock=host|rt|vm][,driftfix=none|slew]
set the RTC base and clock, enable drift fix for clock ticks (x86 only)
-icount [shift=N|auto][,align=on|off]
enable virtual instruction counter with 2^N clock ticks per
instruction and enable aligning the host and virtual clocks
-watchdog i6300esb|ib700
enable virtual hardware watchdog [default=none]
-watchdog-action reset|shutdown|poweroff|pause|debug|none
action when watchdog fires [default=reset]
-echr chr set terminal escape character instead of ctrl-a
-virtioconsole c
set virtio console
-show-cursor show cursor
-tb-size n set TB size
-incoming tcp:[host]:port[,to=maxport][,ipv4][,ipv6]
-incoming rdma:host:port[,ipv4][,ipv6]
-incoming unix:socketpath
prepare for incoming migration, listen on
specified protocol and socket address
-incoming fd:fd
-incoming exec:cmdline
accept incoming migration on given file descriptor
or from given external command
-nodefaults don't create default devices
-chroot dir chroot to dir just before starting the VM
-runas user change to user id user just before starting the VM
-sandbox <arg> Enable seccomp mode 2 system call filter (default 'off').
-readconfig <file>
-writeconfig <file>
read/write config file
-nodefconfig
do not load default config files at startup
-no-user-config
do not load user-provided config files at startup
-trace [events=<file>][,file=<file>]
specify tracing options
-enable-fips enable FIPS 140-2 compliance
-object TYPENAME[,PROP1=VALUE1,...]
create an new object of type TYPENAME setting properties
in the order they are specified. Note that the 'id'
property must be set. These objects are placed in the
'/objects' path.
-msg timestamp[=on|off]
change the format of messages
on|off controls leading timestamps (default:on)
-dump-vmstate <file>
Output vmstate information in JSON format to file.
Use the scripts/vmstate-static-checker.py file to
check for possible regressions in migration code
by comparing two such vmstate dumps.
During emulation, the following keys are useful:
ctrl-alt-f toggle full screen
ctrl-alt-n switch to virtual console 'n'
ctrl-alt toggle mouse and keyboard grab
When using -nographic, press 'ctrl-a h' to get some help.
以下是ps -aux查看进程的详细信息:
root 12749 22.9 0.4 2153504 1307936 ? Sl 19:50 5:24 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.8519e123-1694-4c83-8e2f-d3dd6f44c1e7.pid -name 闪睿868 -smbios type=0,vendor=BIOSTAR,version=2.1.7,date=2014/4/1,release=2.1.7 -smbios type=1,manufacturer=BIOSTAR,product=ADFSDR,version=2.1.7,serial=GIhcoypem9vCwNR9,sku=GIhcoyp,family=GIh,uuid=8519e123-1694-4c83-8e2f-d3dd6f44c1e7 -smbios type=2,manufacturer=BIOSTAR,product=ADFSDR,version=2.1.7 -smbios type=3,manufacturer=BIOSTAR,version=2.1.7 -cpu Conroe -smp 4 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/8519e123-1694-4c83-8e2f-d3dd6f44c1e7.dat,serial=d321-5361-2.1.7 -net nic,model=e1000,macaddr=72:2e:ec:bc:27:cc -net tap,ifname=tap358,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :358
root 12777 0.0 0.0 0 0 ? S 19:50 0:00 [kvm-pit/12749]
root 12841 12.8 0.4 1944680 1106988 ? Sl 19:51 2:59 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.36328d56-2df8-4faf-9ede-d542be3f84da.pid -name 鬼狐大咖 -smbios type=0,vendor=Asrock,version=1.5.9,date=2013/12/8,release=1.5.9 -smbios type=1,manufacturer=Asrock,product=ALKDJF,version=1.5.9,serial=CEnvfk1qkcb6ANqJ,sku=CEnvfk1,family=CEn,uuid=36328d56-2df8-4faf-9ede-d542be3f84da -smbios type=2,manufacturer=Asrock,product=ALKDJF,version=1.5.9 -smbios type=3,manufacturer=Asrock,version=1.5.9 -cpu core2duo -smp 2 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/36328d56-2df8-4faf-9ede-d542be3f84da.dat,serial=f755-1161-1.5.9 -net nic,model=e1000,macaddr=96:4f:26:38:e5:21 -net tap,ifname=tap11172,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :11172
root 12867 0.0 0.0 0 0 ? S 19:51 0:00 [kvm-pit/12841]
root 12880 24.8 0.4 1946668 1119712 ? Sl 19:51 5:42 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.68810a48-2451-448a-b2b2-709c55476f55.pid -name 佳佳公主2001 -smbios type=0,vendor=Asrock,version=2.9.6,date=2014/3/13,release=2.9.6 -smbios type=1,manufacturer=Asrock,product=ADFSDR,version=2.9.6,serial=LxuAqpQShApfwK7b,sku=LxuAqpQ,family=Lxu,uuid=68810a48-2451-448a-b2b2-709c55476f55 -smbios type=2,manufacturer=Asrock,product=ADFSDR,version=2.9.6 -smbios type=3,manufacturer=Asrock,version=2.9.6 -cpu phenom -smp 2 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/68810a48-2451-448a-b2b2-709c55476f55.dat,serial=7043-1888-2.9.6 -net nic,model=e1000,macaddr=34:bd:2f:7b:c7:b3 -net tap,ifname=tap359,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :359
root 12906 0.0 0.0 0 0 ? S 19:51 0:00 [kvm-pit/12880]
root 12917 22.1 0.4 1941980 1110112 ? Rl 19:51 5:04 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.6125f4ec-8b86-4cd3-aacb-9625876c99de.pid -name 热帖参加js -smbios type=0,vendor=GIGABYTE,version=4.5.4,date=2015/8/2,release=4.5.4 -smbios type=1,manufacturer=GIGABYTE,product=SER,version=4.5.4,serial=3t18X3glVcb1TNe9,sku=3t18X3g,family=3t1,uuid=6125f4ec-8b86-4cd3-aacb-9625876c99de -smbios type=2,manufacturer=GIGABYTE,product=SER,version=4.5.4 -smbios type=3,manufacturer=GIGABYTE,version=4.5.4 -cpu Conroe -smp 2 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/6125f4ec-8b86-4cd3-aacb-9625876c99de.dat,serial=c343-1585-4.5.4 -net nic,model=e1000,macaddr=c2:06:15:59:5b:1a -net tap,ifname=tap11173,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :11173
root 12943 0.0 0.0 0 0 ? S 19:51 0:00 [kvm-pit/12917]
root 12991 19.4 0.4 2242988 1112348 ? Sl 19:51 4:24 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.a325e366-5f4d-4396-acab-6881a66c1692.pid -name 艾迪康2 -smbios type=0,vendor=Asrock,version=7.8.8,date=2014/8/21,release=7.8.8 -smbios type=1,manufacturer=Asrock,product=SER,version=7.8.8,serial=Twu7ViewlWMrDtKL,sku=Twu7Vie,family=Twu,uuid=a325e366-5f4d-4396-acab-6881a66c1692 -smbios type=2,manufacturer=Asrock,product=SER,version=7.8.8 -smbios type=3,manufacturer=Asrock,version=7.8.8 -cpu Opteron_G2 -smp 4 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/a325e366-5f4d-4396-acab-6881a66c1692.dat,serial=7ac2-1691-7.8.8 -net nic,model=e1000,macaddr=bA:8f:7d:07:e1:fe -net tap,ifname=tap11174,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :11174
root 13019 0.0 0.0 0 0 ? S 19:51 0:00 [kvm-pit/12991]
root 13035 24.8 0.4 2081796 1119120 ? Sl 19:51 5:37 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.4774ac9a-8d11-4916-9282-1d8cc0b2cd5d.pid -name zhlei011 -smbios type=0,vendor=Asrock,version=2.8.6,date=2016/2/25,release=2.8.6 -smbios type=1,manufacturer=Asrock,product=SER,version=2.8.6,serial=hbJOOc0vxSi5aaR6,sku=hbJOOc0,family=hbJ,uuid=4774ac9a-8d11-4916-9282-1d8cc0b2cd5d -smbios type=2,manufacturer=Asrock,product=SER,version=2.8.6 -smbios type=3,manufacturer=Asrock,version=2.8.6 -cpu SandyBridge -smp 3 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/4774ac9a-8d11-4916-9282-1d8cc0b2cd5d.dat,serial=e832-9792-2.8.6 -net nic,model=e1000,macaddr=d6:e0:da:ca:88:58 -net tap,ifname=tap261,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :261
root 13062 0.0 0.0 0 0 ? S 19:51 0:00 [kvm-pit/13035]
root 13073 12.2 0.4 2154784 1116360 ? Sl 19:51 2:46 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.125dd79d-2555-49cb-b969-43c330cc549b.pid -name 肚脐而 -smbios type=0,vendor=Asrock,version=1.4.6,date=2015/5/1,release=1.4.6 -smbios type=1,manufacturer=Asrock,product=SER,version=1.4.6,serial=lpPa9XNUibx8lxOT,sku=lpPa9XN,family=lpP,uuid=125dd79d-2555-49cb-b969-43c330cc549b -smbios type=2,manufacturer=Asrock,product=SER,version=1.4.6 -smbios type=3,manufacturer=Asrock,version=1.4.6 -cpu Opteron_G2 -smp 4 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/125dd79d-2555-49cb-b969-43c330cc549b.dat,serial=7870-2457-1.4.6 -net nic,model=e1000,macaddr=38:2b:32:be:15:5b -net tap,ifname=tap11181,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :11181
root 13101 0.0 0.0 0 0 ? S 19:51 0:00 [kvm-pit/13073]
aaa 13103 0.3 0.0 27044 3504 pts/0 S+ 19:51 0:04 top
root 13104 0.0 0.0 0 0 ? S< 19:51 0:00 [kworker/16:1H]
root 13117 13.6 0.4 2291252 1118620 ? Sl 19:51 3:03 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.ce659f8e-ca75-4098-abfd-4c170a759fd6.pid -name 维URis啊 -smbios type=0,vendor=DELL,version=1.1.5,date=2015/12/19,release=1.1.5 -smbios type=1,manufacturer=DELL,product=ALKDJF,version=1.1.5,serial=hKqdXbqenBmX1Jmh,sku=hKqdXbq,family=hKq,uuid=ce659f8e-ca75-4098-abfd-4c170a759fd6 -smbios type=2,manufacturer=DELL,product=ALKDJF,version=1.1.5 -smbios type=3,manufacturer=DELL,version=1.1.5 -cpu Broadwell -smp 4 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/ce659f8e-ca75-4098-abfd-4c170a759fd6.dat,serial=dbec-5165-1.1.5 -net nic,model=e1000,macaddr=1C:12:b7:a6:5b:59 -net tap,ifname=tap11182,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :11182
root 13145 0.0 0.0 0 0 ? S 19:51 0:00 [kvm-pit/13117]
root 13165 30.7 0.8 3208560 2158020 ? Sl 19:52 6:51 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.6e7aa530-c38d-44a5-b9e5-8a76327e2498.pid -name chengde_0314 -smbios type=0,vendor=MSI,version=5.3.4,date=2014/5/3,release=5.3.4 -smbios type=1,manufacturer=MSI,product=ADFSDR,version=5.3.4,serial=kDaga41mpLwhINad,sku=kDaga41,family=kDa,uuid=6e7aa530-c38d-44a5-b9e5-8a76327e2498 -smbios type=2,manufacturer=MSI,product=ADFSDR,version=5.3.4 -smbios type=3,manufacturer=MSI,version=5.3.4 -cpu Westmere -smp 4 -m 2048 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/6e7aa530-c38d-44a5-b9e5-8a76327e2498.dat,serial=12dd-3564-5.3.4 -net nic,model=rtl8139,macaddr=06:a3:f4:83:77:92 -net tap,ifname=tap1968,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :1968
root 13193 0.0 0.0 0 0 ? S 19:52 0:00 [kvm-pit/13165]
root 13204 12.8 0.4 2015320 1107376 ? Sl 19:52 2:51 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.556e3f45-ceb8-4dae-88df-b36eea610546.pid -name 肖玲13821716009 -smbios type=0,vendor=GIGABYTE,version=2.2.3,date=2015/2/8,release=2.2.3 -smbios type=1,manufacturer=GIGABYTE,product=ALKDJF,version=2.2.3,serial=oYwwZWcRG68789du,sku=oYwwZWc,family=oYw,uuid=556e3f45-ceb8-4dae-88df-b36eea610546 -smbios type=2,manufacturer=GIGABYTE,product=ALKDJF,version=2.2.3 -smbios type=3,manufacturer=GIGABYTE,version=2.2.3 -cpu SandyBridge -smp 3 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/556e3f45-ceb8-4dae-88df-b36eea610546.dat,serial=83ea-7977-2.2.3 -net nic,model=e1000,macaddr=c4:e3:1c:86:1a:cb -net tap,ifname=tap262,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :262
root 13231 0.0 0.0 0 0 ? S 19:52 0:00 [kvm-pit/13204]
root 13247 12.2 0.4 2081296 1115492 ? Sl 19:52 2:42 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.a3c2d990-502a-4429-b254-8dc4a23bd586.pid -name 诚v板块 -smbios type=0,vendor=GIGABYTE,version=1.8.7,date=2014/11/14,release=1.8.7 -smbios type=1,manufacturer=GIGABYTE,product=ADFSDR,version=1.8.7,serial=RWuJtqRpgcwagXV3,sku=RWuJtqR,family=RWu,uuid=a3c2d990-502a-4429-b254-8dc4a23bd586 -smbios type=2,manufacturer=GIGABYTE,product=ADFSDR,version=1.8.7 -smbios type=3,manufacturer=GIGABYTE,version=1.8.7 -cpu Westmere -smp 3 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/a3c2d990-502a-4429-b254-8dc4a23bd586.dat,serial=d571-6612-1.8.7 -net nic,model=e1000,macaddr=1A:3d:20:f6:7f:bb -net tap,ifname=tap11183,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :11183
root 13274 0.0 0.0 0 0 ? S 19:52 0:00 [kvm-pit/13247]
root 13344 26.7 0.4 2053104 1118500 ? Sl 19:52 5:51 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.dbff2340-06c1-4856-927a-6de717a81995.pid -name titiismeas -smbios type=0,vendor=BIOSTAR,version=4.4.5,date=2014/10/25,release=4.4.5 -smbios type=1,manufacturer=BIOSTAR,product=SER,version=4.4.5,serial=FrtultK7JiIAolsB,sku=FrtultK,family=Frt,uuid=dbff2340-06c1-4856-927a-6de717a81995 -smbios type=2,manufacturer=BIOSTAR,product=SER,version=4.4.5 -smbios type=3,manufacturer=BIOSTAR,version=4.4.5 -cpu Westmere -smp 3 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/dbff2340-06c1-4856-927a-6de717a81995.dat,serial=5681-2324-4.4.5 -net nic,model=rtl8139,macaddr=1A:b7:3b:98:43:be -net tap,ifname=tap267,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :267
root 13371 0.0 0.0 0 0 ? S 19:52 0:00 [kvm-pit/13344]
root 13382 21.6 0.4 2169944 1122360 ? Sl 19:52 4:44 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.bbf40d35-86de-4575-a01f-59d10bfc5e99.pid -name 小单55子 -smbios type=0,vendor=BIOSTAR,version=3.5.3,date=2014/10/22,release=3.5.3 -smbios type=1,manufacturer=BIOSTAR,product=SER,version=3.5.3,serial=MnSqBr4Wg48XexgB,sku=MnSqBr4,family=MnS,uuid=bbf40d35-86de-4575-a01f-59d10bfc5e99 -smbios type=2,manufacturer=BIOSTAR,product=SER,version=3.5.3 -smbios type=3,manufacturer=BIOSTAR,version=3.5.3 -cpu Opteron_G4 -smp 3 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/bbf40d35-86de-4575-a01f-59d10bfc5e99.dat,serial=249d-2927-3.5.3 -net nic,model=rtl8139,macaddr=fA:99:29:51:ae:1e -net tap,ifname=tap348,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :348
root 13409 0.0 0.0 0 0 ? S 19:52 0:00 [kvm-pit/13382]
root 13422 12.2 0.4 2013272 1116268 ? Sl 19:52 2:38 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.52c44fbe-16cf-4dcd-a73f-639c391b0d31.pid -name tb43318632 -smbios type=0,vendor=ASUS,version=8.1.9,date=2014/11/18,release=8.1.9 -smbios type=1,manufacturer=ASUS,product=ADFSDR,version=8.1.9,serial=TymfecOFr997PHky,sku=TymfecO,family=Tym,uuid=52c44fbe-16cf-4dcd-a73f-639c391b0d31 -smbios type=2,manufacturer=ASUS,product=ADFSDR,version=8.1.9 -smbios type=3,manufacturer=ASUS,version=8.1.9 -cpu phenom -smp 3 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/52c44fbe-16cf-4dcd-a73f-639c391b0d31.dat,serial=b957-3556-8.1.9 -net nic,model=e1000,macaddr=a6:07:f0:25:15:18 -net tap,ifname=tap982,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :982
root 13449 0.0 0.0 0 0 ? S 19:52 0:00 [kvm-pit/13422]
root 13462 13.1 0.8 3125996 2123612 ? Sl 19:52 2:50 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.eef8b417-d18d-4d71-9e6f-591559a32a2a.pid -name grzhao1232 -smbios type=0,vendor=DELL,version=2.9.5,date=2015/8/7,release=2.9.5 -smbios type=1,manufacturer=DELL,product=ALKDJF,version=2.9.5,serial=bPJuokojfXU37Tuj,sku=bPJuoko,family=bPJ,uuid=eef8b417-d18d-4d71-9e6f-591559a32a2a -smbios type=2,manufacturer=DELL,product=ALKDJF,version=2.9.5 -smbios type=3,manufacturer=DELL,version=2.9.5 -cpu Opteron_G1 -smp 3 -m 2048 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/eef8b417-d18d-4d71-9e6f-591559a32a2a.dat,serial=6c33-9944-2.9.5 -net nic,model=rtl8139,macaddr=04:d5:3b:44:6e:59 -net tap,ifname=tap268,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :268
root 13489 0.0 0.0 0 0 ? S 19:52 0:00 [kvm-pit/13462]
root 13511 11.8 0.4 2080916 1103912 ? Sl 19:53 2:32 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.e3f4180f-9702-4480-b356-89782f624d97.pid -name 冰天?di159 -smbios type=0,vendor=ASUS,version=8.8.5,date=2014/6/24,release=8.8.5 -smbios type=1,manufacturer=ASUS,product=ALKDJF,version=8.8.5,serial=j6AMolBc9mTG6B25,sku=j6AMolB,family=j6A,uuid=e3f4180f-9702-4480-b356-89782f624d97 -smbios type=2,manufacturer=ASUS,product=ALKDJF,version=8.8.5 -smbios type=3,manufacturer=ASUS,version=8.8.5 -cpu phenom -smp 3 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/e3f4180f-9702-4480-b356-89782f624d97.dat,serial=88a7-8277-8.8.5 -net nic,model=e1000,macaddr=32:a7:80:b1:a2:ba -net tap,ifname=tap1021,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :1021
root 13538 0.0 0.0 0 0 ? S 19:53 0:00 [kvm-pit/13511]
root 13560 12.4 0.4 1940536 1115248 ? Sl 19:53 2:36 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.93ca977f-3923-45b8-b1aa-a35c1e29b357.pid -name 小馨馨和仔 -smbios type=0,vendor=ASUS,version=8.3.1,date=2016/5/6,release=8.3.1 -smbios type=1,manufacturer=ASUS,product=ADFSDR,version=8.3.1,serial=xHJ9GB1ko8ATMUp1,sku=xHJ9GB1,family=xHJ,uuid=93ca977f-3923-45b8-b1aa-a35c1e29b357 -smbios type=2,manufacturer=ASUS,product=ADFSDR,version=8.3.1 -smbios type=3,manufacturer=ASUS,version=8.3.1 -cpu phenom -smp 2 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/93ca977f-3923-45b8-b1aa-a35c1e29b357.dat,serial=a64e-5414-8.3.1 -net nic,model=e1000,macaddr=b2:c9:54:95:d4:80 -net tap,ifname=tap983,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :983
root 13586 0.0 0.0 0 0 ? S 19:53 0:00 [kvm-pit/13560]
root 13601 13.9 0.8 3134304 2124748 ? Sl 19:53 2:54 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.062063c1-1512-4faa-acc4-8057fa286d7c.pid -name 调皮胖晨晨1 -smbios type=0,vendor=DELL,version=3.3.6,date=2015/7/6,release=3.3.6 -smbios type=1,manufacturer=DELL,product=ALKDJF,version=3.3.6,serial=FvT9Fi7waifJkDLl,sku=FvT9Fi7,family=FvT,uuid=062063c1-1512-4faa-acc4-8057fa286d7c -smbios type=2,manufacturer=DELL,product=ALKDJF,version=3.3.6 -smbios type=3,manufacturer=DELL,version=3.3.6 -cpu Opteron_G1 -smp 4 -m 2048 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/062063c1-1512-4faa-acc4-8057fa286d7c.dat,serial=0671-2145-3.3.6 -net nic,model=rtl8139,macaddr=b2:03:30:2c:85:30 -net tap,ifname=tap1278,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :1278
root 13629 0.0 0.0 0 0 ? S 19:53 0:00 [kvm-pit/13601]
root 13781 27.6 0.8 3208680 2140732 ? Sl 19:54 5:29 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.16e68103-299e-4254-bdbb-eca7b60a32b0.pid -name fan447617227 -smbios type=0,vendor=GIGABYTE,version=6.7.8,date=2014/4/28,release=6.7.8 -smbios type=1,manufacturer=GIGABYTE,product=SER,version=6.7.8,serial=I3xl7rE4DiLxBZZM,sku=I3xl7rE,family=I3x,uuid=16e68103-299e-4254-bdbb-eca7b60a32b0 -smbios type=2,manufacturer=GIGABYTE,product=SER,version=6.7.8 -smbios type=3,manufacturer=GIGABYTE,version=6.7.8 -cpu Penryn -smp 4 -m 2048 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/16e68103-299e-4254-bdbb-eca7b60a32b0.dat,serial=8d80-7742-6.7.8 -net nic,model=e1000,macaddr=fC:c4:ba:b3:11:2f -net tap,ifname=tap930,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :930
root 13809 0.0 0.0 0 0 ? S 19:54 0:00 [kvm-pit/13781]
root 13883 46.8 0.4 2159180 1131444 ? Sl 19:55 9:03 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.7f3505c6-494c-4d19-8a47-5a73f4a1ebd3.pid -name 幸福起航33661 -smbios type=0,vendor=DELL,version=4.7.8,date=2016/5/16,release=4.7.8 -smbios type=1,manufacturer=DELL,product=ALKDJF,version=4.7.8,serial=DoLmGhWANaoql451,sku=DoLmGhW,family=DoL,uuid=7f3505c6-494c-4d19-8a47-5a73f4a1ebd3 -smbios type=2,manufacturer=DELL,product=ALKDJF,version=4.7.8 -smbios type=3,manufacturer=DELL,version=4.7.8 -cpu Haswell -smp 4 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/7f3505c6-494c-4d19-8a47-5a73f4a1ebd3.dat,serial=3aca-5688-4.7.8 -net nic,model=rtl8139,macaddr=a4:ea:da:34:72:6a -net tap,ifname=tap1030,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :1030
root 13911 0.0 0.0 0 0 ? S 19:55 0:00 [kvm-pit/13883]
root 13929 0.0 0.0 0 0 ? S 19:55 0:00 [kworker/7:0]
www-data 13996 0.0 0.0 280608 17160 ? S 19:55 0:00 /usr/sbin/apache2 -k start
www-data 14043 0.0 0.0 280608 17148 ? S 19:55 0:00 /usr/sbin/apache2 -k start
www-data 14099 0.0 0.0 280608 17176 ? S 19:55 0:00 /usr/sbin/apache2 -k start
www-data 14102 0.0 0.0 280608 17172 ? S 19:55 0:00 /usr/sbin/apache2 -k start
www-data 14117 0.0 0.0 280780 17360 ? S 19:56 0:00 /usr/sbin/apache2 -k start
www-data 14150 0.0 0.0 280608 17024 ? S 19:56 0:00 /usr/sbin/apache2 -k start
www-data 14151 0.0 0.0 280608 17036 ? S 19:56 0:00 /usr/sbin/apache2 -k start
www-data 14209 0.0 0.0 280608 17180 ? S 19:56 0:00 /usr/sbin/apache2 -k start
www-data 14220 0.0 0.0 280772 17348 ? S 19:56 0:00 /usr/sbin/apache2 -k start
root 14404 0.0 0.0 0 0 ? S 19:58 0:00 [kworker/23:2]
root 14456 5.1 0.4 1915024 1102596 ? Sl 19:58 0:51 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.f271fa0e-1702-493f-a3eb-3aebbf7bb729.pid -name hcr535 -smbios type=0,vendor=DELL,version=4.7.6,date=2015/12/3,release=4.7.6 -smbios type=1,manufacturer=DELL,product=ADFSDR,version=4.7.6,serial=QpjGHoRiHuP0j6ii,sku=QpjGHoR,family=Qpj,uuid=f271fa0e-1702-493f-a3eb-3aebbf7bb729 -smbios type=2,manufacturer=DELL,product=ADFSDR,version=4.7.6 -smbios type=3,manufacturer=DELL,version=4.7.6 -cpu Opteron_G2 -smp 3 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/f271fa0e-1702-493f-a3eb-3aebbf7bb729.dat,serial=5712-6866-4.7.6 -net nic,model=rtl8139,macaddr=28:4c:58:15:ec:34 -net tap,ifname=tap8724,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :8724
root 14505 5.0 0.4 2018840 1103460 ? Sl 19:58 0:49 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.a073a815-14bb-4540-ba90-21b8a41cca61.pid -name 123撒旦的眼泪 -smbios type=0,vendor=Asrock,version=2.8.8,date=2015/3/7,release=2.8.8 -smbios type=1,manufacturer=Asrock,product=ALKDJF,version=2.8.8,serial=ZVvE4WVzgRjamGSY,sku=ZVvE4WV,family=ZVv,uuid=a073a815-14bb-4540-ba90-21b8a41cca61 -smbios type=2,manufacturer=Asrock,product=ALKDJF,version=2.8.8 -smbios type=3,manufacturer=Asrock,version=2.8.8 -cpu athlon -smp 4 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/a073a815-14bb-4540-ba90-21b8a41cca61.dat,serial=676a-1264-2.8.8 -net nic,model=e1000,macaddr=a8:7c:9a:ea:a5:68 -net tap,ifname=tap12436,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :12436
root 14786 0.0 0.0 0 0 ? S 19:58 0:00 [kvm-pit/14456]
root 14802 0.0 0.0 0 0 ? S 19:58 0:00 [kvm-pit/14505]
root 14927 0.0 0.0 0 0 ? S 19:58 0:00 [kworker/6:0]
root 15030 19.5 0.4 1676648 1102020 ? Rl 19:58 3:02 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.b07a5d4d-a4e0-450a-bc87-0ff8a38bfdf0.pid -name tb_aiyang -smbios type=0,vendor=ASUS,version=7.8.7,date=2014/1/26,release=7.8.7 -smbios type=1,manufacturer=ASUS,product=SER,version=7.8.7,serial=TIZDS6ixyg3UhQoI,sku=TIZDS6i,family=TIZ,uuid=b07a5d4d-a4e0-450a-bc87-0ff8a38bfdf0 -smbios type=2,manufacturer=ASUS,product=SER,version=7.8.7 -smbios type=3,manufacturer=ASUS,version=7.8.7 -cpu phenom -smp 1 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/b07a5d4d-a4e0-450a-bc87-0ff8a38bfdf0.dat,serial=2a94-3329-7.8.7 -net nic,model=e1000,macaddr=f4:24:11:63:38:67 -net tap,ifname=tap11447,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :11447
root 15055 0.0 0.0 0 0 ? S 19:58 0:00 [kvm-pit/15030]
root 15116 23.0 0.4 2086788 1115280 ? Sl 19:58 3:33 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.aa627ff0-a832-401b-8098-a5527ea874ae.pid -name jianjunming06ghj -smbios type=0,vendor=ASUS,version=2.8.1,date=2014/12/30,release=2.8.1 -smbios type=1,manufacturer=ASUS,product=ALKDJF,version=2.8.1,serial=0hWAF4kCN6ma4eIE,sku=0hWAF4k,family=0hW,uuid=aa627ff0-a832-401b-8098-a5527ea874ae -smbios type=2,manufacturer=ASUS,product=ALKDJF,version=2.8.1 -smbios type=3,manufacturer=ASUS,version=2.8.1 -cpu phenom -smp 3 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/aa627ff0-a832-401b-8098-a5527ea874ae.dat,serial=7f2d-5646-2.8.1 -net nic,model=e1000,macaddr=8C:a5:51:69:97:c6 -net tap,ifname=tap11448,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :11448
root 15143 0.0 0.0 0 0 ? S 19:58 0:00 [kvm-pit/15116]
root 15158 22.2 0.4 2157496 1115532 ? Sl 19:59 3:24 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.da9f397b-9db5-4592-bf90-3d4eee1032db.pid -name 升龙?际1987 -smbios type=0,vendor=MSI,version=1.4.7,date=2014/4/6,release=1.4.7 -smbios type=1,manufacturer=MSI,product=ALKDJF,version=1.4.7,serial=iHCwOIlbKxCWAHAD,sku=iHCwOIl,family=3A8,uuid=da9f397b-9db5-4592-bf90-3d4eee1032db -smbios type=2,manufacturer=MSI,product=ALKDJF,version=1.4.7 -smbios type=3,manufacturer=MSI,version=1.4.7 -cpu Opteron_G4 -smp 4 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/da9f397b-9db5-4592-bf90-3d4eee1032db.dat,serial=5be5-5474-1.4.7 -net nic,model=e1000,macaddr=9A:cb:87:d7:5b:9a -net tap,ifname=tap11514,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :11514
root 15186 0.0 0.0 0 0 ? S 19:59 0:00 [kvm-pit/15158]
root 15200 21.6 0.4 2219532 1108452 ? Sl 19:59 3:17 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.47489db4-e01d-4e93-a015-4e65be8bfebd.pid -name 知足坊668ddx -smbios type=0,vendor=DELL,version=2.4.9,date=2016/2/8,release=2.4.9 -smbios type=1,manufacturer=DELL,product=SER,version=2.4.9,serial=4pqwpZ7r81Wa2KAk,sku=4pqwpZ7,family=4pq,uuid=47489db4-e01d-4e93-a015-4e65be8bfebd -smbios type=2,manufacturer=DELL,product=SER,version=2.4.9 -smbios type=3,manufacturer=DELL,version=2.4.9 -cpu phenom -smp 4 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/47489db4-e01d-4e93-a015-4e65be8bfebd.dat,serial=24e8-9572-2.4.9 -net nic,model=rtl8139,macaddr=22:9b:7f:f9:0a:ec -net tap,ifname=tap11515,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :11515
root 15228 0.0 0.0 0 0 ? S 19:59 0:00 [kvm-pit/15200]
root 15336 37.6 0.4 1938608 1122580 ? Sl 20:00 5:14 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.beebba28-cd8a-494a-b481-4237455174e3.pid -name 胡传万 -smbios type=0,vendor=GIGABYTE,version=6.7.2,date=2015/8/24,release=6.7.2 -smbios type=1,manufacturer=GIGABYTE,product=SER,version=6.7.2,serial=kdbxAcGHHNGtQPnL,sku=kdbxAcG,family=kdb,uuid=beebba28-cd8a-494a-b481-4237455174e3 -smbios type=2,manufacturer=GIGABYTE,product=SER,version=6.7.2 -smbios type=3,manufacturer=GIGABYTE,version=6.7.2 -cpu coreduo -smp 2 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/beebba28-cd8a-494a-b481-4237455174e3.dat,serial=0139-8153-6.7.2 -net nic,model=e1000,macaddr=36:ac:8d:ad:ec:45 -net tap,ifname=tap8701,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :8701
root 15362 0.0 0.0 0 0 ? S 20:00 0:00 [kvm-pit/15336]
root 15457 5.1 0.4 2725128 1168900 ? Sl 20:01 0:39 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.b2a3a303-38c7-4d88-9aab-40ee90700400.pid -name 12废 -smbios type=0,vendor=BIOSTAR,version=6.1.3,date=2014/5/18,release=6.1.3 -smbios type=1,manufacturer=BIOSTAR,product=SER,version=6.1.3,serial=6leufAuP3T2PApuK,sku=6leufAu,family=6le,uuid=b2a3a303-38c7-4d88-9aab-40ee90700400 -smbios type=2,manufacturer=BIOSTAR,product=SER,version=6.1.3 -smbios type=3,manufacturer=BIOSTAR,version=6.1.3 -cpu phenom -smp 1 -m 2048 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/b2a3a303-38c7-4d88-9aab-40ee90700400.dat,serial=4d16-7399-6.1.3 -net nic,model=rtl8139,macaddr=42:62:02:41:86:52 -net tap,ifname=tap29,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :29
root 15482 0.0 0.0 0 0 ? S 20:01 0:00 [kvm-pit/15457]
root 15638 22.2 0.8 2864476 2135744 ? Sl 20:02 2:36 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.3fdfee90-cacf-4e88-922a-11aa9d9f3539.pid -name 小武sha2013 -smbios type=0,vendor=MSI,version=9.3.9,date=2016/6/13,release=9.3.9 -smbios type=1,manufacturer=MSI,product=ADFSDR,version=9.3.9,serial=rBPKnuCyPbICeNlt,sku=rBPKnuC,family=rBP,uuid=3fdfee90-cacf-4e88-922a-11aa9d9f3539 -smbios type=2,manufacturer=MSI,product=ADFSDR,version=9.3.9 -smbios type=3,manufacturer=MSI,version=9.3.9 -cpu Haswell -smp 1 -m 2048 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/3fdfee90-cacf-4e88-922a-11aa9d9f3539.dat,serial=458d-5138-9.3.9 -net nic,model=e1000,macaddr=c8:45:5a:91:60:59 -net tap,ifname=tap10980,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :10980
root 15663 0.0 0.0 0 0 ? S 20:02 0:00 [kvm-pit/15638]
aaa 15735 0.3 0.0 27076 3608 pts/1 S+ 20:03 0:02 top
root 15766 0.0 0.0 0 0 ? S 20:03 0:00 [kworker/0:0]
mysql 15768 0.0 0.0 4476 1696 ? Ss 20:03 0:00 /bin/sh /usr/bin/mysqld_safe
root 15909 0.0 0.0 0 0 ? S 20:03 0:00 [kworker/1:0]
mysql 16115 5.2 0.0 3230988 219476 ? Sl 20:03 0:33 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --log-error=/var/log/mysql/error.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
root 16143 0.0 0.0 0 0 ? S 20:03 0:00 [kworker/19:1]
root 16180 35.1 0.4 2013412 1124440 ? Sl 20:03 3:40 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.c207641a-24e8-4c51-a889-d417604eca18.pid -name 呵呵邪龙kl -smbios type=0,vendor=GIGABYTE,version=9.8.2,date=2014/3/26,release=9.8.2 -smbios type=1,manufacturer=GIGABYTE,product=ADFSDR,version=9.8.2,serial=nze0aO8Y7hkufzi9,sku=nze0aO8,family=nze,uuid=c207641a-24e8-4c51-a889-d417604eca18 -smbios type=2,manufacturer=GIGABYTE,product=ADFSDR,version=9.8.2 -smbios type=3,manufacturer=GIGABYTE,version=9.8.2 -cpu athlon -smp 3 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/c207641a-24e8-4c51-a889-d417604eca18.dat,serial=08fd-3662-9.8.2 -net nic,model=rtl8139,macaddr=22:9a:ec:7f:fb:8f -net tap,ifname=tap360,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :360
root 16207 0.0 0.0 0 0 ? S 20:03 0:00 [kvm-pit/16180]
www-data 16252 0.0 0.0 243608 7456 ? S 20:05 0:00 php-fpm: pool www
www-data 16253 0.0 0.0 243608 7460 ? S 20:05 0:00 php-fpm: pool www
root 16480 0.0 0.0 0 0 ? S 20:07 0:00 [kworker/u482:1]
www-data 16880 0.0 0.0 280608 17156 ? S 20:11 0:00 /usr/sbin/apache2 -k start
root 16929 30.3 0.4 1676964 1102576 ? Sl 20:12 0:42 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.2bdb177e-0685-4cd8-84e2-832323a47cf1.pid -name 山东发展sas -smbios type=0,vendor=DELL,version=3.5.4,date=2016/5/10,release=3.5.4 -smbios type=1,manufacturer=DELL,product=SER,version=3.5.4,serial=9p5QBNse38bF8Pze,sku=9p5QBNs,family=9p5,uuid=2bdb177e-0685-4cd8-84e2-832323a47cf1 -smbios type=2,manufacturer=DELL,product=SER,version=3.5.4 -smbios type=3,manufacturer=DELL,version=3.5.4 -cpu coreduo -smp 1 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/2bdb177e-0685-4cd8-84e2-832323a47cf1.dat,serial=32b4-2142-3.5.4 -net nic,model=e1000,macaddr=cC:70:b7:94:1a:8a -net tap,ifname=tap12262,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :12262
root 16954 0.0 0.0 0 0 ? S 20:12 0:00 [kvm-pit/16929]
root 16968 31.9 0.4 1677940 1107448 ? Sl 20:12 0:42 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.7366e63f-4bec-4d9e-aa17-e3219f657aac.pid -name tb_843900 -smbios type=0,vendor=BIOSTAR,version=7.1.9,date=2015/5/14,release=7.1.9 -smbios type=1,manufacturer=BIOSTAR,product=ALKDJF,version=7.1.9,serial=EHRmO1XfOOYKENfv,sku=EHRmO1X,family=EHR,uuid=7366e63f-4bec-4d9e-aa17-e3219f657aac -smbios type=2,manufacturer=BIOSTAR,product=ALKDJF,version=7.1.9 -smbios type=3,manufacturer=BIOSTAR,version=7.1.9 -cpu Broadwell -smp 1 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/7366e63f-4bec-4d9e-aa17-e3219f657aac.dat,serial=3b08-5712-7.1.9 -net nic,model=rtl8139,macaddr=e2:2c:d5:d7:f3:01 -net tap,ifname=tap7634,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :7634
root 17001 34.4 0.5 3206684 1538512 ? Sl 20:12 0:45 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.08ca0d4c-f3d5-4fb2-9c2b-784c05593430.pid -name sxylyn -smbios type=0,vendor=GIGABYTE,version=2.2.4,date=2016/2/17,release=2.2.4 -smbios type=1,manufacturer=GIGABYTE,product=ADFSDR,version=2.2.4,serial=C6JPuEyZ4Huqq2lA,sku=C6JPuEy,family=C6J,uuid=08ca0d4c-f3d5-4fb2-9c2b-784c05593430 -smbios type=2,manufacturer=GIGABYTE,product=ADFSDR,version=2.2.4 -smbios type=3,manufacturer=GIGABYTE,version=2.2.4 -cpu Opteron_G4 -smp 4 -m 2048 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/08ca0d4c-f3d5-4fb2-9c2b-784c05593430.dat,serial=920a-8362-2.2.4 -net nic,model=e1000,macaddr=d4:9b:7d:51:04:5d -net tap,ifname=tap8106,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :8106
root 17004 0.0 0.0 0 0 ? S 20:12 0:00 [kvm-pit/16968]
root 17032 0.0 0.0 0 0 ? S 20:12 0:00 [kvm-pit/17001]
root 17049 42.8 0.6 3128400 1616892 ? Sl 20:12 0:52 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.6d015eb7-1742-48f9-b0f9-379a3db4b185.pid -name tangfang100 -smbios type=0,vendor=BIOSTAR,version=1.4.2,date=2016/3/4,release=1.4.2 -smbios type=1,manufacturer=BIOSTAR,product=ALKDJF,version=1.4.2,serial=nguNefJFAvMgUvbi,sku=nguNefJ,family=ngu,uuid=6d015eb7-1742-48f9-b0f9-379a3db4b185 -smbios type=2,manufacturer=BIOSTAR,product=ALKDJF,version=1.4.2 -smbios type=3,manufacturer=BIOSTAR,version=1.4.2 -cpu Opteron_G1 -smp 3 -m 2048 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/6d015eb7-1742-48f9-b0f9-379a3db4b185.dat,serial=93eb-9798-1.4.2 -net nic,model=e1000,macaddr=b2:0a:64:df:54:87 -net tap,ifname=tap12246,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :12246
root 17076 0.0 0.0 0 0 ? S 20:12 0:00 [kvm-pit/17049]
root 17091 45.6 0.4 2090424 1112680 ? Sl 20:12 0:52 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.42f93510-c231-4fd6-ace4-051595502aa1.pid -name 息斯敏7510 -smbios type=0,vendor=ASUS,version=3.1.4,date=2015/11/27,release=3.1.4 -smbios type=1,manufacturer=ASUS,product=ADFSDR,version=3.1.4,serial=wpzhjwGkJE7KShoW,sku=wpzhjwG,family=wpz,uuid=42f93510-c231-4fd6-ace4-051595502aa1 -smbios type=2,manufacturer=ASUS,product=ADFSDR,version=3.1.4 -smbios type=3,manufacturer=ASUS,version=3.1.4 -cpu Broadwell -smp 4 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/42f93510-c231-4fd6-ace4-051595502aa1.dat,serial=0e94-9996-3.1.4 -net nic,model=rtl8139,macaddr=4A:0d:48:02:27:41 -net tap,ifname=tap8099,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :8099
root 17119 0.0 0.0 0 0 ? S 20:12 0:00 [kvm-pit/17091]
root 17133 38.7 0.4 1677088 1106400 ? Sl 20:12 0:42 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.c51eaa5a-1bc8-4acc-aa6e-3808317aeba6.pid -name 154388hy545y -smbios type=0,vendor=ASUS,version=1.3.2,date=2015/7/14,release=1.3.2 -smbios type=1,manufacturer=ASUS,product=ADFSDR,version=1.3.2,serial=NlMTdom9hXBBj48N,sku=NlMTdom,family=NlM,uuid=c51eaa5a-1bc8-4acc-aa6e-3808317aeba6 -smbios type=2,manufacturer=ASUS,product=ADFSDR,version=1.3.2 -smbios type=3,manufacturer=ASUS,version=1.3.2 -cpu phenom -smp 1 -m 1024 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/c51eaa5a-1bc8-4acc-aa6e-3808317aeba6.dat,serial=5e4a-6685-1.3.2 -net nic,model=e1000,macaddr=d2:d1:bc:9e:32:10 -net tap,ifname=tap7122,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :7122
root 17158 0.0 0.0 0 0 ? S 20:12 0:00 [kvm-pit/17133]
root 17175 50.8 0.5 2985728 1541988 ? Sl 20:12 0:49 qemu-system-x86_64 -enable-kvm -nodefaults -boot once=dc,menu=on,splash=/data/vmware/bin/bin/logo -pidfile /data/vmware/bin/pid/.d6181686-2c0c-42e0-94f3-8c00fe2a8ce1.pid -name helene2857 -smbios type=0,vendor=BIOSTAR,version=8.7.6,date=2016/3/17,release=8.7.6 -smbios type=1,manufacturer=BIOSTAR,product=SER,version=8.7.6,serial=XABgbn0I5jWI1xBy,sku=XABgbn0,family=XAB,uuid=d6181686-2c0c-42e0-94f3-8c00fe2a8ce1 -smbios type=2,manufacturer=BIOSTAR,product=SER,version=8.7.6 -smbios type=3,manufacturer=BIOSTAR,version=8.7.6 -cpu Opteron_G1 -smp 2 -m 2048 -drive media=disk,cache=writeback,file=/data/vmware/bin/disk/d6181686-2c0c-42e0-94f3-8c00fe2a8ce1.dat,serial=d6f1-7734-8.7.6 -net nic,model=rtl8139,macaddr=e6:4d:b8:76:1d:b4 -net tap,ifname=tap8002,downscript=no -usbdevice tablet -vga cirrus -rtc base=localtime -vnc :8002
QEMU KVM Libvirt手册(7): 硬件虚拟化
在openstack中,如果我们启动一个虚拟机,我们会看到非常复杂的参数
qemu-system-x86_64
-enable-kvm
-name instance-00000024
-S
-machine pc-i440fx-trusty,accel=kvm,usb=off
-cpu SandyBridge,+erms,+smep,+fsgsbase,+pdpe1gb,+rdrand,+f16c,+osxsave,+dca,+pcid,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme
-m 2048 -realtime mlock=off
-smp 1,sockets=1,cores=1,threads=1
-uuid 1f8e6f7e-5a70-4780-89c1-464dc0e7f308
-smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=2014.1,serial=80590690-87d2-e311-b1b0-a0481cabdfb4,uuid=1f8e6f7e-5a70-4780-89c1-464dc0e7f308
-no-user-config
-nodefaults
-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000024.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control
-rtc base=utc,driftfix=slew
-global kvm-pit.lost_tick_policy=discard
-no-hpet
-no-shutdown
-boot strict=on
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2
-drive file=/var/lib/nova/instances/1f8e6f7e-5a70-4780-89c1-464dc0e7f308/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-netdev tap,fd=32,id=hostnet0,vhost=on,vhostfd=37
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:d1:2d:99,bus=pci.0,addr=0x3
-chardev file,id=charserial0,path=/var/lib/nova/instances/1f8e6f7e-5a70-4780-89c1-464dc0e7f308/console.log
-device isa-serial,chardev=charserial0,id=serial0
-chardev pty,id=charserial1
-device isa-serial,chardev=charserial1,id=serial1
-device usb-tablet,id=input0
-vnc 0.0.0.0:12
-k en-us
-device cirrus-vga,id=video0,bus=pci.0,addr=0x2
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
这节我们会一一解析
QEMU会模拟多种Processor architectures, 常用的是PC (x86 or x86_64 processor), Mac99 PowerMac (PowerPC processor), Sun4u/Sun4v (64-bit Sparc processor), MIPS magnum (64-bit MIPS processor)
通过下面的命令我们可以列出支持的PC bus architecture
# qemu-system-x86_64 --machine ?
Supported machines are:
pc-0.13 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.0 Standard PC (i440FX + PIIX, 1996)
pc-1.0 Standard PC (i440FX + PIIX, 1996)
pc-q35-1.7 Standard PC (Q35 + ICH9, 2009)
pc-1.1 Standard PC (i440FX + PIIX, 1996)
q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-2.0)
pc-q35-2.0 Standard PC (Q35 + ICH9, 2009)
pc-i440fx-1.4 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.5 Standard PC (i440FX + PIIX, 1996)
pc-0.14 Standard PC (i440FX + PIIX, 1996)
pc-0.15 Standard PC (i440FX + PIIX, 1996)
xenfv Xen Fully-virtualized PC
pc-q35-1.4 Standard PC (Q35 + ICH9, 2009)
isapc ISA-only PC
pc-0.10 Standard PC (i440FX + PIIX, 1996)
pc Ubuntu 14.04 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-trusty)
pc-i440fx-trusty Ubuntu 14.04 PC (i440FX + PIIX, 1996) (default)
pc-1.2 Standard PC (i440FX + PIIX, 1996)
pc-0.11 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.7 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.6 Standard PC (i440FX + PIIX, 1996)
none empty machine
xenpv Xen Para-virtualized PC
pc-q35-1.5 Standard PC (Q35 + ICH9, 2009)
pc-q35-1.6 Standard PC (Q35 + ICH9, 2009)
pc-0.12 Standard PC (i440FX + PIIX, 1996)
pc-1.3 Standard PC (i440FX + PIIX, 1996)
默认的是pc-i440fx-trusty,所以在上面的参数中我们可以看到
-machine pc-i440fx-trusty,accel=kvm,usb=off
在x86 architecture下,很多硬件都可以被模拟
SeaBIOS (from QEMU 0.12.0), PC BIOS from the Bochs project (up QEMU 0.11)
Plex86/Bochs LGPL VGA BIOS
Symmetric multiprocessor system (SMP) for up to 255 CPUs
PC bus: PCI or ISA system (i440FX Host PCI Bridge and PCI to ISA Bridge PIIX3)
Two PCI IDE interfaces with support for up to four (virtual) hard drives or CD / DVD-ROMs
two floppy disk drives
CD or DVD drive
Graphics card (Cirrus CLGD 5446 PCI VGA card or standard VGA graphics card with Bochs VESA BIOS Extension)
2 mouse and keyboard
PCI UHCI USB controller and a virtual USB hub
PCI-/ISA-Netzwerkadapter
Network cards (Intel e1000 and others)
Parallel port
Serial ports
Sound card (Creative Sound Blaster 16, ENSONIQ AudioPCI ES1370 PCI, Intel 82801AA AC97, Adlib OPL2 Yamaha
YM3812, Gravis Ultrasound GF1, CS4231A)
Supervisor Mode Execution Prevention (SMEP) from Intel
Functionalities of VIA CPUs.
CPU
下面的命令可以列出支持的CPU
# qemu-system-x86_64 --cpu ?
x86 qemu64 QEMU Virtual CPU version 2.0.0
x86 phenom AMD Phenom(tm) 9550 Quad-Core Processor
x86 core2duo Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
x86 kvm64 Common KVM processor
x86 qemu32 QEMU Virtual CPU version 2.0.0
x86 kvm32 Common 32-bit KVM processor
x86 coreduo Genuine Intel(R) CPU T2600 @ 2.16GHz
x86 486
x86 pentium
x86 pentium2
x86 pentium3
x86 athlon QEMU Virtual CPU version 2.0.0
x86 n270 Intel(R) Atom(TM) CPU N270 @ 1.60GHz
x86 Conroe Intel Celeron_4x0 (Conroe/Merom Class Core 2)
x86 Penryn Intel Core 2 Duo P9xxx (Penryn Class Core 2)
x86 Nehalem Intel Core i7 9xx (Nehalem Class Core i7)
x86 Westmere Westmere E56xx/L56xx/X56xx (Nehalem-C)
x86 SandyBridge Intel Xeon E312xx (Sandy Bridge)
x86 Haswell Intel Core Processor (Haswell)
x86 Opteron_G1 AMD Opteron 240 (Gen 1 Class Opteron)
x86 Opteron_G2 AMD Opteron 22xx (Gen 2 Class Opteron)
x86 Opteron_G3 AMD Opteron 23xx (Gen 3 Class Opteron)
x86 Opteron_G4 AMD Opteron 62xx class CPU
x86 Opteron_G5 AMD Opteron 63xx class CPU
x86 host KVM processor with all supported host features (only available in KVM mode)
Recognized CPUID flags:
pbe ia64 tm ht ss sse2 sse fxsr mmx acpi ds clflush pn pse36 pat cmov mca pge mtrr sep apic cx8 mce pae msr tsc pse de vme fpu
hypervisor rdrand f16c avx osxsave xsave aes tsc-deadline popcnt movbe x2apic sse4.2|sse4_2 sse4.1|sse4_1 dca pcid pdcm xtpr cx16 fma cid ssse3 tm2 est smx vmx ds_cpl monitor dtes64 pclmulqdq|pclmuldq pni|sse3
smap adx rdseed rtm invpcid erms bmi2 smep avx2 hle bmi1 fsgsbase
3dnow 3dnowext lm|i64 rdtscp pdpe1gb fxsr_opt|ffxsr mmxext nx|xd syscall
perfctr_nb perfctr_core topoext tbm nodeid_msr tce fma4 lwp wdt skinit xop ibs osvw 3dnowprefetch misalignsse sse4a abm cr8legacy extapic svm cmp_legacy lahf_lm
pmm-en pmm phe-en phe ace2-en ace2 xcrypt-en xcrypt xstore-en xstore
kvm_pv_unhalt kvm_pv_eoi kvm_steal_time kvm_asyncpf kvmclock kvm_mmu kvm_nopiodelay kvmclock
pfthreshold pause_filter decodeassists flushbyasid vmcb_clean tsc_scale nrip_save svm_lock lbrv npt
所以我们的参数中有下面的CPU设置及添加的flag
-cpu SandyBridge,+erms,+smep,+fsgsbase,+pdpe1gb,+rdrand,+f16c,+osxsave,+dca,+pcid,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme
SMP对称多处理器
对称多处理"(Symmetrical Multi-Processing)简称SMP,是指在一个计算机上汇集了一组处理器(多CPU),各CPU之间共享内存子系统以及总线结构。
在这种架构中,一台电脑不再由单个CPU组成,而同时由多个处理器运行操作系统的单一复本,并共享内存和一台计算机的其他资源。虽然同时使用多个CPU,但是从管理的角度来看,它们的表现就像一台单机一样。系统将任务队列对称地分布于多个CPU之上,从而极大地提高了整个系统的数据处理能力。所有的处理器都可以平等地访问内存、I/O和外部中断。在对称多处理系统中,系统资源被系统中所有CPU共享,工作负载能够均匀地分配到所有可用处理器之上。
QEMU and KVM 可以最多模拟SMP到255个CPU.
我们的参数中有
-smp 1,sockets=1,cores=1,threads=1
qemu仿真了一个具有1个vcpu,一个socket,一个core,一个threads的处理器。
socket, core, threads是什么概念呢
(1)socket就是主板上插cpu的槽的数目,也即管理员说的”路“
(2)core就是我们平时说的”核“,即双核,4核等
(3)thread就是每个core的硬件线程数,即超线程
具体例子,某个服务器是:2路4核超线程(一般默认为2个线程),那么,通过cat /proc/cpuinfo看到的是2*4*2=16个processor,很多人也习惯成为16核了!
如果使用KVM hardware-assisted virtualization,也即nova-compute.conf中的libvirt_type=kvm,也即BIOS中VD-T是打开的,则参数中accel=kvm
如果不使用hardware-assisted virtualization,也即nova-compute.conf中的libvirt_type=qemu,用的是纯模拟,则有参数accel = tcg,-no-kvm
When you install Microsoft Windows as a guest operating system, the KVM hardware-assisted virtualization should be disabled. After installation, the KVM hardware-assisted virtualization can be enabled on all Windows versions.
其他硬件
还模拟了其他的设备,可以使用默认配置,如果不使用默认配置,则有参数-nodefaults
在monitor中,用下面的命令可以打印出所有的device
virsh # qemu-monitor-command instance-00000024 --hmp "info qtree"
bus: main-system-bus
type System
dev: kvm-ioapic, id ""
gpio-in 24
gsi_base = 0 (0)
irq 0
mmio 00000000fec00000/0000000000001000
dev: i440FX-pcihost, id ""
pci-hole64-size = 18446744073709551615 (16 EiB)
short_root_bus = 0 (0)
irq 0
bus: pci.0
type PCI
dev: virtio-balloon-pci, id "balloon0"
indirect_desc = true
event_idx = true
class = 255 (0xff)
addr = 05.0
romfile = ""
rombar = 1 (0x1)
multifunction = false
command_serr_enable = true
class Class 00ff, addr 00:05.0, pci id 1af4:1002 (sub 1af4:0005)
bar 0: i/o at 0xc080 [0xc09f]
bus: virtio-bus
type virtio-pci-bus
dev: virtio-balloon-device, id ""
dev: cirrus-vga, id "video0"
vgamem_mb = 8 (0x8)
addr = 02.0
romfile = "vgabios-cirrus.bin"
rombar = 1 (0x1)
multifunction = false
command_serr_enable = true
class VGA controller, addr 00:02.0, pci id 1013:00b8 (sub 1af4:1100)
bar 0: mem at 0xfc000000 [0xfdffffff]
bar 1: mem at 0xfebd0000 [0xfebd0fff]
bar 6: mem at 0xffffffffffffffff [0xfffe]
dev: virtio-net-pci, id "net0"
ioeventfd = false
vectors = 3 (0x3)
indirect_desc = true
event_idx = true
any_layout = true
csum = true
guest_csum = true
gso = true
guest_tso4 = true
guest_tso6 = true
guest_ecn = true
guest_ufo = true
host_tso4 = true
host_tso6 = true
host_ecn = true
host_ufo = true
mrg_rxbuf = true
status = true
ctrl_vq = true
ctrl_rx = true
ctrl_vlan = true
ctrl_rx_extra = true
ctrl_mac_addr = true
ctrl_guest_offloads = true
mq = false
mac = "fa:16:3e:d1:2d:99"
vlan = <null>
netdev = "hostnet0"
bootindex = -1 (0xffffffffffffffff)
x-txtimer = 150000 (0x249f0)
x-txburst = 256 (0x100)
tx = ""
addr = 03.0
romfile = "efi-virtio.rom"
rombar = 1 (0x1)
multifunction = false
command_serr_enable = true
class Ethernet controller, addr 00:03.0, pci id 1af4:1000 (sub 1af4:0001)
bar 0: i/o at 0xc060 [0xc07f]
bar 1: mem at 0xfebd1000 [0xfebd1fff]
bar 6: mem at 0xffffffffffffffff [0x3fffe]
bus: virtio-bus
type virtio-pci-bus
dev: virtio-net-device, id ""
mac = "fa:16:3e:d1:2d:99"
vlan = <null>
netdev = "hostnet0"
bootindex = -1 (0xffffffffffffffff)
x-txtimer = 150000 (0x249f0)
x-txburst = 256 (0x100)
tx = ""
dev: virtio-blk-pci, id "virtio-disk0"
class = 0 (0)
ioeventfd = true
vectors = 2 (0x2)
x-data-plane = false
indirect_desc = true
event_idx = true
drive = "drive-virtio-disk0"
logical_block_size = 512 (0x200)
physical_block_size = 512 (0x200)
min_io_size = 0 (0)
opt_io_size = 0 (0)
bootindex = 1 (0x1)
discard_granularity = 4294967295 (0xffffffff)
cyls = 0 (0)
heads = 0 (0)
secs = 0 (0)
serial = ""
config-wce = true
scsi = false
x-iothread = ""
addr = 04.0
romfile = ""
rombar = 1 (0x1)
multifunction = false
command_serr_enable = true
class SCSI controller, addr 00:04.0, pci id 1af4:1001 (sub 1af4:0002)
bar 0: i/o at 0xc000 [0xc03f]
bar 1: mem at 0xfebd2000 [0xfebd2fff]
bus: virtio-bus
type virtio-pci-bus
dev: virtio-blk-device, id ""
drive = "drive-virtio-disk0"
logical_block_size = 512 (0x200)
physical_block_size = 512 (0x200)
min_io_size = 0 (0)
opt_io_size = 0 (0)
bootindex = 1 (0x1)
discard_granularity = 4294967295 (0xffffffff)
cyls = 16383 (0x3fff)
heads = 16 (0x10)
secs = 63 (0x3f)
serial = ""
config-wce = true
scsi = false
x-iothread = ""
dev: piix3-usb-uhci, id "usb"
masterbus = ""
firstport = 0 (0)
bandwidth = 1280 (0x500)
maxframes = 128 (0x80)
addr = 01.2
romfile = ""
rombar = 1 (0x1)
multifunction = false
command_serr_enable = true
class USB controller, addr 00:01.2, pci id 8086:7020 (sub 1af4:1100)
bar 4: i/o at 0xc040 [0xc05f]
bus: usb.0
type usb-bus
dev: usb-tablet, id "input0"
usb_version = 2 (0x2)
port = ""
serial = ""
full-path = true
msos-desc = true
addr 0.2, port 1, speed 12, name QEMU USB Tablet, attached
dev: PIIX4_PM, id ""
smb_io_base = 45312 (0xb100)
disable_s3 = 0 (0)
disable_s4 = 0 (0)
s4_val = 2 (0x2)
acpi-pci-hotplug-with-bridge-support = true
addr = 01.3
romfile = ""
rombar = 1 (0x1)
multifunction = false
command_serr_enable = true
class Bridge, addr 00:01.3, pci id 8086:7113 (sub 1af4:1100)
bus: i2c
type i2c-bus
dev: smbus-eeprom, id ""
address = 87 (0x57)
dev: smbus-eeprom, id ""
address = 86 (0x56)
dev: smbus-eeprom, id ""
address = 85 (0x55)
dev: smbus-eeprom, id ""
address = 84 (0x54)
dev: smbus-eeprom, id ""
address = 83 (0x53)
dev: smbus-eeprom, id ""
address = 82 (0x52)
dev: smbus-eeprom, id ""
address = 81 (0x51)
dev: smbus-eeprom, id ""
address = 80 (0x50)
dev: piix3-ide, id ""
addr = 01.1
romfile = ""
rombar = 1 (0x1)
multifunction = false
command_serr_enable = true
class IDE controller, addr 00:01.1, pci id 8086:7010 (sub 1af4:1100)
bar 4: i/o at 0xc0a0 [0xc0af]
bus: ide.1
type IDE
bus: ide.0
type IDE
dev: PIIX3, id ""
addr = 01.0
romfile = ""
rombar = 1 (0x1)
multifunction = true
command_serr_enable = true
class ISA bridge, addr 00:01.0, pci id 8086:7000 (sub 1af4:1100)
bus: isa.0
type ISA
dev: isa-serial, id "serial1"
index = 1 (0x1)
iobase = 760 (0x2f8)
irq = 3 (0x3)
chardev = "charserial1"
wakeup = 0 (0)
isa irq 3
dev: isa-serial, id "serial0"
index = 0 (0)
iobase = 1016 (0x3f8)
irq = 4 (0x4)
chardev = "charserial0"
wakeup = 0 (0)
isa irq 4
dev: isa-fdc, id ""
iobase = 1008 (0x3f0)
irq = 6 (0x6)
dma = 2 (0x2)
driveA = ""
driveB = ""
bootindexA = -1 (0xffffffffffffffff)
bootindexB = -1 (0xffffffffffffffff)
check_media_rate = true
isa irq 6
dev: port92, id ""
dev: vmmouse, id ""
dev: vmport, id ""
dev: i8042, id ""
isa irqs 1,12
dev: isa-pcspk, id ""
iobase = 97 (0x61)
dev: kvm-pit, id ""
gpio-in 1
iobase = 64 (0x40)
lost_tick_policy = "discard"
dev: mc146818rtc, id ""
base_year = 0 (0)
lost_tick_policy = "slew"
isa irq 8
dev: kvm-i8259, id ""
iobase = 160 (0xa0)
elcr_addr = 1233 (0x4d1)
elcr_mask = 222 (0xde)
master = false
dev: kvm-i8259, id ""
iobase = 32 (0x20)
elcr_addr = 1232 (0x4d0)
elcr_mask = 248 (0xf8)
master = true
dev: i440FX, id ""
addr = 00.0
romfile = ""
rombar = 1 (0x1)
multifunction = false
command_serr_enable = true
class Host bridge, addr 00:00.0, pci id 8086:1237 (sub 1af4:1100)
dev: fw_cfg, id ""
ctl_iobase = 1296 (0x510)
data_iobase = 1297 (0x511)
irq 0
mmio ffffffffffffffff/0000000000000002
mmio ffffffffffffffff/0000000000000001
dev: kvmclock, id ""
irq 0
dev: kvmvapic, id ""
irq 0
dev: icc-bridge, id ""
irq 0
mmio 00000000fee00000/0000000000100000
bus: icc
type icc-bus
dev: kvm-apic, id ""
id = 0 (0)
vapic = true
dev: SandyBridge-x86_64-cpu, id ""
pmu = false
hv-spinlocks = -1 (0xffffffffffffffff)
hv-relaxed = false
hv-vapic = false
hv-time = false
check = false
enforce = false
SMBIOS
SMBIOS全称System Management BIOS,用于表示x86 architectures的硬件信息
在unix系统上,可以使用下面的命令dmidecode得到,SMBIOS的信息被分为多个table中,称为type
type 0是BIOS信息
# dmidecode --type 0
# dmidecode 2.12
# SMBIOS entry point at 0xcbadeb98
SMBIOS 2.7 present.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Hewlett-Packard
Version: J61 v03.69
Release Date: 03/25/2014
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 16384 kB
Characteristics:
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
EDD is supported
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 3.69
type 1是系统信息
# dmidecode --type 1
# dmidecode 2.12
# SMBIOS entry point at 0xcbadeb98
SMBIOS 2.7 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Hewlett-Packard
Product Name: HP Z620 Workstation
Version: Not Specified
Serial Number: 6CR419WFHT
UUID: 90065980-D287-11E3-B1B0-A0481CABDFB4
Wake-up Type: Power Switch
SKU Number: G2F14UC#AB2
Family: 103C_53335X G=D
type 2是主板信息
# dmidecode --type 2
# dmidecode 2.12
# SMBIOS entry point at 0xcbadeb98
SMBIOS 2.7 present.
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Hewlett-Packard
Product Name: 158A
Version: 0.00
Serial Number: 6CR419WFHT
Asset Tag: 6CR419WFHT
Features:
Board is a hosting board
Board is removable
Board is replaceable
Location In Chassis: Not Specified
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
type 3是背板信息
# dmidecode --type 3
# dmidecode 2.12
# SMBIOS entry point at 0xcbadeb98
SMBIOS 2.7 present.
Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
Manufacturer: Hewlett-Packard
Type: Mini Tower
Lock: Not Present
Version: Not Specified
Serial Number: 6CR419WFHT
Asset Tag: 6CR419WFHT
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: Unknown
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0
SKU Number: Not Specified
type 4是CPU信息
# dmidecode --type 4
# dmidecode 2.12
# SMBIOS entry point at 0xcbadeb98
SMBIOS 2.7 present.
Handle 0x0004, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU0
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: E4 06 03 00 FF FB EB BF
Signature: Type 0, Family 6, Model 62, Stepping 4
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz
Voltage: 1.0 V
External Clock: 100 MHz
Max Speed: 3800 MHz
Current Speed: 2800 MHz
Status: Populated, Enabled
Upgrade: Socket LGA2011
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 10
Core Enabled: 10
Thread Count: 20
Characteristics:
64-bit capable
Multi-Core
Hardware Thread
Execute Protection
Enhanced Virtualization
Power/Performance Control
所以我们有参数
-smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=2014.1,serial=80590690-87d2-e311-b1b0-a0481cabdfb4,uuid=1f8e6f7e-5a70-4780-89c1-464dc0e7f308
指定了type 1的信息
RAM
内存的大小在参数中,用-m来指定
-m 2048
If the guest system allocated a large RAM under Linux host system, there may be problems if there is insufficient shared memory type. QEMU then complains about insufficient space in / dev / shm . It is better to expand the file system. For a permanent configuration file is / etc / default / tmpfs (Ubuntu) adapt.
Host ~ # umount / dev / shm
host ~ # mount-t tmpfs-o remount, size = 144m none / dev / shm
guest真正运行态的占用的内存的大小,是用Memory Ballooning来调整
ACPI
The Advanced Configuration and Power Interface (ACPI) is an open industry standard for power management in computers.
ACPI is the default in QEMU.
If there are problems with the guest operating system, you ACPI disabled with the option -no-acpi .
System Clock
系统时间由参数-rtc指定
-rtc [base = utc | localtime | date] [, clock = host | vm] [, driftfix = none | slew]
For problems with the time-drift in Microsoft Windows ACPI HAL option is driftfix = slew apply (only for x86 architectures).
High Precision Event Timer (HPET)是可以更准确的设定时间的
我们的参数中有
-rtc base=utc,driftfix=slew
-no-hpet
USB
USB的好处就是即插即用
参数-usb,可以模拟一个PCI UHCI USB控制器
通过-usbdevice devname,可以添加一个USB device
mouse
Virtual Mouse. This will override the PS/2 mouse emulation when activated.
tablet
Pointer device that uses absolute coordinates (like a touchscreen). This means QEMU is able to report the
mouse position without having to grab the mouse. Also overrides the PS/2 mouse emulation when activated.
disk:[format=format]:file
Mass storage device based on file. The optional format argument will be used rather than detecting the
format. Can be used to specifiy "format=raw" to avoid interpreting an untrusted format header.
host:bus.addr
Pass through the host device identified by bus.addr (Linux only).
host:vendor_id:product_id
Pass through the host device identified by vendor_id:product_id (Linux only).
serial:[vendorid=vendor_id][,productid=product_id]:dev
Serial converter to host character device dev, see "-serial" for the available devices.
braille
Braille device. This will use BrlAPI to display the braille output on a real or fake device.
net:options
Network adapter that supports CDC ethernet and RNDIS protocols.
我们在参数里面看到的是
-device usb-tablet,id=input0
通过tablet,鼠标可以在HOST和GUEST机器之间自由的切换
# qemu-monitor-command instance-00000024 --hmp "info usb"
Device 0.2, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
PCI
PCI (Peripheral Component Interconnect)是设备总线标准
There are 4 components to the PCI subsytem:
Bus Number
Device Number
Function Number
Register Number
There are up to 256 available Buses on a PCI system, most commonly all the cards and chips will be located on Bus 0 and Bus 1.
When scanning for hardware, it's a good idea to scan all 256 buses as it won't take that much additional time.
A Device is a physical thing on the PCI bus. It could be a video card, an ethernet card, a Northbridge, anything. There is a software maximum of 32 devices that can exist on each bus. The physical hardware limit is much lower than this due to electrical loading issues, but we won't get into that.
Devices on a motherboard are typically scattered throughout the 32 devices, holes can and will exist. Your software must scan all 32 devices on each bus.
All devices have at least 1 function, function #0. There are 8 possible functions per device, numbered 0-7. Any device that has more than 1 function is (hey clever!) called a multi-function device. Multi-function devices, such as a combination modem+soundcard will usually have 2 uniquely addressable functions, numbered 0 and 1.
Every function of a device has 256 eight-bit registers. Registers 0-3F are defined by the PCI specification and provide a wealth of information about the particular function. Registers 40-FF are vendor defined and control the properties of the function itself. Without vendor specific documentation, these registers should probably be left untouched.
virsh # qemu-monitor-command instance-00000024 --hmp "info pci"
Bus 0, device 0, function 0:
Host bridge: PCI device 8086:1237
id ""
Bus 0, device 1, function 0:
ISA bridge: PCI device 8086:7000
id ""
Bus 0, device 1, function 1:
IDE controller: PCI device 8086:7010
BAR4: I/O at 0xc0a0 [0xc0af].
id ""
Bus 0, device 1, function 2:
USB controller: PCI device 8086:7020
IRQ 11.
BAR4: I/O at 0xc040 [0xc05f].
id "usb"
Bus 0, device 1, function 3:
Bridge: PCI device 8086:7113
IRQ 9.
id ""
Bus 0, device 2, function 0:
VGA controller: PCI device 1013:00b8
BAR0: 32 bit prefetchable memory at 0xfc000000 [0xfdffffff].
BAR1: 32 bit memory at 0xfebd0000 [0xfebd0fff].
BAR6: 32 bit memory at 0xffffffffffffffff [0x0000fffe].
id "video0"
Bus 0, device 3, function 0:
Ethernet controller: PCI device 1af4:1000
IRQ 11.
BAR0: I/O at 0xc060 [0xc07f].
BAR1: 32 bit memory at 0xfebd1000 [0xfebd1fff].
BAR6: 32 bit memory at 0xffffffffffffffff [0x0003fffe].
id "net0"
Bus 0, device 4, function 0:
SCSI controller: PCI device 1af4:1001
IRQ 11.
BAR0: I/O at 0xc000 [0xc03f].
BAR1: 32 bit memory at 0xfebd2000 [0xfebd2fff].
id "virtio-disk0"
Bus 0, device 5, function 0:
Class 0255: PCI device 1af4:1002
IRQ 10.
BAR0: I/O at 0xc080 [0xc09f].
id "balloon0"
可以看到总线上的设备
这些设备分别对应参数
USB
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2
显示器
-device cirrus-vga,id=video0,bus=pci.0,addr=0x2
网卡
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:d1:2d:99,bus=pci.0,addr=0x3
硬盘
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
内存
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
显示器
用参数-vga设置,默认为cirrus,它模拟了CL-GD5446 PCI VGA card
声卡
# qemu-system-x86_64 -soundhw ?
Valid sound card names (comma separated):
ac97 Intel 82801AA AC97 Audio
adlib Yamaha YM3812 (OPL2)
cs4231a CS4231A
es1370 ENSONIQ AudioPCI ES1370
gus Gravis Ultrasound GF1
hda Intel HD Audio
pcspk PC speaker
sb16 Creative Sound Blaster 16
-soundhw all will enable all of the above
网卡
使用-net参数
The -device option
其实所有的外设都能通过-device来设定
# qemu-system-x86_64 -device ?
Controller/Bridge/Hub devices:
name "i82801b11-bridge", bus PCI
name "ioh3420", bus PCI, desc "Intel IOH device id 3420 PCIE Root Port"
name "pci-bridge", bus PCI, desc "Standard PCI Bridge"
name "usb-host", bus usb-bus
name "usb-hub", bus usb-bus
name "x3130-upstream", bus PCI, desc "TI X3130 Upstream Port of PCI Express Switch"
name "xio3130-downstream", bus PCI, desc "TI X3130 Downstream Port of PCI Express Switch"
USB devices:
name "ich9-usb-ehci1", bus PCI
name "ich9-usb-ehci2", bus PCI
name "ich9-usb-uhci1", bus PCI
name "ich9-usb-uhci2", bus PCI
name "ich9-usb-uhci3", bus PCI
name "ich9-usb-uhci4", bus PCI
name "ich9-usb-uhci5", bus PCI
name "ich9-usb-uhci6", bus PCI
name "nec-usb-xhci", bus PCI
name "pci-ohci", bus PCI, desc "Apple USB Controller"
name "piix3-usb-uhci", bus PCI
name "piix4-usb-uhci", bus PCI
name "usb-ehci", bus PCI
name "vt82c686b-usb-uhci", bus PCI
Storage devices:
name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter"
name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter"
name "ich9-ahci", bus PCI, alias "ahci"
name "ide-cd", bus IDE, desc "virtual IDE CD-ROM"
name "ide-drive", bus IDE, desc "virtual IDE disk or CD-ROM (legacy)"
name "ide-hd", bus IDE, desc "virtual IDE disk"
name "isa-fdc", bus ISA
name "isa-ide", bus ISA
name "lsi53c810", bus PCI
name "lsi53c895a", bus PCI, alias "lsi"
name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078"
name "nvme", bus PCI, desc "Non-Volatile Memory Express"
name "piix3-ide", bus PCI
name "piix3-ide-xen", bus PCI
name "piix4-ide", bus PCI
name "pvscsi", bus PCI
name "scsi-block", bus SCSI, desc "SCSI block device passthrough"
name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM"
name "scsi-disk", bus SCSI, desc "virtual SCSI disk or CD-ROM (legacy)"
name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/dev/sg*)"
name "scsi-hd", bus SCSI, desc "virtual SCSI disk"
name "usb-bot", bus usb-bus
name "usb-storage", bus usb-bus
name "usb-uas", bus usb-bus
name "vhost-scsi", bus virtio-bus
name "vhost-scsi-pci", bus PCI
name "virtio-9p-device", bus virtio-bus
name "virtio-9p-pci", bus PCI
name "virtio-blk-device", bus virtio-bus
name "virtio-blk-pci", bus PCI, alias "virtio-blk"
name "virtio-scsi-device", bus virtio-bus
name "virtio-scsi-pci", bus PCI
Network devices:
name "e1000", bus PCI, desc "Intel Gigabit Ethernet"
name "i82550", bus PCI, desc "Intel i82550 Ethernet"
name "i82551", bus PCI, desc "Intel i82551 Ethernet"
name "i82557a", bus PCI, desc "Intel i82557A Ethernet"
name "i82557b", bus PCI, desc "Intel i82557B Ethernet"
name "i82557c", bus PCI, desc "Intel i82557C Ethernet"
name "i82558a", bus PCI, desc "Intel i82558A Ethernet"
name "i82558b", bus PCI, desc "Intel i82558B Ethernet"
name "i82559a", bus PCI, desc "Intel i82559A Ethernet"
name "i82559b", bus PCI, desc "Intel i82559B Ethernet"
name "i82559c", bus PCI, desc "Intel i82559C Ethernet"
name "i82559er", bus PCI, desc "Intel i82559ER Ethernet"
name "i82562", bus PCI, desc "Intel i82562 Ethernet"
name "i82801", bus PCI, desc "Intel i82801 Ethernet"
name "ne2k_isa", bus ISA
name "ne2k_pci", bus PCI
name "pcnet", bus PCI
name "rtl8139", bus PCI
name "usb-bt-dongle", bus usb-bus
name "usb-net", bus usb-bus
name "virtio-net-device", bus virtio-bus
name "virtio-net-pci", bus PCI, alias "virtio-net"
name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3"
Input devices:
name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard"
name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-232 IndustryPack"
name "isa-parallel", bus ISA
name "isa-serial", bus ISA
name "pci-serial", bus PCI
name "pci-serial-2x", bus PCI
name "pci-serial-4x", bus PCI
name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier"
name "usb-braille", bus usb-bus
name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader"
name "usb-kbd", bus usb-bus
name "usb-mouse", bus usb-bus
name "usb-serial", bus usb-bus
name "usb-tablet", bus usb-bus
name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet"
name "virtconsole", bus virtio-serial-bus
name "virtio-serial-device", bus virtio-bus
name "virtio-serial-pci", bus PCI, alias "virtio-serial"
name "virtserialport", bus virtio-serial-bus
Display devices:
name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA"
name "isa-cirrus-vga", bus ISA
name "isa-vga", bus ISA
name "qxl", bus PCI, desc "Spice QXL GPU (secondary)"
name "qxl-vga", bus PCI, desc "Spice QXL GPU (primary, vga compatible)"
name "sga", bus ISA, desc "Serial Graphics Adapter"
name "VGA", bus PCI
name "vmware-svga", bus PCI
Sound devices:
name "AC97", bus PCI, desc "Intel 82801AA AC97 Audio"
name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)"
name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A"
name "ES1370", bus PCI, desc "ENSONIQ AudioPCI ES1370"
name "gus", bus ISA, desc "Gravis Ultrasound GF1"
name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-in)"
name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microphone)"
name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)"
name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)"
name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)"
name "sb16", bus ISA, desc "Creative Sound Blaster 16"
name "usb-audio", bus usb-bus
Misc devices:
name "i6300esb", bus PCI
name "ib700", bus ISA
name "isa-applesmc", bus ISA
name "isa-debug-exit", bus ISA
name "isa-debugcon", bus ISA
name "ivshmem", bus PCI
name "kvm-pci-assign", bus PCI, alias "pci-assign", desc "KVM-based PCI passthrough"
name "pc-testdev", bus ISA
name "pci-testdev", bus PCI, desc "PCI Test Device"
name "pvpanic", bus ISA
name "usb-redir", bus usb-bus
name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment"
name "virtio-balloon-device", bus virtio-bus
name "virtio-balloon-pci", bus PCI, alias "virtio-balloon"
name "virtio-rng-device", bus virtio-bus
name "virtio-rng-pci", bus PCI
name "xen-pci-passthrough", bus PCI, desc "Assign an host PCI device with Xen"
name "xen-platform", bus PCI, desc "XEN platform pci device"
Uncategorized devices:
name "i8042", bus ISA
name "xen-pvdevice", bus PCI, desc "Xen PV Device"
Character Devices
Character device (character device) transmit only one character or one byte at a time (serial communication).
使用参数-chardev,每个device都有一个ID,有各种各样的类型type
-chardev null, id = id [, mux = on | off]
-chardev socket, id = id [, host = host ], port = host [, to = to ] [, ipv4] [, ipv6] [, nodelay][, Server] [, nowait] [, telnet] [, mux = on | off] (tcp)
-chardev socket, id = id , path = path [, server] [, nowait] [, telnet], [mux = on | off] (unix)
-chardev udp, id = id [, host = host ], port = port [, localaddr = localaddr ][, Localport = localport ] [, ipv4] [, ipv6] [, mux = on | off]
-chardev msmouse, id = id [, mux = on | off]
-chardev vc, id = id [[, width = width ] [, height = height ]] [[, cols = cols ] [, rows = rows ]][, Mux = on | off]
-chardev file, id = id , path = path [, mux = on | off]
-chardev pipe, id = id , path = path [, mux = on | off]
-chardev pty, id = id [, mux = on | off]
-chardev stdio, id = id [, mux = on | off] [, signal = on | off]
-chardev braille, id = id [, mux = on | off]
-chardev tty, id = id , path = path [, mux = on | off]
-chardev parport, id = id , path = path [, mux = on | off]
-chardev spicevmc, id = id , debug = debug , name = name [, mux = on | off]
在我们的参数中,有下面的设置。
我们可以在monitor中列出所有的chardev
virsh # qemu-monitor-command instance-00000024 --hmp "info chardev"
charserial1: filename=pty:/dev/pts/28
charserial0: filename=file
charmonitor: filename=unix:/var/lib/libvirt/qemu/instance-00000024.monitor,server
第一个chardev是pty
-chardev pty,id=charserial1
-device isa-serial,chardev=charserial1,id=serial1
第二个chardev是file
-chardev file,id=charserial0,path=/var/lib/nova/instances/1f8e6f7e-5a70-4780-89c1-464dc0e7f308/console.log
-device isa-serial,chardev=charserial0,id=serial0
第三个chardev是unix socket
-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000024.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control
目录 返回
首页