[libvirt] [PATCH 1/3] Support for vrdp/sdl/gui while defining a machine

Pritesh Kothari Pritesh.Kothari at Sun.COM
Mon May 11 13:56:35 UTC 2009


> > [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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vbox_2009_05_07-1.patch
Type: text/x-patch
Size: 9864 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090511/e4aa9544/attachment-0001.bin>


More information about the libvir-list mailing list