diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-02-21 11:58:44 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-03-13 10:27:46 +0100 |
commit | f5a51cab2afd1124f0988081207d506fbec629b4 (patch) | |
tree | 85a7ae86cc9593c49c6935eb4b43513f711ad73e /qemu-char.c | |
parent | 80dca9e643d11b54f1b9bafbaefeadfb1099e023 (diff) |
chardev: add msmouse support to qapi
This patch adds 'msmouse' support to qapi and also switches over
the msmouse chardev initialization to the new qapi code path.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-char.c')
-rw-r--r-- | qemu-char.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-char.c b/qemu-char.c index e6f67d8c5d..e860ba30aa 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -3719,6 +3719,9 @@ ChardevReturn *qmp_chardev_add(const char *id, ChardevBackend *backend, } chr = qemu_chr_open_mux(base); break; + case CHARDEV_BACKEND_KIND_MSMOUSE: + chr = qemu_chr_open_msmouse(); + break; default: error_setg(errp, "unknown chardev backend (%d)", backend->kind); break; |