创建一个虚机所涉及到的qemu进程参数

/usr/libexec/qemu-kvm 


-name instance-00000001 

-S 

-M rhel6.6.0 

-cpu Penryn,+dca,+pdcm,+xtpr,+tm2,+est,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme 

-enable-kvm 

-m 4096 

-realtime mlock=off 

-smp 2,sockets=2,cores=1,threads=1 

-uuid e8dd3bbc-bcc5-49c2-af37-7c6b3395be1e 

-smbios type=1,manufacturer=Red Hat Inc.,product=OpenStack Nova,version=2013.2.3-1.el6,serial=44454c4c-3500-104e-8036-b6c04f4d3258,uuid=e8dd3bbc-bcc5-49c2-af37-7c6b3395be1e 

-nodefconfig 

-nodefaults 

-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000001.monitor,server,nowait 

-mon chardev=charmonitor,id=monitor,mode=control 

-rtc base=utc,driftfix=slew 

-no-kvm-pit-reinjection 

-no-shutdown 

-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 

-drive file=/var/lib/nova/instances/e8dd3bbc-bcc5-49c2-af37-7c6b3395be1e/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=23,id=hostnet0,vhost=on,vhostfd=24 

-device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:96:ea:22,bus=pci.0,addr=0x3 

-chardev file,id=charserial0,path=/var/lib/nova/instances/e8dd3bbc-bcc5-49c2-af37-7c6b3395be1e/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:0 

-k en-us -vga cirrus 

-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 

-msg timestamp=on

你可能感兴趣的:(虚拟化技术)