Marc-André Lureau 4d43a603c7 char: move CharBackend handling in char-fe unit
Move all the frontend struct and methods to a seperate unit. This avoids
accidentally mixing backend and frontend calls, and helps with readabilty.

Make qemu_chr_replay() a macro shared by both char and char-fe.

Export qemu_chr_write(), and use a macro for qemu_chr_write_all()

(nb: yes, CharBackend is for char frontend :)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2017-06-02 11:33:53 +04:00
..
2017-04-25 19:17:25 +08:00
2016-05-19 16:42:27 +02:00
2017-01-27 18:07:59 +01:00
2016-10-24 16:26:55 +01:00
2016-05-12 13:42:08 +01:00
2016-07-04 13:15:22 +01:00
2017-05-18 10:01:08 +01:00
2017-04-21 11:42:03 +01:00