aboutsummaryrefslogtreecommitdiff
path: root/hw/display/cg3.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-01-24 15:35:21 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-03-05 09:52:04 +0100
commit5643706a095044d75df1c0588aac553a595b972b (patch)
tree612d63c8cfd40d331bbfc78efd7347a5e916170c /hw/display/cg3.c
parent5c07d00f1b33729b23326c57b55e71a9cd9b9310 (diff)
downloadqemu-5643706a095044d75df1c0588aac553a595b972b.zip
qemu-5643706a095044d75df1c0588aac553a595b972b.tar.gz
qemu-5643706a095044d75df1c0588aac553a595b972b.tar.bz2
console: add head to index to qemu consoles.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/cg3.c')
-rw-r--r--hw/display/cg3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/cg3.c b/hw/display/cg3.c
index 6db8ca3..a042b9e 100644
--- a/hw/display/cg3.c
+++ b/hw/display/cg3.c
@@ -306,7 +306,7 @@ static void cg3_realizefn(DeviceState *dev, Error **errp)
sysbus_init_irq(sbd, &s->irq);
- s->con = graphic_console_init(DEVICE(dev), &cg3_ops, s);
+ s->con = graphic_console_init(DEVICE(dev), 0, &cg3_ops, s);
qemu_console_resize(s->con, s->width, s->height);
}