mirror of
https://git.proxmox.com/git/qemu
synced 2025-06-15 16:18:35 +00:00
char: rename qemu_chr_guest_open() -> qemu_chr_fe_open()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
909cda12b5
commit
c9d830eddc
@ -52,7 +52,7 @@ static void guest_open(VirtIOSerialPort *port)
|
|||||||
{
|
{
|
||||||
VirtConsole *vcon = DO_UPCAST(VirtConsole, port, port);
|
VirtConsole *vcon = DO_UPCAST(VirtConsole, port, port);
|
||||||
|
|
||||||
qemu_chr_guest_open(vcon->chr);
|
qemu_chr_fe_open(vcon->chr);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Callback function that's called when the guest closes the port */
|
/* Callback function that's called when the guest closes the port */
|
||||||
|
@ -2632,7 +2632,7 @@ void qemu_chr_set_echo(struct CharDriverState *chr, bool echo)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void qemu_chr_guest_open(struct CharDriverState *chr)
|
void qemu_chr_fe_open(struct CharDriverState *chr)
|
||||||
{
|
{
|
||||||
if (chr->chr_guest_open) {
|
if (chr->chr_guest_open) {
|
||||||
chr->chr_guest_open(chr);
|
chr->chr_guest_open(chr);
|
||||||
|
@ -82,7 +82,7 @@ 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_set_echo(struct CharDriverState *chr, bool echo);
|
||||||
void qemu_chr_guest_open(struct CharDriverState *chr);
|
void qemu_chr_fe_open(struct CharDriverState *chr);
|
||||||
void qemu_chr_guest_close(struct CharDriverState *chr);
|
void qemu_chr_guest_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, ...)
|
||||||
|
Loading…
Reference in New Issue
Block a user