To be more explicit about what the function is for. Signed-off-by: Anthony Liguori <aligu...@us.ibm.com> --- hw/virtio-console.c | 2 +- qemu-char.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-console.c b/hw/virtio-console.c index 21f752b..d3351c8 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 7e2cff0..fb7c937 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2827,7 +2827,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); -- 1.7.4.1