mirror of
https://github.com/qemu/qemu.git
synced 2024-11-23 19:03:38 +08:00
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>
This commit is contained in:
parent
0e58f17777
commit
d24ca4b8c5
@ -4,5 +4,6 @@ chardev-obj-y += char-io.o
|
||||
chardev-obj-y += char-mux.o
|
||||
chardev-obj-y += char-null.o
|
||||
chardev-obj-y += char-ringbuf.o
|
||||
chardev-obj-y += char-socket.o
|
||||
chardev-obj-$(CONFIG_WIN32) += char-win.o
|
||||
chardev-obj-$(CONFIG_WIN32) += char-win-stdio.o
|
||||
|
1017
chardev/char-socket.c
Normal file
1017
chardev/char-socket.c
Normal file
File diff suppressed because it is too large
Load Diff
979
chardev/char.c
979
chardev/char.c
File diff suppressed because it is too large
Load Diff
@ -443,6 +443,7 @@ void qemu_chr_set_feature(Chardev *chr,
|
||||
ChardevFeature feature);
|
||||
QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename);
|
||||
int qemu_chr_write_all(Chardev *s, const uint8_t *buf, int len);
|
||||
int qemu_chr_wait_connected(Chardev *chr, Error **errp);
|
||||
|
||||
#define TYPE_CHARDEV "chardev"
|
||||
#define CHARDEV(obj) OBJECT_CHECK(Chardev, (obj), TYPE_CHARDEV)
|
||||
|
Loading…
Reference in New Issue
Block a user