From 3b6c1fd11dac2ff06a1f47a904a47f073e31b25e Mon Sep 17 00:00:00 2001 From: kat witch Date: Sat, 8 Jan 2022 01:19:46 +0000 Subject: [PATCH] QEMU iothreads --- config/tf | 2 +- overlays/local/vm.nix | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config/tf b/config/tf index d8a25e3c..5ebe5539 160000 --- a/config/tf +++ b/config/tf @@ -1 +1 @@ -Subproject commit d8a25e3cb44bbf66a710f4dcc6bd7d19e60fb233 +Subproject commit 5ebe55390f615f537be4eda6adaae6656d96655b diff --git a/overlays/local/vm.nix b/overlays/local/vm.nix index b8fdf6f5..97a170f6 100644 --- a/overlays/local/vm.nix +++ b/overlays/local/vm.nix @@ -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 \