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

{

    char buf[READ_BUF_LEN];

    va_list ap;

    va_start(ap, fmt);

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

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

    va_end(ap);

}

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

{

    char buf[READ_BUF_LEN];

    va_list ap;

    va_start(ap, fmt);

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

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

    va_end(ap);

}

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

{

    char VAR_2[READ_BUF_LEN];

    va_list ap;

    va_start(ap, VAR_1);

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

    qemu_chr_fe_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[READ_BUF_LEN]; va_list ap; va_start(ap, VAR_1); vsnprintf(VAR_2, sizeof(VAR_2), VAR_1, ap); qemu_chr_fe_write(VAR_0, (uint8_t *)VAR_2, strlen(VAR_2)); va_end(ap); }