mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
chardev: add vc support to qapi
This patch adds 'vc' support to qapi and also switches over the vc chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
cd153e2aa2
commit
702ec69cc1
5 changed files with 74 additions and 16 deletions
|
@ -450,9 +450,9 @@ void qemu_console_resize(DisplayState *ds, int width, int height);
|
|||
void qemu_console_copy(DisplayState *ds, int src_x, int src_y,
|
||||
int dst_x, int dst_y, int w, int h);
|
||||
|
||||
typedef CharDriverState *(VcHandler)(QemuOpts *);
|
||||
typedef CharDriverState *(VcHandler)(ChardevVC *vc);
|
||||
|
||||
CharDriverState *vc_init(QemuOpts *opts);
|
||||
CharDriverState *vc_init(ChardevVC *vc);
|
||||
void register_vc_handler(VcHandler *handler);
|
||||
|
||||
/* sdl.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue