mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
console: add device link to QemuConsoles
So it is possible to figure which qemu console displays which device. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
95be0669a3
commit
aa2beaa1f5
23 changed files with 43 additions and 28 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue