Home | History | Annotate | Download | only in qemu

Lines Matching refs:opts

687 static int drive_init_func(QemuOpts *opts, void *opaque)
692 if (drive_init(opts, *use_scsi, &fatal_error) == NULL) {
699 static int drive_enable_snapshot(QemuOpts *opts, void *opaque)
701 if (NULL == qemu_opt_get(opts, "snapshot")) {
702 qemu_opt_set(opts, "snapshot", "on");
1900 const char *opts;
1906 if (strstart(p, "std", &opts)) {
1908 } else if (strstart(p, "cirrus", &opts)) {
1910 } else if (strstart(p, "vmware", &opts)) {
1912 } else if (strstart(p, "xenfb", &opts)) {
1914 } else if (!strstart(p, "none", &opts)) {
1919 while (*opts) {
1922 if (strstart(opts, ",retrace=", &nextopt)) {
1923 opts = nextopt;
1924 if (strstart(opts, "dumb", &nextopt))
1926 else if (strstart(opts, "precise", &nextopt))
1930 opts = nextopt;