From aa2beaa1f57ca329cfceece08cc19d52368e6a8f Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 17 Apr 2013 10:21:27 +0200 Subject: console: add device link to QemuConsoles So it is possible to figure which qemu console displays which device. Signed-off-by: Gerd Hoffmann --- hw/display/milkymist-vgafb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/display/milkymist-vgafb.c') diff --git a/hw/display/milkymist-vgafb.c b/hw/display/milkymist-vgafb.c index 716997c..3828296 100644 --- a/hw/display/milkymist-vgafb.c +++ b/hw/display/milkymist-vgafb.c @@ -283,7 +283,7 @@ static int milkymist_vgafb_init(SysBusDevice *dev) "milkymist-vgafb", R_MAX * 4); sysbus_init_mmio(dev, &s->regs_region); - s->con = graphic_console_init(&vgafb_ops, s); + s->con = graphic_console_init(DEVICE(dev), &vgafb_ops, s); return 0; } -- cgit v1.1