summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-08-12 15:32:27 +0300
committerAlon Levy <alevy@redhat.com>2010-08-12 15:32:27 +0300
commit479af7b4daa2df3322b530c714b8f3fdbb133d7c (patch)
treedeacfd15266949e75a088616baaeeacc906f8657
parent528efb172c3fb1f1e485fe9c377fee784f5a6e1e (diff)
-rw-r--r--hw/virtio-console.c4
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 */