aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/virtio-console.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/virtio-console.c b/hw/virtio-console.c
index 4440784637..be5955868f 100644
--- a/hw/virtio-console.c
+++ b/hw/virtio-console.c
@@ -82,7 +82,6 @@ static int virtconsole_exitfn(VirtIOSerialPort *port)
VirtConsole *vcon = DO_UPCAST(VirtConsole, port, port);
if (vcon->chr) {
- port->info->have_data = NULL;
qemu_chr_close(vcon->chr);
}