mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 01:43:23 +00:00
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:
parent
65c61e5030
commit
efe8b44a84
@ -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)
|
||||
|
@ -1365,12 +1365,9 @@ qemuMonitorJSONUpdateVideoMemorySize(qemuMonitorPtr mon,
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Returns: 0 if balloon not supported, +1 if balloon query worked
|
||||
* or -1 on failure
|
||||
*/
|
||||
int qemuMonitorJSONGetBalloonInfo(qemuMonitorPtr mon,
|
||||
unsigned long long *currmem)
|
||||
int
|
||||
qemuMonitorJSONGetBalloonInfo(qemuMonitorPtr mon,
|
||||
unsigned long long *currmem)
|
||||
{
|
||||
int ret;
|
||||
virJSONValuePtr cmd = qemuMonitorJSONMakeCommand("query-balloon",
|
||||
|
@ -663,12 +663,9 @@ 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,
|
||||
unsigned long long *currmem)
|
||||
int
|
||||
qemuMonitorTextGetBalloonInfo(qemuMonitorPtr mon,
|
||||
unsigned long long *currmem)
|
||||
{
|
||||
char *reply = NULL;
|
||||
int ret = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user