On Tue, 17 Mar 2026, Marc-André Lureau wrote:
Rename the display and graphic console public functions to follow a
consistent qemu_console_ (or qemu_graphic_console_) naming convention.

The previous API used a mix of prefixes: dpy_, graphic_hw_,
graphic_console_, console_has_, and update_displaychangelistener().
Unify them under a common qemu_console_ namespace for better
discoverability and consistency.

The main renames are:
- dpy_gfx_*() / dpy_text_*() / dpy_gl_*() → qemu_console_*()
- dpy_{get,set}_ui_info() → qemu_console_{get,set}_ui_info()
- graphic_hw_*() → qemu_console_hw_*()
- graphic_console_*() → qemu_graphic_console_*()
- console_has_gl() → qemu_console_has_gl()
- update_displaychangelistener() → qemu_console_listener_set_refresh()

Is the qemu_ prefix really needed here or if so would something shorter like qcon_ do instead of qemu_console_? With short line limits long names cause a lot of line wraps. I think just console_ as already used by some of these already would do and be less churn but no strong opinion on any of these.

Regards,
BALATON Zoltan

Reply via email to