Revision 3fda388a
b/vl.c | ||
---|---|---|
2961 | 2961 |
return qemu_chr_open_pp(filename); |
2962 | 2962 |
} else |
2963 | 2963 |
#endif |
2964 |
#if defined(__linux__) || defined(__sun__) |
|
2964 | 2965 |
if (strstart(filename, "/dev/", NULL)) { |
2965 | 2966 |
return qemu_chr_open_tty(filename); |
2966 |
} else |
|
2967 |
} else |
|
2968 |
#endif |
|
2967 | 2969 |
#else /* !_WIN32 */ |
2968 | 2970 |
if (strstart(filename, "COM", NULL)) { |
2969 | 2971 |
return qemu_chr_open_win(filename); |
Also available in: Unified diff