mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: Add support to pin IOThreads to specific CPU
Add qemuDomainPinIOThread to handle setting the CPU affinity for a specific IOThread
This commit is contained in:
@@ -3217,6 +3217,15 @@ typedef void (*virConnectDomainEventDeviceRemovedCallback)(virConnectPtr conn,
|
||||
*/
|
||||
# define VIR_DOMAIN_TUNABLE_CPU_EMULATORPIN "cputune.emulatorpin"
|
||||
|
||||
/**
|
||||
* VIR_DOMAIN_TUNABLE_CPU_IOTHREADSPIN:
|
||||
*
|
||||
* Macro represents formatted pinning for one IOThread specified by id which is
|
||||
* appended to the parameter name, for example "cputune.iothreadpin1",
|
||||
* as VIR_TYPED_PARAM_STRING.
|
||||
*/
|
||||
# define VIR_DOMAIN_TUNABLE_CPU_IOTHREADSPIN "cputune.iothreadpin%u"
|
||||
|
||||
/**
|
||||
* VIR_DOMAIN_TUNABLE_CPU_CPU_SHARES:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user