client-application/vm_run_script.template

7 lines
342 B
Plaintext
Raw Normal View History

2022-12-11 22:24:53 +00:00
#!/bin/bash
## QEMU (VM) command
qemu-system-x86_64 -enable-kvm -m $MEMORY_ALLOCATION_SIZE \
-cpu host,kvm=off,hv_relaxed,hv_spinlocks=0x1fff,hv_time,hv_vapic,hv_vendor_id=0xDEADBEEFFF \
-rtc clock=host,base=localtime -smp 4,sockets=1,cores=$CPU_CORES_COUNT,threads=2 \
-device virtio-net-pci,netdev=n1 -netdev user,id=n1 \
-hda $IMAGE_PATH &