mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -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
2
ui/gtk.c
2
ui/gtk.c
|
@ -991,7 +991,7 @@ static int gd_vc_chr_write(CharDriverState *chr, const uint8_t *buf, int len)
|
|||
static int nb_vcs;
|
||||
static CharDriverState *vcs[MAX_VCS];
|
||||
|
||||
static CharDriverState *gd_vc_handler(QemuOpts *opts)
|
||||
static CharDriverState *gd_vc_handler(ChardevVC *unused)
|
||||
{
|
||||
CharDriverState *chr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue