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/sm501.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/display/sm501.c') diff --git a/hw/display/sm501.c b/hw/display/sm501.c index 916816fc24..f72e4882a7 100644 --- a/hw/display/sm501.c +++ b/hw/display/sm501.c @@ -1448,5 +1448,5 @@ void sm501_init(MemoryRegion *address_space_mem, uint32_t base, } /* create qemu graphic console */ - s->con = graphic_console_init(&sm501_ops, s); + s->con = graphic_console_init(DEVICE(dev), &sm501_ops, s); } -- cgit v1.2.1