mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-25 06:03:52 +03:00
6eabfbd15f
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
63 lines
4.3 KiB
Batchfile
63 lines
4.3 KiB
Batchfile
/usr/bin/kvm \
|
|
-id 8006 \
|
|
-name 'simple,debug-threads=on' \
|
|
-no-shutdown \
|
|
-chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
|
|
-mon 'chardev=qmp,mode=control' \
|
|
-chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' \
|
|
-mon 'chardev=qmp-event,mode=control' \
|
|
-pidfile /var/run/qemu-server/8006.pid \
|
|
-daemonize \
|
|
-smbios 'type=1,uuid=7b10d7af-b932-4c66-b2c3-3996152ec465' \
|
|
-smp '4,sockets=2,cores=2,maxcpus=4' \
|
|
-nodefaults \
|
|
-boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' \
|
|
-vnc 'unix:/var/run/qemu-server/8006.vnc,password=on' \
|
|
-cpu kvm64,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep \
|
|
-m 'size=2048,slots=255,maxmem=524288M' \
|
|
-object 'memory-backend-file,id=ram-node0,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-numa 'node,nodeid=0,cpus=0-1,memdev=ram-node0' \
|
|
-object 'memory-backend-file,id=ram-node1,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-numa 'node,nodeid=1,cpus=2-3,memdev=ram-node1' \
|
|
-object 'memory-backend-file,id=mem-dimm0,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm0,memdev=mem-dimm0,node=0' \
|
|
-object 'memory-backend-file,id=mem-dimm1,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm1,memdev=mem-dimm1,node=1' \
|
|
-object 'memory-backend-file,id=mem-dimm2,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm2,memdev=mem-dimm2,node=0' \
|
|
-object 'memory-backend-file,id=mem-dimm3,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm3,memdev=mem-dimm3,node=1' \
|
|
-object 'memory-backend-file,id=mem-dimm4,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm4,memdev=mem-dimm4,node=0' \
|
|
-object 'memory-backend-file,id=mem-dimm5,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm5,memdev=mem-dimm5,node=1' \
|
|
-object 'memory-backend-file,id=mem-dimm6,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm6,memdev=mem-dimm6,node=0' \
|
|
-object 'memory-backend-file,id=mem-dimm7,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm7,memdev=mem-dimm7,node=1' \
|
|
-object 'memory-backend-file,id=mem-dimm8,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm8,memdev=mem-dimm8,node=0' \
|
|
-object 'memory-backend-file,id=mem-dimm9,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm9,memdev=mem-dimm9,node=1' \
|
|
-object 'memory-backend-file,id=mem-dimm10,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm10,memdev=mem-dimm10,node=0' \
|
|
-object 'memory-backend-file,id=mem-dimm11,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm11,memdev=mem-dimm11,node=1' \
|
|
-object 'memory-backend-file,id=mem-dimm12,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm12,memdev=mem-dimm12,node=0' \
|
|
-object 'memory-backend-file,id=mem-dimm13,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm13,memdev=mem-dimm13,node=1' \
|
|
-object 'memory-backend-file,id=mem-dimm14,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm14,memdev=mem-dimm14,node=0' \
|
|
-object 'memory-backend-file,id=mem-dimm15,size=1024M,mem-path=/run/hugepages/kvm/1048576kB,share=on,prealloc=yes' \
|
|
-device 'pc-dimm,id=dimm15,memdev=mem-dimm15,node=1' \
|
|
-device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' \
|
|
-device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' \
|
|
-device 'vmgenid,guid=c773c261-d800-4348-9f5d-167fadd53cf8' \
|
|
-device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' \
|
|
-device 'usb-tablet,id=tablet,bus=uhci.0,port=1' \
|
|
-device 'VGA,id=vga,bus=pci.0,addr=0x2' \
|
|
-device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' \
|
|
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:aabbccddeeff' \
|
|
-machine 'type=pc'
|