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,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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user