> [PATCH 1/3]: contains support for vrdp/sdl/gui while defining a
machine.
> + guiDisplay =
> strdup(def->graphics[i]->data.desktop.display); + }
> +
> + if ((def->graphics[i]->type ==
> VIR_DOMAIN_GRAPHICS_TYPE_SDL) && (sdlPresent == 0)) { +
> sdlPresent = 1;
> + sdlDisplay =
> strdup(def->graphics[i]->data.sdl.display); + }
> + }
Need to check for OOM failure here.
Done and reposting the patch
Regards,
Pritesh