mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Implement public API for virDomainPinIOThread
Add virDomainPinIOThread to allow setting the CPU affinity for a specific IOThread based on the output generated from virDomainGetIOThreadsInfo The API supports updating both the --live domain and the --config data
This commit is contained in:
@@ -1609,6 +1609,11 @@ void virDomainIOThreadsInfoFree(virDomainIOThreadInfoPtr info);
|
||||
int virDomainGetIOThreadsInfo(virDomainPtr domain,
|
||||
virDomainIOThreadInfoPtr **info,
|
||||
unsigned int flags);
|
||||
int virDomainPinIOThread(virDomainPtr domain,
|
||||
unsigned int iothread_id,
|
||||
unsigned char *cpumap,
|
||||
int maplen,
|
||||
unsigned int flags);
|
||||
|
||||
/**
|
||||
* VIR_USE_CPU:
|
||||
|
||||
Reference in New Issue
Block a user