QEMU iothreads

This commit is contained in:
kat witch 2022-01-08 01:19:46 +00:00 committed by kat
parent e214f7af79
commit 3b6c1fd11d
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 7 additions and 3 deletions

@ -1 +1 @@
Subproject commit d8a25e3cb44bbf66a710f4dcc6bd7d19e60fb233
Subproject commit 5ebe55390f615f537be4eda6adaae6656d96655b

View file

@ -9,10 +9,14 @@ writeShellScriptBin "win10-vm" ''
-blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \
-machine pc-q35-5.1,accel=kvm,usb=off,vmport=off,dump-guest-core=off,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \
-monitor stdio \
-cpu host,migratable=no,+invtsc,topoext=on,hv-time,hv-relaxed,hv-vapic,-amd-stibp,,hv-synic,hv-spinlocks=0x1fff,host-cache-info=on,l3-cache=off -m 12288 \
-cpu host,migratable=no,+invtsc,topoext=on,hv-time,hv-vpindex,hv-relaxed,hv-vapic,-amd-stibp,hv-synic,hv-spinlocks=0x1fff,host-cache-info=on,l3-cache=off -m 12288 \
-mem-path /dev/hugepages1G/qemu-win10-vm -mem-prealloc \
-smp 8,sockets=1,dies=1,cores=4,threads=2 \
-object iothread,id=iothread1 -uuid 96052919-6a83-4e9f-8e9b-628de3e27cc1 \
-object iothread,id=iothread1 \
-object iothread,id=iothread2 \
-object iothread,id=iothread3 \
-object iothread,id=iothread4 \
-uuid 96052919-6a83-4e9f-8e9b-628de3e27cc1 \
-display none \
-no-user-config \
-nodefaults \