mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 05:20:50 +00:00
qga: Drop dangling reference to QERR_QGA_LOGGING_DISABLED
slog()'s function comment advises to use QERR_QGA_LOGGING_DISABLED. This macro never existed. The reference got added in commite3d4d25206
"guest agent: add guest agent RPCs/commands" along with QERR_QGA_LOGGING_FAILED, so maybe that one was meant. However, QERR_QGA_LOGGING_FAILED was never actually used, and was removed in commitd73f0beadb
"qerror.h: Remove unused error classes". Drop the dangling reference. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20230207075115.1525-9-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com> (cherry picked from commit c40233593ed5732de1676412527e42431e33e62c) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
32b8913f72
commit
099e8cd9ea
@ -32,9 +32,8 @@
|
|||||||
#define GUEST_FILE_READ_COUNT_MAX (48 * MiB)
|
#define GUEST_FILE_READ_COUNT_MAX (48 * MiB)
|
||||||
|
|
||||||
/* Note: in some situations, like with the fsfreeze, logging may be
|
/* Note: in some situations, like with the fsfreeze, logging may be
|
||||||
* temporarilly disabled. if it is necessary that a command be able
|
* temporarily disabled. if it is necessary that a command be able
|
||||||
* to log for accounting purposes, check ga_logging_enabled() beforehand,
|
* to log for accounting purposes, check ga_logging_enabled() beforehand.
|
||||||
* and use the QERR_QGA_LOGGING_DISABLED to generate an error
|
|
||||||
*/
|
*/
|
||||||
void slog(const gchar *fmt, ...)
|
void slog(const gchar *fmt, ...)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user