mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
* docs/Makefile.am docs/apibuild.py docs/libvir-api.xml
docs/libvir-refs.xml: fix XML API generation * include/libvir.h src/libvir.c src/virsh.c: fix the info memory API again, use KB, not bytes so that an unsigned long is sufficient. Daniel
This commit is contained in:
@@ -71,8 +71,8 @@ typedef struct _virDomainInfo virDomainInfo;
|
||||
|
||||
struct _virDomainInfo {
|
||||
unsigned char state; /* the running state, one of virDomainFlags */
|
||||
unsigned long maxMem; /* the maximum memory in bytes allowed */
|
||||
unsigned long memory; /* the memory in bytes used by the domain */
|
||||
unsigned long maxMem; /* the maximum memory in KBytes allowed */
|
||||
unsigned long memory; /* the memory in KBytes used by the domain */
|
||||
unsigned short nrVirtCpu; /* the number of virtual CPUs for the domain */
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user