]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Add support for emulatorsched
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 15 Apr 2019 11:13:06 +0000 (13:13 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 16 Apr 2019 11:46:17 +0000 (13:46 +0200)
This helps in a scenarios where vCPUs run with a priority that is so high they
might starve the emulator thread.  And it also fits with the rest of the
settings.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c

index f773aa89b78dd282107067c791b440ac3cbb16c8..55f4074ea146baeca415abda290b833011fd1946 100644 (file)
@@ -2683,7 +2683,7 @@ qemuProcessSetupEmulator(virDomainObjPtr vm)
                                0, vm->def->cputune.emulatorpin,
                                vm->def->cputune.emulator_period,
                                vm->def->cputune.emulator_quota,
-                               NULL);
+                               vm->def->cputune.emulatorsched);
 }