Skip to content
Commit 2c5f4882 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

chardev: add support for qapi-based chardev initialization



This patch add support for a new way to initialize chardev devices.
Instead of calling a initialization function with a QemuOpts we will
now create a (qapi) ChardevBackend, optionally call a function to
fill ChardevBackend from QemuOpts, then go create the chardev using
the new qapi code path which is also used by chardev-add.

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 8ca761f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment