mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
savevm: un-export qemu_file_set_error()
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
43be3a25c9
commit
6f121ff575
2 changed files with 1 additions and 2 deletions
|
@ -103,7 +103,6 @@ int qemu_file_rate_limit(QEMUFile *f);
|
||||||
int64_t qemu_file_set_rate_limit(QEMUFile *f, int64_t new_rate);
|
int64_t qemu_file_set_rate_limit(QEMUFile *f, int64_t new_rate);
|
||||||
int64_t qemu_file_get_rate_limit(QEMUFile *f);
|
int64_t qemu_file_get_rate_limit(QEMUFile *f);
|
||||||
int qemu_file_get_error(QEMUFile *f);
|
int qemu_file_get_error(QEMUFile *f);
|
||||||
void qemu_file_set_error(QEMUFile *f, int error);
|
|
||||||
|
|
||||||
/* Try to send any outstanding data. This function is useful when output is
|
/* Try to send any outstanding data. This function is useful when output is
|
||||||
* halted due to rate limiting or EAGAIN errors occur as it can be used to
|
* halted due to rate limiting or EAGAIN errors occur as it can be used to
|
||||||
|
|
2
savevm.c
2
savevm.c
|
@ -440,7 +440,7 @@ int qemu_file_get_error(QEMUFile *f)
|
||||||
return f->last_error;
|
return f->last_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
void qemu_file_set_error(QEMUFile *f, int ret)
|
static void qemu_file_set_error(QEMUFile *f, int ret)
|
||||||
{
|
{
|
||||||
f->last_error = ret;
|
f->last_error = ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue