diff options
author | Alon Levy <alevy@redhat.com> | 2010-08-12 15:32:27 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-08-12 15:32:27 +0300 |
commit | 479af7b4daa2df3322b530c714b8f3fdbb133d7c (patch) | |
tree | deacfd15266949e75a088616baaeeacc906f8657 | |
parent | 528efb172c3fb1f1e485fe9c377fee784f5a6e1e (diff) |
workaround 1bz_virtio_console_epipe
-rw-r--r-- | hw/virtio-console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/virtio-console.c b/hw/virtio-console.c index 285e994ab..1c25077d6 100644 --- a/hw/virtio-console.c +++ b/hw/virtio-console.c @@ -30,9 +30,9 @@ static void flush_buf(VirtIOSerialPort *port, const uint8_t *buf, size_t len) /* Readiness of the guest to accept data on a port */ static int chr_can_read(void *opaque) { - VirtConsole *vcon = opaque; + //VirtConsole *vcon = opaque; - return virtio_serial_guest_ready(&vcon->port); + return 1; //virtio_serial_guest_ready(&vcon->port); } /* Send data from a char device over to the guest */ |