Revision f0457e8d qemu-char.c
b/qemu-char.c | ||
---|---|---|
2226 | 2226 |
if (NULL == opts) |
2227 | 2227 |
return NULL; |
2228 | 2228 |
|
2229 |
if (strcmp(filename, "null") == 0 || |
|
2230 |
strcmp(filename, "pty") == 0 || |
|
2231 |
strcmp(filename, "stdio") == 0) { |
|
2229 |
if (strcmp(filename, "null") == 0 || |
|
2230 |
strcmp(filename, "pty") == 0 || |
|
2231 |
strcmp(filename, "msmouse") == 0 || |
|
2232 |
strcmp(filename, "stdio") == 0) { |
|
2232 | 2233 |
qemu_opt_set(opts, "backend", filename); |
2233 | 2234 |
return opts; |
2234 | 2235 |
} |
... | ... | |
2279 | 2280 |
} backend_table[] = { |
2280 | 2281 |
{ .name = "null", .open = qemu_chr_open_null }, |
2281 | 2282 |
{ .name = "socket", .open = qemu_chr_open_socket }, |
2283 |
{ .name = "msmouse", .open = qemu_chr_open_msmouse }, |
|
2282 | 2284 |
#ifdef _WIN32 |
2283 | 2285 |
{ .name = "file", .open = qemu_chr_open_win_file_out }, |
2284 | 2286 |
{ .name = "pipe", .open = qemu_chr_open_win_pipe }, |
... | ... | |
2354 | 2356 |
} else { |
2355 | 2357 |
printf("Unable to open driver: %s\n", p); |
2356 | 2358 |
} |
2357 |
} else if (!strcmp(filename, "msmouse")) { |
|
2358 |
chr = qemu_chr_open_msmouse(); |
|
2359 | 2359 |
} else |
2360 | 2360 |
#ifndef _WIN32 |
2361 | 2361 |
#if defined(__linux__) |
Also available in: Unified diff