diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-15 11:17:33 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-22 10:17:16 -0500 |
commit | 2817822dced78521ab7c532ea50959aa248ea8c0 (patch) | |
tree | 774467582da872451bdffe7cda4455a11d2b517c | |
parent | c9d830eddc58db80a954a4eef1dc1e6ef8ca55b3 (diff) |
char: rename qemu_chr_guest_close() -> qemu_chr_fe_close()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | hw/virtio-console.c | 2 | ||||
-rw-r--r-- | qemu-char.c | 2 | ||||
-rw-r--r-- | qemu-char.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/hw/virtio-console.c b/hw/virtio-console.c index 21f752b729..d3351c83ff 100644 --- a/hw/virtio-console.c +++ b/hw/virtio-console.c @@ -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 */ diff --git a/qemu-char.c b/qemu-char.c index eb0cc74a86..d0a0fb1af5 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -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); diff --git a/qemu-char.h b/qemu-char.h index ad770cd06d..c95b554660 100644 --- a/qemu-char.h +++ b/qemu-char.h @@ -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); |