+ exit (1);
+ }
+ } else if (!xlu_cfg_get_string(config, "gfx_passthru", &buf, 0)) {
+ if (libxl_gfx_passthru_kind_from_string(buf,
&b_info->u.hvm.gfx_passthru_kind)) {
Ditto.
+ fprintf(stderr, "ERROR: invalid value \"%s\" for
\"gfx_passthru\"\n",
Ditto.
So,
@@ -1959,13 +1959,15 @@ skip_vfb:
} else if (i == 1) {
libxl_defbool_set(&b_info->u.hvm.gfx_passthru, true);
} else {
- fprintf(stderr, "ERROR: invalid value %ld for
\"gfx_passthru\"\n", l);
+ fprintf(stderr, "ERROR: invalid value %ld for"
+ " \"gfx_passthru\"\n", l);
exit (1);
}
} else if (!xlu_cfg_get_string(config, "gfx_passthru", &buf, 0)) {
- if (libxl_gfx_passthru_kind_from_string(buf,
&b_info->u.hvm.gfx_passthru_kind)) {
- fprintf(stderr, "ERROR: invalid value \"%s\" for
\"gfx_passthru\"\n",
- buf);
+ if (libxl_gfx_passthru_kind_from_string(buf,
+ &b_info->u.hvm.gfx_passthru_kind)) {
+ fprintf(stderr, "ERROR: invalid value \"%s\" for"
+ " \"gfx_passthru\"\n", buf);
exit (1);
}
libxl_defbool_set(&b_info->u.hvm.gfx_passthru, false);