Revision 29b0040b vl.c
b/vl.c | ||
---|---|---|
165 | 165 |
#include "cpus.h" |
166 | 166 |
#include "arch_init.h" |
167 | 167 |
|
168 |
#include "ui/qemu-spice.h" |
|
169 |
|
|
168 | 170 |
//#define DEBUG_NET |
169 | 171 |
//#define DEBUG_SLIRP |
170 | 172 |
|
... | ... | |
2616 | 2618 |
} |
2617 | 2619 |
break; |
2618 | 2620 |
} |
2621 |
case QEMU_OPTION_spice: |
|
2622 |
olist = qemu_find_opts("spice"); |
|
2623 |
if (!olist) { |
|
2624 |
fprintf(stderr, "spice is not supported by this qemu build.\n"); |
|
2625 |
exit(1); |
|
2626 |
} |
|
2627 |
opts = qemu_opts_parse(olist, optarg, 0); |
|
2628 |
if (!opts) { |
|
2629 |
fprintf(stderr, "parse error: %s\n", optarg); |
|
2630 |
exit(1); |
|
2631 |
} |
|
2632 |
break; |
|
2619 | 2633 |
case QEMU_OPTION_writeconfig: |
2620 | 2634 |
{ |
2621 | 2635 |
FILE *fp; |
Also available in: Unified diff