mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
virNodeGetMemoryStats: Define internal driver API
Signed-off-by: Minoru Usui <usui@mxm.nes.nec.co.jp>
This commit is contained in:
parent
625aa63eea
commit
eff7613967
@ -384,6 +384,14 @@ typedef int
|
||||
int *nparams,
|
||||
unsigned int flags);
|
||||
|
||||
typedef int
|
||||
(*virDrvNodeGetMemoryStats)
|
||||
(virConnectPtr conn,
|
||||
int cellNum,
|
||||
virMemoryStatsPtr params,
|
||||
int *nparams,
|
||||
unsigned int flags);
|
||||
|
||||
typedef int
|
||||
(*virDrvNodeGetCellsFreeMemory)
|
||||
(virConnectPtr conn,
|
||||
@ -728,6 +736,7 @@ struct _virDriver {
|
||||
virDrvDomainMemoryPeek domainMemoryPeek;
|
||||
virDrvDomainGetBlockInfo domainGetBlockInfo;
|
||||
virDrvNodeGetCPUStats nodeGetCPUStats;
|
||||
virDrvNodeGetMemoryStats nodeGetMemoryStats;
|
||||
virDrvNodeGetCellsFreeMemory nodeGetCellsFreeMemory;
|
||||
virDrvNodeGetFreeMemory nodeGetFreeMemory;
|
||||
virDrvDomainEventRegister domainEventRegister;
|
||||
|
Loading…
Reference in New Issue
Block a user