qemu-kvm启动脚本

/usr/libexec/qemu-kvm \
-nodefaults -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=0x4 \
-drive file=/mnt/personal/img/RHEL-Server-6.4-64.qcow2,if=none,id=disk1,media=disk,cache=unsafe,boot=off,snapshot=off,format=qcow2,aio=native \
-device virtio-scsi-pci,bus=pci.0,addr=0x5,id=scsi0 \
-device scsi-hd,bus=scsi0.0,drive=disk1,id=scsi1 \
-device virtio-net-pci,netdev=idWcUZ1I,mac=52:54:61:62:63:64,bus=pci.0,addr=0x3,id='idHdBIlq' \
-netdev tap,id=idWcUZ1I,ifname=xhannic0,vhost=on,script=/etc/qemu-ifup \
${MARCH_CMD_LINE} \
-cpu ${CPU} -m 2G \
-smp 2,sockets=2,cores=1,threads=1 \
-device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \
-rtc base=utc,clock=host,driftfix=slew \
-boot order=cdn,once=c,menu=off \
-no-kvm-pit-reinjection -no-shutdown -enable-kvm \
-monitor stdio -qmp tcp:0:4444,server,nowait \
-spice port=5931,disable-ticketing \
-vga qxl -global qxl-vga.vram_size=67108864 \
-drive file=/mnt/personal/iso/RHEL-7.0-20121012.1-Server-x86_64-dvd1.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \

你可能感兴趣的:(qemu-kvm启动脚本)