Revision afc535ac
b/qemu-char.c | ||
---|---|---|
1180 | 1180 |
int fd; |
1181 | 1181 |
|
1182 | 1182 |
TFR(fd = open(filename, O_RDWR | O_NONBLOCK)); |
1183 |
if (fd < 0) { |
|
1184 |
return NULL; |
|
1185 |
} |
|
1183 | 1186 |
tty_serial_init(fd, 115200, 'N', 8, 1); |
1184 | 1187 |
chr = qemu_chr_open_fd(fd, fd); |
1185 | 1188 |
if (!chr) { |
Also available in: Unified diff