Revision 0beb4942 qemu-char.c
b/qemu-char.c | ||
---|---|---|
2903 | 2903 |
} |
2904 | 2904 |
return NULL; |
2905 | 2905 |
} |
2906 |
|
|
2907 |
/* Get a character (serial) device interface. */ |
|
2908 |
CharDriverState *qemu_char_get_next_serial(void) |
|
2909 |
{ |
|
2910 |
static int next_serial; |
|
2911 |
|
|
2912 |
/* FIXME: This function needs to go away: use chardev properties! */ |
|
2913 |
return serial_hds[next_serial++]; |
|
2914 |
} |
|
2915 |
|
Also available in: Unified diff