Lines Matching refs:opts
883 static int drive_init_func(QemuOpts *opts, void *opaque)
888 if (drive_init(opts, *use_scsi, &fatal_error) == NULL) {
895 static int drive_enable_snapshot(QemuOpts *opts, void *opaque)
897 if (NULL == qemu_opt_get(opts, "snapshot")) {
898 qemu_opt_set(opts, "snapshot", "on");
2129 const char *opts;
2135 if (strstart(p, "std", &opts)) {
2137 } else if (strstart(p, "cirrus", &opts)) {
2139 } else if (strstart(p, "vmware", &opts)) {
2141 } else if (strstart(p, "xenfb", &opts)) {
2143 } else if (!strstart(p, "none", &opts)) {
2147 while (*opts) {
2150 if (strstart(opts, ",retrace=", &nextopt)) {
2151 opts = nextopt;
2152 if (strstart(opts, "dumb", &nextopt))
2154 else if (strstart(opts, "precise", &nextopt))
2158 opts = nextopt;