qemu-vm/base.conf.tmpl

12 lines
551 B
Cheetah

-boot order=dc
-machine type=q35,accel=kvm,kernel_irqchip=on
-smp $NUM_THREADS,sockets=1,cores=$NUM_PROCESSORS,threads=$NUM_THREADS_PER_CORE
-enable-kvm
-cpu host,kvm=on,topoext,tsc_deadline,tsc_adjust,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_vpindex,hv_runtime,hv_crash,hv_time,hv_synic,hv_stimer,hv_tlbflush,hv_ipi,hv_vendor_id=null,hv_reset,hv_frequencies,hv_reenlightenment,hv_evmcs,hv_stimer_direct
-m 12G
-mem-prealloc -mem-path /dev/hugepages
-parallel none
-serial none
-rtc clock=host,base=localtime,driftfix=none
-usb
-vga none -nographic