]> git.proxmox.com Git - mirror_qemu.git/commit - ui/console.c
ui/console: instantiate a specific console type
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 30 Aug 2023 09:37:54 +0000 (13:37 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 4 Sep 2023 09:47:58 +0000 (13:47 +0400)
commitc105d60f7fe912cca558ce5ff5680bfd0c1300fa
treeb34913f2aa43bbeb33cbf84490ce382b33f4fda4
parentb208f745a8af27344c7c8401560b312a4f4bd539
ui/console: instantiate a specific console type

This will allow to move code/data to the specific console types.

Replace console_type_t with object type check.

QemuConsole can be abstract.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230830093843.3531473-21-marcandre.lureau@redhat.com>
ui/console.c