<listen type='address' address='1.2.3.4'/>
</graphics>
<graphics type='rdp' autoport='yes' multiUser='yes'/>
- <graphics type='desktop' fullscreen='yes'/>
+ <graphics type='desktop'/>
<graphics type='spice'>
<listen type='network' network='rednet'/>
</graphics>
``desktop``
This value is reserved for VirtualBox domains for the moment. It displays
a window on the host desktop, similarly to "sdl", but using the VirtualBox
- viewer. Just like "sdl", it accepts the optional attributes ``display``
- and ``fullscreen``.
+ viewer. Just like "sdl", it accepts the optional attribute ``display``.
``egl-headless`` :since:`Since 4.6.0`
This display type provides support for an OpenGL accelerated display
}
-static int
+static void
virDomainGraphicsDefParseXMLDesktop(virDomainGraphicsDef *def,
xmlNodePtr node)
{
- virTristateBool fullscreen;
-
- if (virXMLPropTristateBool(node, "fullscreen", VIR_XML_PROP_NONE,
- &fullscreen) < 0)
- return -1;
-
- virTristateBoolToBool(fullscreen, &def->data.desktop.fullscreen);
def->data.desktop.display = virXMLPropString(node, "display");
-
- return 0;
}
goto error;
break;
case VIR_DOMAIN_GRAPHICS_TYPE_DESKTOP:
- if (virDomainGraphicsDefParseXMLDesktop(def, node) < 0)
- goto error;
+ virDomainGraphicsDefParseXMLDesktop(def, node);
break;
case VIR_DOMAIN_GRAPHICS_TYPE_SPICE:
if (virDomainGraphicsDefParseXMLSpice(def, node, ctxt, flags) < 0)
virDomainGraphicsDef *def)
{
virBufferEscapeString(attrBuf, " display='%s'", def->data.desktop.display);
-
- if (def->data.desktop.fullscreen)
- virBufferAddLit(attrBuf, " fullscreen='yes'");
}
static int