void qemu_chr_printf(CharDriverState *s, const char *fmt, ...)

{

    char buf[4096];

    va_list ap;

    va_start(ap, fmt);

    vsnprintf(buf, sizeof(buf), fmt, ap);

    qemu_chr_write(s, (uint8_t *)buf, strlen(buf));

    va_end(ap);

}

void qemu_chr_printf(CharDriverState *s, const char *fmt, ...)

{

    char buf[4096];

    va_list ap;

    va_start(ap, fmt);

    vsnprintf(buf, sizeof(buf), fmt, ap);

    qemu_chr_write(s, (uint8_t *)buf, strlen(buf));

    va_end(ap);

}

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

{

    char VAR_2[4096];

    va_list ap;

    va_start(ap, VAR_1);

    vsnprintf(VAR_2, sizeof(VAR_2), VAR_1, ap);

    qemu_chr_write(VAR_0, (uint8_t *)VAR_2, strlen(VAR_2));

    va_end(ap);

}

void FUNC_0(CharDriverState *VAR_0, const char *VAR_1, ...)
{ char VAR_2[4096]; va_list ap; va_start(ap, VAR_1); vsnprintf(VAR_2, sizeof(VAR_2), VAR_1, ap); qemu_chr_write(VAR_0, (uint8_t *)VAR_2, strlen(VAR_2)); va_end(ap); }