mirror of https://github.com/proxmox/mirror_qemu
char: rename qemu_chr_guest_close() -> qemu_chr_fe_close()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>master
parent
c9d830eddc
commit
2817822dce
|
@ -60,7 +60,7 @@ static void guest_close(VirtIOSerialPort *port)
|
||||||
{
|
{
|
||||||
VirtConsole *vcon = DO_UPCAST(VirtConsole, port, 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 */
|
/* 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) {
|
if (chr->chr_guest_close) {
|
||||||
chr->chr_guest_close(chr);
|
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));
|
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_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_guest_close(struct CharDriverState *chr);
|
void qemu_chr_fe_close(struct CharDriverState *chr);
|
||||||
void qemu_chr_close(CharDriverState *chr);
|
void qemu_chr_close(CharDriverState *chr);
|
||||||
void qemu_chr_fe_printf(CharDriverState *s, const char *fmt, ...)
|
void qemu_chr_fe_printf(CharDriverState *s, const char *fmt, ...)
|
||||||
GCC_FMT_ATTR(2, 3);
|
GCC_FMT_ATTR(2, 3);
|
||||||
|
|
Loading…
Reference in New Issue