summary refs log tree commit diff stats
path: root/chardev (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* char: move serial chardev to its own fileMarc-André Lureau2017-01-314-276/+356
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Eric Blake <eblake@redhat.com>
* char: move pty chardev in its own fileMarc-André Lureau2017-01-313-258/+301
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Eric Blake <eblake@redhat.com>
* char: move pipe chardev in its own fileMarc-André Lureau2017-01-313-166/+192
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Eric Blake <eblake@redhat.com>
* char: move console in its own fileMarc-André Lureau2017-01-313-3/+54
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Eric Blake <eblake@redhat.com>
* char: move stdio in its own fileMarc-André Lureau2017-01-313-120/+165
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Eric Blake <eblake@redhat.com>
* char: move file chardev in its own fileMarc-André Lureau2017-01-313-106/+140
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Eric Blake <eblake@redhat.com>
* char: move udp chardev in its own fileMarc-André Lureau2017-01-313-198/+234
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Eric Blake <eblake@redhat.com>
* char: move socket chardev to its own fileMarc-André Lureau2017-01-313-978/+1019
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Eric Blake <eblake@redhat.com>
* char: move win-stdio into its own fileMarc-André Lureau2017-01-314-229/+298
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Eric Blake <eblake@redhat.com>
* char: move win chardev base class in its own fileMarc-André Lureau2017-01-314-250/+322
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Eric Blake <eblake@redhat.com>
* char: move fd chardev in its own fileMarc-André Lureau2017-01-314-145/+217
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Eric Blake <eblake@redhat.com>
* char: move QIOChannel-related stuff to char-io.hMarc-André Lureau2017-01-314-173/+240
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
* char: remove unused READ_RETRIESMarc-André Lureau2017-01-311-1/+0
| | | | | | | Curiously unused since its introduction in commit 7b0bfdf52d69. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
* char: rename and move to header CHR_READ_BUF_LENMarc-André Lureau2017-01-311-7/+6
| | | | | | | | 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>
* char: move ringbuf/memory to its own fileMarc-André Lureau2017-01-313-218/+250
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
* char: move mux to its own fileMarc-André Lureau2017-01-314-349/+425
| | | | | | | | 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>
* char: move null chardev to its own fileMarc-André Lureau2017-01-313-23/+55
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
* char: make null_chr_write() the default methodMarc-André Lureau2017-01-311-8/+13
| | | | | | | | | 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>
* char: create chardev-obj-yMarc-André Lureau2017-01-311-1/+1
| | | | | | | | This will help to split char.c in several units without having to reference them all everywhere. This is useful in particular for tests. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
* char: move to chardev/Marc-André Lureau2017-01-312-0/+5133
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>