summaryrefslogtreecommitdiff
path: root/conf.d/qemu.d/beefcake
blob: 6e671bd0fe6cdcdfed1d009f720c056a2c4b4405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/hint/bash

system=x86_64
args=(
	#-nodefaults
	-no-user-config
	-no-reboot # let the systemd supervisor know we're restarting

	-machine accel=kvm
	-m 32768 # 32 GiB RAM
	# 1 socket / 8 cores-per-node / 2 threads-per-core = total of 16 CPUs
	-smp sockets=1,cores=8,threads=2,cpus=16
	# TODO: Split that in to 2 NUMA nodes; 4 cores and 16 GiB RAM each

	#-no-hpet

	-uuid 4c42bd65-6ad5-456d-8b76-758ecb795e21
	-drive media=disk,file=/dev/vg_build64/lv_beefcake_root,format=raw,if=virtio
	-drive media=disk,file=/dev/vg_build64/lv_beefcake_home,format=raw,if=virtio
	-drive media=disk,file=/dev/vg_build64/lv_beefcake_data,format=raw,if=virtio
	-drive media=disk,file=/dev/vg_build64/lv_beefcake_chroots,format=raw,if=virtio
	#-cdrom /mnt/media/Operating_Systems/unix/Linux-based/Arch-based/Parabola/parabola-2017.05.28-dual.iso
	-boot menu=on,order=dc

	-writeconfig /tmp/beefcake.cfg
)