mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 11:21:44 +03:00
virNodeGetCPUStats: Define internal driver API
Signed-off-by: Minoru Usui <usui@mxm.nes.nec.co.jp>
This commit is contained in:
parent
1f873744c8
commit
85a44c6e36
@ -376,6 +376,14 @@ typedef virDomainPtr
|
||||
typedef struct _virDriver virDriver;
|
||||
typedef virDriver *virDriverPtr;
|
||||
|
||||
typedef int
|
||||
(*virDrvNodeGetCPUStats)
|
||||
(virConnectPtr conn,
|
||||
int cpuNum,
|
||||
virCPUStatsPtr params,
|
||||
int *nparams,
|
||||
unsigned int flags);
|
||||
|
||||
typedef int
|
||||
(*virDrvNodeGetCellsFreeMemory)
|
||||
(virConnectPtr conn,
|
||||
@ -719,6 +727,7 @@ struct _virDriver {
|
||||
virDrvDomainBlockPeek domainBlockPeek;
|
||||
virDrvDomainMemoryPeek domainMemoryPeek;
|
||||
virDrvDomainGetBlockInfo domainGetBlockInfo;
|
||||
virDrvNodeGetCPUStats nodeGetCPUStats;
|
||||
virDrvNodeGetCellsFreeMemory nodeGetCellsFreeMemory;
|
||||
virDrvNodeGetFreeMemory nodeGetFreeMemory;
|
||||
virDrvDomainEventRegister domainEventRegister;
|
||||
|
Loading…
Reference in New Issue
Block a user