void qxl_guest_bug(PCIQXLDevice *qxl, const char *msg, ...)

{

#if SPICE_INTERFACE_QXL_MINOR >= 1

    qxl_send_events(qxl, QXL_INTERRUPT_ERROR);

#endif

    if (qxl->guestdebug) {

        va_list ap;

        va_start(ap, msg);

        fprintf(stderr, "qxl-%d: guest bug: ", qxl->id);

        vfprintf(stderr, msg, ap);

        fprintf(stderr, "\n");

        va_end(ap);

    }

}

void qxl_guest_bug(PCIQXLDevice *qxl, const char *msg, ...)

{

#if SPICE_INTERFACE_QXL_MINOR >= 1

    qxl_send_events(qxl, QXL_INTERRUPT_ERROR);

#endif

    if (qxl->guestdebug) {

        va_list ap;

        va_start(ap, msg);

        fprintf(stderr, "qxl-%d: guest bug: ", qxl->id);

        vfprintf(stderr, msg, ap);

        fprintf(stderr, "\n");

        va_end(ap);

    }

}

void FUNC_0(PCIQXLDevice *VAR_0, const char *VAR_1, ...)

{

#if SPICE_INTERFACE_QXL_MINOR >= 1

    qxl_send_events(VAR_0, QXL_INTERRUPT_ERROR);

#endif

    if (VAR_0->guestdebug) {

        va_list ap;

        va_start(ap, VAR_1);

        fprintf(stderr, "VAR_0-%d: guest bug: ", VAR_0->id);

        vfprintf(stderr, VAR_1, ap);

        fprintf(stderr, "\n");

        va_end(ap);

    }

}

void FUNC_0(PCIQXLDevice *VAR_0, const char *VAR_1, ...)
{ #if SPICE_INTERFACE_QXL_MINOR >= 1
qxl_send_events(VAR_0, QXL_INTERRUPT_ERROR); #endif
if (VAR_0->guestdebug) { va_list ap; va_start(ap, VAR_1); fprintf(stderr, "VAR_0-%d: guest bug: ", VAR_0->id); vfprintf(stderr, VAR_1, ap); fprintf(stderr, "\n"); va_end(ap); } }