monitor: Move documentation for qemuMonitorGetBalloonInfo

Document the top level function rather than both bottom level ones. It
makes looking the docs up quicker.
This commit is contained in:
Peter Krempa 2015-05-27 13:42:32 +02:00
parent 65c61e5030
commit efe8b44a84
3 changed files with 10 additions and 12 deletions

View File

@ -1688,6 +1688,10 @@ qemuMonitorGetVirtType(qemuMonitorPtr mon,
}
/**
* Returns: 0 if balloon not supported, +1 if balloon query worked
* or -1 on failure
*/
int
qemuMonitorGetBalloonInfo(qemuMonitorPtr mon,
unsigned long long *currmem)

View File

@ -1365,11 +1365,8 @@ qemuMonitorJSONUpdateVideoMemorySize(qemuMonitorPtr mon,
}
/*
* Returns: 0 if balloon not supported, +1 if balloon query worked
* or -1 on failure
*/
int qemuMonitorJSONGetBalloonInfo(qemuMonitorPtr mon,
int
qemuMonitorJSONGetBalloonInfo(qemuMonitorPtr mon,
unsigned long long *currmem)
{
int ret;

View File

@ -663,11 +663,8 @@ static int qemuMonitorParseBalloonInfo(char *text,
/* The reply from QEMU contains 'ballon: actual=421' where value is in MB */
#define BALLOON_PREFIX "balloon: "
/*
* Returns: 0 if balloon not supported, +1 if balloon query worked
* or -1 on failure
*/
int qemuMonitorTextGetBalloonInfo(qemuMonitorPtr mon,
int
qemuMonitorTextGetBalloonInfo(qemuMonitorPtr mon,
unsigned long long *currmem)
{
char *reply = NULL;