1613 |
return text_console_init(&display_state); |
return text_console_init(&display_state); |
1614 |
} else if (!strcmp(filename, "null")) { |
} else if (!strcmp(filename, "null")) { |
1615 |
return qemu_chr_open_null(); |
return qemu_chr_open_null(); |
1616 |
} else if (strstart(filename, "file:", &p)) { |
} else |
1617 |
|
#ifndef _WIN32 |
1618 |
|
if (strstart(filename, "file:", &p)) { |
1619 |
return qemu_chr_open_file_out(p); |
return qemu_chr_open_file_out(p); |
1620 |
} else if (strstart(filename, "pipe:", &p)) { |
} else if (strstart(filename, "pipe:", &p)) { |
1621 |
return qemu_chr_open_pipe(p); |
return qemu_chr_open_pipe(p); |
1622 |
} else |
} else if (!strcmp(filename, "pty")) { |
|
#ifndef _WIN32 |
|
|
if (!strcmp(filename, "pty")) { |
|
1623 |
return qemu_chr_open_pty(); |
return qemu_chr_open_pty(); |
1624 |
} else if (!strcmp(filename, "stdio")) { |
} else if (!strcmp(filename, "stdio")) { |
1625 |
return qemu_chr_open_stdio(); |
return qemu_chr_open_stdio(); |