kvm命令参数记录

/usr/libexec/qemu-kvm -cpu host -m 1024 -enable-kvm -drive file=/var/lib/libvirt/images/zxc_linux1.img,cache=writeback,if=virtio -localtime -fsdev

local,id=test_dev,path=/var/share,security_model=none -device virtio-9p-pci,fsdev=test_dev,mount_tag=testmount -vnc 0.0.0.0:0 -vga cirrus -monitor stdio

/usr/libexec/qemu-kvm -cpu host -m 1024 -enable-kvm -drive file=/var/lib/libvirt/images/zhenghd.img,cache=writeback,if=virtio -localtime -vnc 0.0.0.0:0 -vga cirrus -monitor

stdio -smb /var/share -usb -device usb-tablet  -usb -device usb-tablet (鼠标重影)

/usr/libexec/qemu-kvm -cpu host -m 1024 -enable-kvm -drive file=/var/lib/libvirt/images/zxc_winxp-clone.img,cache=writeback,if=virtio -localtime -vnc 0.0.0.0:0 -vga cirrus -

monitor stdio -usb -device usb-tablet -smb /var/share

qemu-system-x86_64 -cpu core2duo -m 1024 -drive file=/var/lib/libvirt/images/zhenghd.img,cache=writeback,if=virtio -localtime -spice port=5988,addr=0.0.0.0,disable-ticketing -

vga qxl -global qxl-vga.vram_size=9437184 -device AC97  

/usr/libexec/qemu-kvm -cpu host -m 512 -enable-kvm -drive file=/var/lib/libvirt/images/zhenghd.img,cache=writeback,if=virtio -localtime -spice port=5988,addr=0.0.0.0,disable-

ticketing -vga qxl -global qxl-vga.vram_size=9437184

qemu-system-x86_64 -cpu core2duo -m 1024 -enable-kvm -drive file=/var/lib/libvirt/images/zhenghd.img,cache=writeback,if=virtio -localtime -spice port=5988,addr=0.0.0.0,disable-

ticketing -vga qxl -global qxl-vga.vram_size=9437184 -device AC97 -smb /var/share   qemu-system-x86_64 -cpu core2duo -m 1024 -enable-kvm -drive file=/var/lib/libvirt/images/zhenghd.img,cache=writeback -localtime -vnc 0.0.0.0:0 -vga cirrus

 

 

/usr/libexec/qemu-kvm -cpu host -m 1024 -enable-kvm
-smp 4,maxcpus=10,sockets=2,cores=1,threads=1
-balloon virtio
-drive file=/var/lib/libvirt/images/zxc_winxp-clone.img
,cache=writeback,if=virtio -localtime
-vnc 0.0.0.0:0
-vga cirrus 
-qmp unix:/tmp/qmp-sock,server,nowait
-net nic,macaddr=52:54:00:3a:3b:e2,model=virtio -net tap-monitor stdio
-smb /var/share
-usb -device usb-tablet

你可能感兴趣的:(kvm)