mirror of https://github.com/xqemu/xqemu.git
char: rename qemu_chr_set_echo() -> qemu_chr_fe_set_echo()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
41084f1bad
commit
15f31519b4
|
@ -5287,7 +5287,7 @@ void monitor_init(CharDriverState *chr, int flags)
|
||||||
/* Control mode requires special handlers */
|
/* Control mode requires special handlers */
|
||||||
qemu_chr_add_handlers(chr, monitor_can_read, monitor_control_read,
|
qemu_chr_add_handlers(chr, monitor_can_read, monitor_control_read,
|
||||||
monitor_control_event, mon);
|
monitor_control_event, mon);
|
||||||
qemu_chr_set_echo(chr, true);
|
qemu_chr_fe_set_echo(chr, true);
|
||||||
} else {
|
} else {
|
||||||
qemu_chr_add_handlers(chr, monitor_can_read, monitor_read,
|
qemu_chr_add_handlers(chr, monitor_can_read, monitor_read,
|
||||||
monitor_event, mon);
|
monitor_event, mon);
|
||||||
|
|
|
@ -795,7 +795,7 @@ static int qemu_chr_open_stdio(QemuOpts *opts, CharDriverState **_chr)
|
||||||
stdio_nb_clients++;
|
stdio_nb_clients++;
|
||||||
stdio_allow_signal = qemu_opt_get_bool(opts, "signal",
|
stdio_allow_signal = qemu_opt_get_bool(opts, "signal",
|
||||||
display_type != DT_NOGRAPHIC);
|
display_type != DT_NOGRAPHIC);
|
||||||
qemu_chr_set_echo(chr, false);
|
qemu_chr_fe_set_echo(chr, false);
|
||||||
|
|
||||||
*_chr = chr;
|
*_chr = chr;
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -2625,7 +2625,7 @@ CharDriverState *qemu_chr_open(const char *label, const char *filename, void (*i
|
||||||
return chr;
|
return chr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void qemu_chr_set_echo(struct CharDriverState *chr, bool echo)
|
void qemu_chr_fe_set_echo(struct CharDriverState *chr, bool echo)
|
||||||
{
|
{
|
||||||
if (chr->chr_set_echo) {
|
if (chr->chr_set_echo) {
|
||||||
chr->chr_set_echo(chr, echo);
|
chr->chr_set_echo(chr, echo);
|
||||||
|
|
|
@ -81,7 +81,7 @@ QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename);
|
||||||
CharDriverState *qemu_chr_open_opts(QemuOpts *opts,
|
CharDriverState *qemu_chr_open_opts(QemuOpts *opts,
|
||||||
void (*init)(struct CharDriverState *s));
|
void (*init)(struct CharDriverState *s));
|
||||||
CharDriverState *qemu_chr_open(const char *label, const char *filename, void (*init)(struct CharDriverState *s));
|
CharDriverState *qemu_chr_open(const char *label, const char *filename, void (*init)(struct CharDriverState *s));
|
||||||
void qemu_chr_set_echo(struct CharDriverState *chr, bool echo);
|
void qemu_chr_fe_set_echo(struct CharDriverState *chr, bool echo);
|
||||||
void qemu_chr_fe_open(struct CharDriverState *chr);
|
void qemu_chr_fe_open(struct CharDriverState *chr);
|
||||||
void qemu_chr_fe_close(struct CharDriverState *chr);
|
void qemu_chr_fe_close(struct CharDriverState *chr);
|
||||||
void qemu_chr_close(CharDriverState *chr);
|
void qemu_chr_close(CharDriverState *chr);
|
||||||
|
|
Loading…
Reference in New Issue