378af96155
Add wctablet device
...
Add QEMU Wacom Penpartner serial tablet emulation.
GSoC 2016 project.
Signed-off-by: Anatoli Huseu1 <avg.tolik@gmail.com >
Various cleanups.
Add line speed tracking.
Implement ST and SP commands.
Adapted to chardev QOMification.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Message-id: 1486391007-10116-1-git-send-email-kraxel@redhat.com
2017-02-20 11:26:28 +01:00
213dcb060f
char: headers clean-up
...
Those could probably be squashed with earlier patches, however I
couldn't easily identify them, test them or check if there are still
necessary on various platforms.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:22 +04:00
6aa0f0c900
char: move parallel chardev in its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
2b2f23dae7
char: move serial chardev to its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
c3b7d62097
char: move pty chardev in its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
1fcb3841d0
char: move pipe chardev in its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
7c7b2db0bd
char: move console in its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
d180081525
char: move stdio in its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
6fdafac1c1
char: move file chardev in its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
3b4482a26d
char: move udp chardev in its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
d24ca4b8c5
char: move socket chardev to its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
0e58f17777
char: move win-stdio into its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
503ebefe0a
char: move win chardev base class in its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
894593afbe
char: move fd chardev in its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:21 +04:00
a6da7ffa38
char: move QIOChannel-related stuff to char-io.h
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:20 +04:00
09fbe4e3e1
char: remove unused READ_RETRIES
...
Curiously unused since its introduction in commit 7b0bfdf52d
.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:20 +04:00
f612143a03
char: rename and move to header CHR_READ_BUF_LEN
...
This define is used by several character devices, place it in char
common header.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:20 +04:00
bf51f62869
char: move ringbuf/memory to its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:20 +04:00
df85a78bf8
char: move mux to its own file
...
A mechanical move, except that qemu_chr_write_all() needs to be declared
in char.h header to be used from chardev unit files.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:20 +04:00
247c92af2b
char: move null chardev to its own file
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:20 +04:00
eb314a9497
char: make null_chr_write() the default method
...
All chardev must implement chr_write(), but parallel and null chardev
both use null_chr_write(). Move it to the base class, so we don't need
to export the function when splitting the chardev in respective files.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
2017-01-31 23:31:20 +04:00
178fe0ae9d
char: move to chardev/
...
The following commits will split char.c in several files. Let's put them
in a subdirectory.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
2017-01-31 13:03:46 +04:00