Home | History | Annotate | Download | only in qemu

Lines Matching defs:cyls

739     int cyls, heads, secs, translation;
750 "cyls", "heads", "secs", "trans",
762 cyls = heads = secs = 0;
838 if (get_param_value(buf, sizeof(buf), "cyls", str)) {
839 cyls = strtol(buf, NULL, 0);
850 if (cyls || heads || secs) {
851 if (cyls < 1 || cyls > 16383) {
852 fprintf(stderr, "qemu: '%s' invalid physical cyls number\n", str);
866 if (!cyls) {
868 "qemu: '%s' trans must be used with cyls,heads and secs\n",
888 if (cyls || secs || heads) {
1041 if (cyls != 0) {
1042 bdrv_set_geometry_hint(bdrv, cyls, heads, secs);
2127 int cyls, heads, secs, translation;
2179 cyls = heads = secs = 0;
2295 if (cyls == 0)
2299 ",cyls=%d,heads=%d,secs=%d%s",
2300 0, cyls, heads, secs,
2333 cyls = strtol(p, (char **)&p, 0);
2334 if (cyls < 1 || cyls > 16383)
2364 snprintf(num, sizeof(num), "%d", cyls);
2365 qemu_opt_set(hda_opts, "cyls", num);