Hi, > We're going to need to automatically create and update > the menu entries based on which consoles get created > if we want this to work properly, I think. Gerd, any > suggestions? Is there a hook for "list of active > consoles has changed"?
No. consoles are not hotpluggable. > What's the right way to get > the printable name of a console? gd_vc_gfx_init() has code for gfx consoles (qemu_console_is_graphic() == true). There is nothing for text consoles. Guess we should create a qemu_console_get_label() helper function in ui/console.c, then move the code from gd_vc_gfx_init() to that place, and for text consoles use QemuConsole->chr->label. cheers, Gerd