* 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:
Daniel Veillard
2005-12-06 16:50:31 +00:00
parent 02a0500d22
commit 7ad5537367
8 changed files with 1175 additions and 10 deletions

View File

@@ -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 */
/*