Home | History | Annotate | Download | only in qemu

Lines Matching refs:cyls

1037     int cyls, heads, secs, translation;
1048 "cyls", "heads", "secs", "trans",
1060 cyls = heads = secs = 0;
1136 if (get_param_value(buf, sizeof(buf), "cyls", str)) {
1137 cyls = strtol(buf, NULL, 0);
1148 if (cyls || heads || secs) {
1149 if (cyls < 1 || cyls > 16383) {
1150 fprintf(stderr, "qemu: '%s' invalid physical cyls number\n", str);
1164 if (!cyls) {
1166 "qemu: '%s' trans must be used with cyls,heads and secs\n",
1186 if (cyls || secs || heads) {
1339 if (cyls != 0) {
1340 bdrv_set_geometry_hint(bdrv, cyls, heads, secs);
2539 int cyls, heads, secs, translation;
2593 cyls = heads = secs = 0;
2712 if (cyls == 0)
2716 ",cyls=%d,heads=%d,secs=%d%s",
2717 0, cyls, heads, secs,
2750 cyls = strtol(p, (char **)&p, 0);
2751 if (cyls < 1 || cyls > 16383)
2781 snprintf(num, sizeof(num), "%d", cyls);
2782 qemu_opt_set(hda_opts, "cyls", num);