Home | History | Annotate | Download | only in qemu

Lines Matching defs:secs

739     int cyls, heads, secs, translation;
750 "cyls", "heads", "secs", "trans",
762 cyls = heads = secs = 0;
846 if (get_param_value(buf, sizeof(buf), "secs", str)) {
847 secs = strtol(buf, NULL, 0);
850 if (cyls || heads || secs) {
859 if (secs < 1 || secs > 63) {
860 fprintf(stderr, "qemu: '%s' invalid physical secs number\n", str);
868 "qemu: '%s' trans must be used with cyls,heads and secs\n",
888 if (cyls || secs || heads) {
1042 bdrv_set_geometry_hint(bdrv, cyls, heads, secs);
2127 int cyls, heads, secs, translation;
2179 cyls = heads = secs = 0;
2299 ",cyls=%d,heads=%d,secs=%d%s",
2300 0, cyls, heads, secs,
2345 secs = strtol(p, (char **)&p, 0);
2346 if (secs < 1 || secs > 63)
2368 snprintf(num, sizeof(num), "%d", secs);
2369 qemu_opt_set(hda_opts, "secs", num);