[libvirt] [PATCH v2 5/6] qemu: Add support for emulatorsched

Martin Kletzander mkletzan at redhat.com
Mon Apr 15 13:14:26 UTC 2019


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 at redhat.com>
---
 src/qemu/qemu_process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index f773aa89b78d..55f4074ea146 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -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);
 }
 
 
-- 
2.21.0




More information about the libvir-list mailing list