mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
char: rename qemu_chr_guest_close() -> qemu_chr_fe_close()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
c9d830eddc
commit
2817822dce
3 changed files with 3 additions and 3 deletions
|
@ -60,7 +60,7 @@ static void guest_close(VirtIOSerialPort *port)
|
|||
{
|
||||
VirtConsole *vcon = DO_UPCAST(VirtConsole, port, port);
|
||||
|
||||
qemu_chr_guest_close(vcon->chr);
|
||||
qemu_chr_fe_close(vcon->chr);
|
||||
}
|
||||
|
||||
/* Readiness of the guest to accept data on a port */
|
||||
|
|
|
@ -2639,7 +2639,7 @@ void qemu_chr_fe_open(struct CharDriverState *chr)
|
|||
}
|
||||
}
|
||||
|
||||
void qemu_chr_guest_close(struct CharDriverState *chr)
|
||||
void qemu_chr_fe_close(struct CharDriverState *chr)
|
||||
{
|
||||
if (chr->chr_guest_close) {
|
||||
chr->chr_guest_close(chr);
|
||||
|
|
|
@ -83,7 +83,7 @@ CharDriverState *qemu_chr_open_opts(QemuOpts *opts,
|
|||
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_open(struct CharDriverState *chr);
|
||||
void qemu_chr_guest_close(struct CharDriverState *chr);
|
||||
void qemu_chr_fe_close(struct CharDriverState *chr);
|
||||
void qemu_chr_close(CharDriverState *chr);
|
||||
void qemu_chr_fe_printf(CharDriverState *s, const char *fmt, ...)
|
||||
GCC_FMT_ATTR(2, 3);
|
||||
|
|
Loading…
Reference in a new issue