1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | * :tabSize=2:indentSize=2:noTabs=true:
|
---|
4 | * :folding=explicit:collapseFolds=1:
|
---|
5 | *
|
---|
6 | * Sun VirtualBox Settings Schema
|
---|
7 | * Common definitions
|
---|
8 |
|
---|
9 | Copyright (C) 2004-2009 Sun Microsystems, Inc.
|
---|
10 |
|
---|
11 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
12 | available from http://www.virtualbox.org. This file is free software;
|
---|
13 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
14 | General Public License (GPL) as published by the Free Software
|
---|
15 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
16 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
17 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
18 |
|
---|
19 | Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
20 | Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
21 | additional information or have any questions.
|
---|
22 | -->
|
---|
23 |
|
---|
24 | <xsd:schema
|
---|
25 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
---|
26 | xmlns="http://www.innotek.de/VirtualBox-settings"
|
---|
27 | xmlns:vb="http://www.innotek.de/VirtualBox-settings"
|
---|
28 | targetNamespace="http://www.innotek.de/VirtualBox-settings"
|
---|
29 | elementFormDefault="qualified"
|
---|
30 | >
|
---|
31 |
|
---|
32 | <xsd:annotation>
|
---|
33 | <xsd:documentation xml:lang="en">
|
---|
34 | Sun VirtualBox Settings Schema (common definitions).
|
---|
35 | Copyright (c) 2004-2008 Sun Microsystems, Inc.
|
---|
36 | </xsd:documentation>
|
---|
37 | </xsd:annotation>
|
---|
38 |
|
---|
39 | <!--
|
---|
40 | // Simple types
|
---|
41 | /////////////////////////////////////////////////////////////////////////
|
---|
42 | -->
|
---|
43 |
|
---|
44 | <xsd:simpleType name="TUUID">
|
---|
45 | <xsd:restriction base="xsd:token">
|
---|
46 | <xsd:pattern value="\{[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}\}"/>
|
---|
47 | </xsd:restriction>
|
---|
48 | </xsd:simpleType>
|
---|
49 |
|
---|
50 | <xsd:simpleType name="TNonNullUUID">
|
---|
51 | <xsd:restriction base="TUUID">
|
---|
52 | <xsd:pattern value=".*[1-9A-Fa-f]+.*"/>
|
---|
53 | </xsd:restriction>
|
---|
54 | </xsd:simpleType>
|
---|
55 |
|
---|
56 | <xsd:simpleType name="TUInt8">
|
---|
57 | <xsd:union>
|
---|
58 | <xsd:simpleType>
|
---|
59 | <xsd:restriction base="xsd:unsignedByte">
|
---|
60 | </xsd:restriction>
|
---|
61 | </xsd:simpleType>
|
---|
62 | <xsd:simpleType>
|
---|
63 | <xsd:restriction base="xsd:string">
|
---|
64 | <xsd:pattern value="0[xX][A-Fa-f0-9]{1,2}"/>
|
---|
65 | </xsd:restriction>
|
---|
66 | </xsd:simpleType>
|
---|
67 | </xsd:union>
|
---|
68 | </xsd:simpleType>
|
---|
69 |
|
---|
70 | <xsd:simpleType name="TUInt16">
|
---|
71 | <xsd:union>
|
---|
72 | <xsd:simpleType>
|
---|
73 | <xsd:restriction base="xsd:unsignedShort">
|
---|
74 | </xsd:restriction>
|
---|
75 | </xsd:simpleType>
|
---|
76 | <xsd:simpleType>
|
---|
77 | <xsd:restriction base="xsd:string">
|
---|
78 | <xsd:pattern value="0[xX][A-Fa-f0-9]{1,4}"/>
|
---|
79 | </xsd:restriction>
|
---|
80 | </xsd:simpleType>
|
---|
81 | </xsd:union>
|
---|
82 | </xsd:simpleType>
|
---|
83 |
|
---|
84 | <xsd:simpleType name="TUInt64Hex">
|
---|
85 | <xsd:restriction base="xsd:string">
|
---|
86 | <xsd:pattern value="0x[A-Fa-f0-9]{1,16}"/>
|
---|
87 | </xsd:restriction>
|
---|
88 | </xsd:simpleType>
|
---|
89 |
|
---|
90 | <xsd:simpleType name="TLocalFile">
|
---|
91 | <xsd:restriction base="xsd:string">
|
---|
92 | <xsd:pattern value=".+"/>
|
---|
93 | </xsd:restriction>
|
---|
94 | </xsd:simpleType>
|
---|
95 |
|
---|
96 | <xsd:simpleType name="TDiskType">
|
---|
97 | <xsd:restriction base="xsd:token">
|
---|
98 | <xsd:enumeration value="HD"/>
|
---|
99 | <xsd:enumeration value="DVD"/>
|
---|
100 | <xsd:enumeration value="FD"/>
|
---|
101 | </xsd:restriction>
|
---|
102 | </xsd:simpleType>
|
---|
103 |
|
---|
104 | <xsd:simpleType name="TDeviceType">
|
---|
105 | <xsd:restriction base="xsd:token">
|
---|
106 | <xsd:enumeration value="None"/>
|
---|
107 | <xsd:enumeration value="Floppy"/>
|
---|
108 | <xsd:enumeration value="DVD"/>
|
---|
109 | <xsd:enumeration value="HardDisk"/>
|
---|
110 | <xsd:enumeration value="Network"/>
|
---|
111 | </xsd:restriction>
|
---|
112 | </xsd:simpleType>
|
---|
113 |
|
---|
114 | <xsd:simpleType name="TUSBDeviceFilterAction">
|
---|
115 | <xsd:restriction base="xsd:token">
|
---|
116 | <xsd:enumeration value="Ignore"/>
|
---|
117 | <xsd:enumeration value="Hold"/>
|
---|
118 | </xsd:restriction>
|
---|
119 | </xsd:simpleType>
|
---|
120 |
|
---|
121 | <xsd:simpleType name="TNonEmptyString">
|
---|
122 | <xsd:restriction base="xsd:string">
|
---|
123 | <xsd:pattern value=".+"/>
|
---|
124 | </xsd:restriction>
|
---|
125 | </xsd:simpleType>
|
---|
126 |
|
---|
127 | <xsd:simpleType name="TPresentDateTimeUTC">
|
---|
128 | <xsd:restriction base="xsd:dateTime">
|
---|
129 | <xsd:minInclusive value="1900-01-01T00:00:00Z"/>
|
---|
130 | <xsd:maxInclusive value="199999999-12-31T23:59:59Z"/>
|
---|
131 | <xsd:pattern value=".+-.+-.+T.+:.+:[0-9]{2}Z"/>
|
---|
132 | </xsd:restriction>
|
---|
133 | </xsd:simpleType>
|
---|
134 |
|
---|
135 | <xsd:simpleType name="TGuestOSType">
|
---|
136 | <xsd:restriction base="xsd:string">
|
---|
137 | <xsd:enumeration value="Other"/>
|
---|
138 | <xsd:enumeration value="DOS"/>
|
---|
139 | <xsd:enumeration value="Netware"/>
|
---|
140 | <xsd:enumeration value="L4"/>
|
---|
141 | <xsd:enumeration value="Windows31"/>
|
---|
142 | <xsd:enumeration value="Windows95"/>
|
---|
143 | <xsd:enumeration value="Windows98"/>
|
---|
144 | <xsd:enumeration value="WindowsMe"/>
|
---|
145 | <xsd:enumeration value="WindowsNT4"/>
|
---|
146 | <xsd:enumeration value="Windows2000"/>
|
---|
147 | <xsd:enumeration value="WindowsXP"/>
|
---|
148 | <xsd:enumeration value="WindowsXP_64"/>
|
---|
149 | <xsd:enumeration value="Windows2003"/>
|
---|
150 | <xsd:enumeration value="Windows2003_64"/>
|
---|
151 | <xsd:enumeration value="WindowsVista"/>
|
---|
152 | <xsd:enumeration value="WindowsVista_64"/>
|
---|
153 | <xsd:enumeration value="Windows2008"/>
|
---|
154 | <xsd:enumeration value="Windows2008_64"/>
|
---|
155 | <xsd:enumeration value="Windows7"/>
|
---|
156 | <xsd:enumeration value="Windows7_64"/>
|
---|
157 | <xsd:enumeration value="WindowsNT"/>
|
---|
158 | <xsd:enumeration value="OS2Warp3"/>
|
---|
159 | <xsd:enumeration value="OS2Warp4"/>
|
---|
160 | <xsd:enumeration value="OS2Warp45"/>
|
---|
161 | <xsd:enumeration value="OS2eCS"/>
|
---|
162 | <xsd:enumeration value="OS2"/>
|
---|
163 | <xsd:enumeration value="Linux22"/>
|
---|
164 | <xsd:enumeration value="Linux24"/>
|
---|
165 | <xsd:enumeration value="Linux24_64"/>
|
---|
166 | <xsd:enumeration value="Linux26"/>
|
---|
167 | <xsd:enumeration value="Linux26_64"/>
|
---|
168 | <xsd:enumeration value="ArchLinux"/>
|
---|
169 | <xsd:enumeration value="ArchLinux_64"/>
|
---|
170 | <xsd:enumeration value="Debian"/>
|
---|
171 | <xsd:enumeration value="Debian_64"/>
|
---|
172 | <xsd:enumeration value="OpenSUSE"/>
|
---|
173 | <xsd:enumeration value="OpenSUSE_64"/>
|
---|
174 | <xsd:enumeration value="Fedora"/>
|
---|
175 | <xsd:enumeration value="Fedora_64"/>
|
---|
176 | <xsd:enumeration value="Gentoo"/>
|
---|
177 | <xsd:enumeration value="Gentoo_64"/>
|
---|
178 | <xsd:enumeration value="Mandriva"/>
|
---|
179 | <xsd:enumeration value="Mandriva_64"/>
|
---|
180 | <xsd:enumeration value="RedHat"/>
|
---|
181 | <xsd:enumeration value="RedHat_64"/>
|
---|
182 | <xsd:enumeration value="Turbolinux"/>
|
---|
183 | <xsd:enumeration value="Ubuntu"/>
|
---|
184 | <xsd:enumeration value="Ubuntu_64"/>
|
---|
185 | <xsd:enumeration value="Xandros"/>
|
---|
186 | <xsd:enumeration value="Xandros_64"/>
|
---|
187 | <xsd:enumeration value="Linux"/>
|
---|
188 | <xsd:enumeration value="FreeBSD"/>
|
---|
189 | <xsd:enumeration value="FreeBSD_64"/>
|
---|
190 | <xsd:enumeration value="OpenBSD"/>
|
---|
191 | <xsd:enumeration value="OpenBSD_64"/>
|
---|
192 | <xsd:enumeration value="NetBSD"/>
|
---|
193 | <xsd:enumeration value="NetBSD_64"/>
|
---|
194 | <xsd:enumeration value="Solaris"/>
|
---|
195 | <xsd:enumeration value="Solaris_64"/>
|
---|
196 | <xsd:enumeration value="OpenSolaris"/>
|
---|
197 | <xsd:enumeration value="OpenSolaris_64"/>
|
---|
198 | <xsd:enumeration value="QNX"/>
|
---|
199 | </xsd:restriction>
|
---|
200 | </xsd:simpleType>
|
---|
201 |
|
---|
202 |
|
---|
203 | <xsd:simpleType name="TVRDPAuthType">
|
---|
204 | <xsd:restriction base="xsd:string">
|
---|
205 | <xsd:enumeration value="Null"/>
|
---|
206 | <xsd:enumeration value="Guest"/>
|
---|
207 | <xsd:enumeration value="External"/>
|
---|
208 | </xsd:restriction>
|
---|
209 | </xsd:simpleType>
|
---|
210 |
|
---|
211 | <xsd:simpleType name="TNetworkAdapterType">
|
---|
212 | <xsd:restriction base="xsd:string">
|
---|
213 | <xsd:enumeration value="Am79C970A"/>
|
---|
214 | <xsd:enumeration value="Am79C973"/>
|
---|
215 | <xsd:enumeration value="82540EM"/>
|
---|
216 | <xsd:enumeration value="82543GC"/>
|
---|
217 | <xsd:enumeration value="82545EM"/>
|
---|
218 | </xsd:restriction>
|
---|
219 | </xsd:simpleType>
|
---|
220 |
|
---|
221 | <xsd:simpleType name="TTriStateBoolType">
|
---|
222 | <xsd:restriction base="xsd:string">
|
---|
223 | <xsd:enumeration value="false"/>
|
---|
224 | <xsd:enumeration value="true"/>
|
---|
225 | <xsd:enumeration value="default"/>
|
---|
226 | </xsd:restriction>
|
---|
227 | </xsd:simpleType>
|
---|
228 |
|
---|
229 | <xsd:simpleType name="TBIOSBootMenuModeType">
|
---|
230 | <xsd:restriction base="xsd:string">
|
---|
231 | <xsd:enumeration value="Disabled"/>
|
---|
232 | <xsd:enumeration value="MenuOnly"/>
|
---|
233 | <xsd:enumeration value="MessageAndMenu"/>
|
---|
234 | </xsd:restriction>
|
---|
235 | </xsd:simpleType>
|
---|
236 |
|
---|
237 | <xsd:simpleType name="TClipboardMode">
|
---|
238 | <xsd:restriction base="xsd:string">
|
---|
239 | <xsd:enumeration value="Disabled"/>
|
---|
240 | <xsd:enumeration value="HostToGuest"/>
|
---|
241 | <xsd:enumeration value="GuestToHost"/>
|
---|
242 | <xsd:enumeration value="Bidirectional"/>
|
---|
243 | </xsd:restriction>
|
---|
244 | </xsd:simpleType>
|
---|
245 |
|
---|
246 | <xsd:simpleType name="TPortMode">
|
---|
247 | <xsd:restriction base="xsd:string">
|
---|
248 | <xsd:enumeration value="Disconnected"/>
|
---|
249 | <xsd:enumeration value="HostPipe"/>
|
---|
250 | <xsd:enumeration value="HostDevice"/>
|
---|
251 | </xsd:restriction>
|
---|
252 | </xsd:simpleType>
|
---|
253 |
|
---|
254 | <!--
|
---|
255 | // Complex types
|
---|
256 | /////////////////////////////////////////////////////////////////////////
|
---|
257 | -->
|
---|
258 | <xsd:complexType name="TDHCPServer">
|
---|
259 | <xsd:attribute name="networkName" type="xsd:string" use="required"/>
|
---|
260 | <xsd:attribute name="lowerIP" type="xsd:string" use="required"/>
|
---|
261 | <xsd:attribute name="upperIP" type="xsd:string" use="required"/>
|
---|
262 | <xsd:attribute name="IPAddress" type="xsd:string" use="required"/>
|
---|
263 | <xsd:attribute name="networkMask" type="xsd:string" use="required"/>
|
---|
264 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
265 | </xsd:complexType>
|
---|
266 |
|
---|
267 | <xsd:complexType name="THardDiskBase">
|
---|
268 | <xsd:sequence>
|
---|
269 | <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
---|
270 | <xsd:element name="Property" minOccurs="0" maxOccurs="unbounded">
|
---|
271 | <xsd:complexType>
|
---|
272 | <xsd:attribute name="name" type="xsd:token" use="required"/>
|
---|
273 | <xsd:attribute name="value" type="xsd:string" use="required"/>
|
---|
274 | </xsd:complexType>
|
---|
275 | </xsd:element>
|
---|
276 | <xsd:element name="HardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
|
---|
277 | </xsd:sequence>
|
---|
278 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
279 | <xsd:attribute name="location" type="TLocalFile" use="required"/>
|
---|
280 | <xsd:attribute name="format" type="TNonEmptyString" use="required"/>
|
---|
281 | </xsd:complexType>
|
---|
282 |
|
---|
283 | <xsd:complexType name="TDiffHardDisk">
|
---|
284 | <xsd:complexContent>
|
---|
285 | <xsd:extension base="THardDiskBase">
|
---|
286 | <xsd:attribute name="autoReset" type="xsd:boolean" default="false"/>
|
---|
287 | </xsd:extension>
|
---|
288 | </xsd:complexContent>
|
---|
289 | </xsd:complexType>
|
---|
290 |
|
---|
291 | <xsd:complexType name="THardDisk">
|
---|
292 | <xsd:complexContent>
|
---|
293 | <xsd:extension base="THardDiskBase">
|
---|
294 | <xsd:attribute name="type" use="required">
|
---|
295 | <xsd:simpleType>
|
---|
296 | <xsd:restriction base="xsd:string">
|
---|
297 | <xsd:enumeration value="Normal"/>
|
---|
298 | <xsd:enumeration value="Immutable"/>
|
---|
299 | <xsd:enumeration value="Writethrough"/>
|
---|
300 | </xsd:restriction>
|
---|
301 | </xsd:simpleType>
|
---|
302 | </xsd:attribute>
|
---|
303 | </xsd:extension>
|
---|
304 | </xsd:complexContent>
|
---|
305 | </xsd:complexType>
|
---|
306 |
|
---|
307 | <xsd:complexType name="TImage2">
|
---|
308 | <xsd:sequence>
|
---|
309 | <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
---|
310 | </xsd:sequence>
|
---|
311 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
312 | <xsd:attribute name="location" type="TLocalFile" use="required"/>
|
---|
313 | </xsd:complexType>
|
---|
314 |
|
---|
315 | <xsd:complexType name="TImageRef">
|
---|
316 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
317 | </xsd:complexType>
|
---|
318 |
|
---|
319 | <xsd:complexType name="THostDrive">
|
---|
320 | <xsd:attribute name="src" type="TLocalFile" use="required"/>
|
---|
321 | </xsd:complexType>
|
---|
322 |
|
---|
323 | <xsd:complexType name="TUSBDeviceFilter">
|
---|
324 | <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
|
---|
325 | <xsd:attribute name="active" type="xsd:boolean" use="required"/>
|
---|
326 | <xsd:attribute name="vendorId" type="xsd:token"/>
|
---|
327 | <xsd:attribute name="productId" type="xsd:token"/>
|
---|
328 | <xsd:attribute name="revision" type="xsd:token"/>
|
---|
329 | <xsd:attribute name="manufacturer" type="xsd:token"/>
|
---|
330 | <xsd:attribute name="product" type="xsd:token"/>
|
---|
331 | <xsd:attribute name="serialNumber" type="xsd:token"/>
|
---|
332 | <xsd:attribute name="port" type="xsd:token"/>
|
---|
333 | <xsd:attribute name="remote" type="xsd:token"/>
|
---|
334 | <xsd:attribute name="maskedInterfaces" type="xsd:unsignedInt" default="0"/>
|
---|
335 | </xsd:complexType>
|
---|
336 |
|
---|
337 | <xsd:complexType name="THostUSBDeviceFilter">
|
---|
338 | <xsd:complexContent>
|
---|
339 | <xsd:extension base="TUSBDeviceFilter">
|
---|
340 | <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
|
---|
341 | </xsd:extension>
|
---|
342 | </xsd:complexContent>
|
---|
343 | </xsd:complexType>
|
---|
344 |
|
---|
345 | <xsd:complexType name="TSystemProperties">
|
---|
346 | <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
|
---|
347 | <xsd:attribute name="defaultHardDiskFolder" type="TLocalFile"/>
|
---|
348 | <xsd:attribute name="defaultHardDiskFormat" type="TNonEmptyString"/>
|
---|
349 | <xsd:attribute name="remoteDisplayAuthLibrary" type="TLocalFile"/>
|
---|
350 | <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
|
---|
351 | <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
|
---|
352 | <xsd:attribute name="LogHistoryCount" type="xsd:unsignedInt" default="3"/>
|
---|
353 | </xsd:complexType>
|
---|
354 |
|
---|
355 | <xsd:complexType name="TExtraData">
|
---|
356 | <xsd:sequence>
|
---|
357 | <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
|
---|
358 | <xsd:complexType>
|
---|
359 | <xsd:attribute name="name" type="xsd:token" use="required"/>
|
---|
360 | <xsd:attribute name="value" type="xsd:string" use="required"/>
|
---|
361 | </xsd:complexType>
|
---|
362 | </xsd:element>
|
---|
363 | </xsd:sequence>
|
---|
364 | </xsd:complexType>
|
---|
365 |
|
---|
366 | <xsd:complexType name="TGlobal">
|
---|
367 | <xsd:all>
|
---|
368 | <xsd:element name="MachineRegistry">
|
---|
369 | <xsd:complexType>
|
---|
370 | <xsd:sequence>
|
---|
371 | <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
|
---|
372 | <xsd:complexType>
|
---|
373 | <xsd:attribute name="src" type="TLocalFile" use="required"/>
|
---|
374 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
375 | </xsd:complexType>
|
---|
376 | </xsd:element>
|
---|
377 | </xsd:sequence>
|
---|
378 | </xsd:complexType>
|
---|
379 | </xsd:element>
|
---|
380 | <xsd:element name="MediaRegistry">
|
---|
381 | <xsd:complexType>
|
---|
382 | <xsd:all>
|
---|
383 | <xsd:element name="HardDisks" minOccurs="0">
|
---|
384 | <xsd:complexType>
|
---|
385 | <xsd:sequence>
|
---|
386 | <xsd:element name="HardDisk" type="THardDisk" minOccurs="0" maxOccurs="unbounded"/>
|
---|
387 | </xsd:sequence>
|
---|
388 | </xsd:complexType>
|
---|
389 | </xsd:element>
|
---|
390 | <xsd:element name="DVDImages" minOccurs="0">
|
---|
391 | <xsd:complexType>
|
---|
392 | <xsd:sequence>
|
---|
393 | <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
|
---|
394 | </xsd:sequence>
|
---|
395 | </xsd:complexType>
|
---|
396 | </xsd:element>
|
---|
397 | <xsd:element name="FloppyImages" minOccurs="0">
|
---|
398 | <xsd:complexType>
|
---|
399 | <xsd:sequence>
|
---|
400 | <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
|
---|
401 | </xsd:sequence>
|
---|
402 | </xsd:complexType>
|
---|
403 | </xsd:element>
|
---|
404 | </xsd:all>
|
---|
405 | </xsd:complexType>
|
---|
406 | </xsd:element>
|
---|
407 | <xsd:element name="NetserviceRegistry" minOccurs="0" maxOccurs="1">
|
---|
408 | <xsd:complexType>
|
---|
409 | <xsd:all>
|
---|
410 | <xsd:element name="DHCPServers" minOccurs="0">
|
---|
411 | <xsd:complexType>
|
---|
412 | <xsd:sequence>
|
---|
413 | <xsd:element name="DHCPServer" type="TDHCPServer" minOccurs="0" maxOccurs="unbounded"/>
|
---|
414 | </xsd:sequence>
|
---|
415 | </xsd:complexType>
|
---|
416 | </xsd:element>
|
---|
417 | </xsd:all>
|
---|
418 | </xsd:complexType>
|
---|
419 | </xsd:element>
|
---|
420 | <xsd:element name="USBDeviceFilters">
|
---|
421 | <xsd:complexType>
|
---|
422 | <xsd:sequence>
|
---|
423 | <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
|
---|
424 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
425 | </xsd:sequence>
|
---|
426 | </xsd:complexType>
|
---|
427 | </xsd:element>
|
---|
428 | <xsd:element name="SystemProperties" type="TSystemProperties"/>
|
---|
429 | <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
|
---|
430 | </xsd:all>
|
---|
431 | </xsd:complexType>
|
---|
432 |
|
---|
433 | <xsd:complexType name="THWVirtExType">
|
---|
434 | <xsd:attribute name="enabled" type="TTriStateBoolType" default="default"/>
|
---|
435 | </xsd:complexType>
|
---|
436 |
|
---|
437 | <xsd:complexType name="THWVirtExNestedPagingType">
|
---|
438 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
439 | </xsd:complexType>
|
---|
440 |
|
---|
441 | <xsd:complexType name="THWVirtExVPIDType">
|
---|
442 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
443 | </xsd:complexType>
|
---|
444 |
|
---|
445 | <xsd:complexType name="TPAEType">
|
---|
446 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
447 | </xsd:complexType>
|
---|
448 |
|
---|
449 | <xsd:simpleType name="TCPUCount">
|
---|
450 | <xsd:restriction base="xsd:unsignedInt">
|
---|
451 | <xsd:minInclusive value="1"/>
|
---|
452 | <xsd:maxInclusive value="255"/>
|
---|
453 | </xsd:restriction>
|
---|
454 | </xsd:simpleType>
|
---|
455 |
|
---|
456 | <xsd:complexType name="TCPU">
|
---|
457 | <xsd:sequence>
|
---|
458 | <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
|
---|
459 | <xsd:element name="HardwareVirtExNestedPaging" type="THWVirtExNestedPagingType" minOccurs="0"/>
|
---|
460 | <xsd:element name="HardwareVirtExVPID" type="THWVirtExVPIDType" minOccurs="0"/>
|
---|
461 | <xsd:element name="PAE" type="TPAEType" minOccurs="0"/>
|
---|
462 | </xsd:sequence>
|
---|
463 | <xsd:attribute name="count" type="TCPUCount" default="1"/>
|
---|
464 | </xsd:complexType>
|
---|
465 |
|
---|
466 | <xsd:complexType name="TBoot">
|
---|
467 | <xsd:sequence>
|
---|
468 | <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
|
---|
469 | <xsd:complexType>
|
---|
470 | <xsd:attribute name="position" use="required">
|
---|
471 | <xsd:simpleType>
|
---|
472 | <xsd:restriction base="xsd:unsignedInt">
|
---|
473 | <xsd:minInclusive value="1"/>
|
---|
474 | <xsd:maxInclusive value="4"/>
|
---|
475 | </xsd:restriction>
|
---|
476 | </xsd:simpleType>
|
---|
477 | </xsd:attribute>
|
---|
478 | <xsd:attribute name="device" type="TDeviceType" use="required"/>
|
---|
479 | </xsd:complexType>
|
---|
480 | </xsd:element>
|
---|
481 | </xsd:sequence>
|
---|
482 | </xsd:complexType>
|
---|
483 |
|
---|
484 | <xsd:complexType name="TDisplay">
|
---|
485 | <xsd:attribute name="VRAMSize" use="required">
|
---|
486 | <xsd:simpleType>
|
---|
487 | <xsd:restriction base="xsd:unsignedInt">
|
---|
488 | <xsd:minInclusive value="1"/>
|
---|
489 | <xsd:maxInclusive value="128"/>
|
---|
490 | </xsd:restriction>
|
---|
491 | </xsd:simpleType>
|
---|
492 | </xsd:attribute>
|
---|
493 | <xsd:attribute name="monitorCount" default="1">
|
---|
494 | <xsd:simpleType>
|
---|
495 | <xsd:restriction base="xsd:unsignedInt">
|
---|
496 | <xsd:maxInclusive value="8"/>
|
---|
497 | </xsd:restriction>
|
---|
498 | </xsd:simpleType>
|
---|
499 | </xsd:attribute>
|
---|
500 | <xsd:attribute name="accelerate3D" type="xsd:boolean" default="false"/>
|
---|
501 | </xsd:complexType>
|
---|
502 |
|
---|
503 | <xsd:complexType name="TRemoteDisplay">
|
---|
504 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
505 | <xsd:attribute name="port" type="xsd:unsignedInt" default="0"/>
|
---|
506 | <xsd:attribute name="netAddress" type="xsd:token" default=""/>
|
---|
507 | <xsd:attribute name="authType" type="TVRDPAuthType" default="Null"/>
|
---|
508 | <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
|
---|
509 | <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
|
---|
510 | <xsd:attribute name="reuseSingleConnection" type="xsd:boolean" default="false"/>
|
---|
511 | </xsd:complexType>
|
---|
512 |
|
---|
513 | <xsd:complexType name="TBIOS">
|
---|
514 | <xsd:all>
|
---|
515 | <xsd:element name="ACPI">
|
---|
516 | <xsd:complexType>
|
---|
517 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
518 | </xsd:complexType>
|
---|
519 | </xsd:element>
|
---|
520 | <xsd:element name="IOAPIC" minOccurs="0">
|
---|
521 | <xsd:complexType>
|
---|
522 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
523 | </xsd:complexType>
|
---|
524 | </xsd:element>
|
---|
525 | <xsd:element name="Logo" minOccurs="0">
|
---|
526 | <xsd:complexType>
|
---|
527 | <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
|
---|
528 | <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
|
---|
529 | <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
|
---|
530 | <xsd:attribute name="imagePath" type="TLocalFile"/>
|
---|
531 | </xsd:complexType>
|
---|
532 | </xsd:element>
|
---|
533 | <xsd:element name="BootMenu" minOccurs="0">
|
---|
534 | <xsd:complexType>
|
---|
535 | <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="MessageAndMenu"/>
|
---|
536 | </xsd:complexType>
|
---|
537 | </xsd:element>
|
---|
538 | <xsd:element name="TimeOffset" minOccurs="0">
|
---|
539 | <xsd:complexType>
|
---|
540 | <xsd:attribute name="value" type="xsd:integer" default="0"/>
|
---|
541 | </xsd:complexType>
|
---|
542 | </xsd:element>
|
---|
543 | <xsd:element name="PXEDebug" minOccurs="0">
|
---|
544 | <xsd:complexType>
|
---|
545 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
546 | </xsd:complexType>
|
---|
547 | </xsd:element>
|
---|
548 | </xsd:all>
|
---|
549 | </xsd:complexType>
|
---|
550 |
|
---|
551 | <xsd:complexType name="TStorageControllerDevice">
|
---|
552 | <xsd:choice minOccurs="0">
|
---|
553 | <xsd:element name="Image" type="TImageRef"/>
|
---|
554 | <xsd:element name="HostDrive" type="THostDrive"/>
|
---|
555 | </xsd:choice>
|
---|
556 | <xsd:attribute name="type" use="required">
|
---|
557 | <xsd:simpleType>
|
---|
558 | <xsd:restriction base="xsd:token">
|
---|
559 | <xsd:enumeration value="HardDisk"/>
|
---|
560 | <xsd:enumeration value="CD/DVD"/>
|
---|
561 | </xsd:restriction>
|
---|
562 | </xsd:simpleType>
|
---|
563 | </xsd:attribute>
|
---|
564 | <xsd:attribute name="port" type="xsd:unsignedInt" use="required"/>
|
---|
565 | <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
|
---|
566 | </xsd:complexType>
|
---|
567 |
|
---|
568 | <xsd:complexType name="TStorageController">
|
---|
569 | <xsd:sequence>
|
---|
570 | <xsd:element name="AttachedDevice" type="TStorageControllerDevice"
|
---|
571 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
572 | </xsd:sequence>
|
---|
573 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
574 | <xsd:attribute name="type" use="required">
|
---|
575 | <xsd:simpleType>
|
---|
576 | <xsd:restriction base="xsd:token">
|
---|
577 | <xsd:enumeration value="AHCI"/>
|
---|
578 | <xsd:enumeration value="LsiLogic"/>
|
---|
579 | <xsd:enumeration value="BusLogic"/>
|
---|
580 | <xsd:enumeration value="PIIX3"/>
|
---|
581 | <xsd:enumeration value="PIIX4"/>
|
---|
582 | <xsd:enumeration value="ICH6"/>
|
---|
583 | </xsd:restriction>
|
---|
584 | </xsd:simpleType>
|
---|
585 | </xsd:attribute>
|
---|
586 | <xsd:attribute name="PortCount" type="xsd:unsignedInt" use="required"/>
|
---|
587 | <xsd:attribute name="bootable" type="xsd:boolean" use="optional"/>
|
---|
588 | <xsd:attribute name="PCIBus" type="xsd:unsignedInt" use="optional"/>
|
---|
589 | <xsd:attribute name="PCIDevice" type="xsd:unsignedInt" use="optional"/>
|
---|
590 | <xsd:attribute name="PCIFunction" type="xsd:unsignedInt" use="optional"/>
|
---|
591 | <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
|
---|
592 | <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
|
---|
593 | <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
|
---|
594 | <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
|
---|
595 | </xsd:complexType>
|
---|
596 |
|
---|
597 | <xsd:complexType name="TStorageControllers">
|
---|
598 | <xsd:sequence>
|
---|
599 | <xsd:element name="StorageController" type="TStorageController"
|
---|
600 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
601 | </xsd:sequence>
|
---|
602 | </xsd:complexType>
|
---|
603 |
|
---|
604 | <xsd:complexType name="TDVDDrive">
|
---|
605 | <xsd:choice minOccurs="0">
|
---|
606 | <xsd:element name="Image" type="TImageRef"/>
|
---|
607 | <xsd:element name="HostDrive" type="THostDrive"/>
|
---|
608 | </xsd:choice>
|
---|
609 | <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
|
---|
610 | </xsd:complexType>
|
---|
611 |
|
---|
612 | <xsd:complexType name="TFloppyDrive">
|
---|
613 | <xsd:choice minOccurs="0">
|
---|
614 | <xsd:element name="Image" type="TImageRef"/>
|
---|
615 | <xsd:element name="HostDrive" type="THostDrive"/>
|
---|
616 | </xsd:choice>
|
---|
617 | <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
|
---|
618 | </xsd:complexType>
|
---|
619 |
|
---|
620 | <xsd:complexType name="TUSBController">
|
---|
621 | <xsd:sequence>
|
---|
622 | <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
|
---|
623 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
624 | </xsd:sequence>
|
---|
625 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
626 | <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
|
---|
627 | </xsd:complexType>
|
---|
628 |
|
---|
629 | <xsd:complexType name="TAudioAdapterBase">
|
---|
630 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
631 | <xsd:attribute name="controller" default="AC97">
|
---|
632 | <xsd:simpleType>
|
---|
633 | <xsd:restriction base="xsd:token">
|
---|
634 | <xsd:enumeration value="AC97"/>
|
---|
635 | <xsd:enumeration value="SB16"/>
|
---|
636 | </xsd:restriction>
|
---|
637 | </xsd:simpleType>
|
---|
638 | </xsd:attribute>
|
---|
639 | </xsd:complexType>
|
---|
640 |
|
---|
641 | <xsd:complexType name="TNetworkAdapter">
|
---|
642 | <xsd:choice minOccurs="0">
|
---|
643 | <xsd:element name="NAT">
|
---|
644 | <xsd:complexType>
|
---|
645 | <xsd:attribute name="network" type="xsd:string"/>
|
---|
646 | </xsd:complexType>
|
---|
647 | </xsd:element>
|
---|
648 | <xsd:element name="HostInterface">
|
---|
649 | <xsd:complexType>
|
---|
650 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
651 | </xsd:complexType>
|
---|
652 | </xsd:element>
|
---|
653 | <xsd:element name="BridgedInterface">
|
---|
654 | <xsd:complexType>
|
---|
655 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
656 | </xsd:complexType>
|
---|
657 | </xsd:element>
|
---|
658 | <xsd:element name="InternalNetwork">
|
---|
659 | <xsd:complexType>
|
---|
660 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
661 | </xsd:complexType>
|
---|
662 | </xsd:element>
|
---|
663 | <xsd:element name="HostOnlyInterface">
|
---|
664 | <xsd:complexType>
|
---|
665 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
666 | </xsd:complexType>
|
---|
667 | </xsd:element>
|
---|
668 | </xsd:choice>
|
---|
669 | <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
|
---|
670 | <xsd:attribute name="slot" use="required">
|
---|
671 | <xsd:simpleType>
|
---|
672 | <xsd:restriction base="xsd:unsignedInt">
|
---|
673 | <xsd:minInclusive value="0"/>
|
---|
674 | <xsd:maxExclusive value="8"/>
|
---|
675 | </xsd:restriction>
|
---|
676 | </xsd:simpleType>
|
---|
677 | </xsd:attribute>
|
---|
678 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
679 | <xsd:attribute name="MACAddress">
|
---|
680 | <xsd:simpleType>
|
---|
681 | <xsd:restriction base="xsd:hexBinary">
|
---|
682 | <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
|
---|
683 | </xsd:restriction>
|
---|
684 | </xsd:simpleType>
|
---|
685 | </xsd:attribute>
|
---|
686 | <xsd:attribute name="cable" type="xsd:boolean" use="required"/>
|
---|
687 | <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
|
---|
688 | <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
|
---|
689 | <xsd:attribute name="tracefile" type="xsd:string"/>
|
---|
690 | </xsd:complexType>
|
---|
691 |
|
---|
692 | <xsd:complexType name="TNetwork">
|
---|
693 | <xsd:sequence>
|
---|
694 | <xsd:element name="Adapter" type="TNetworkAdapter"
|
---|
695 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
696 | </xsd:sequence>
|
---|
697 | </xsd:complexType>
|
---|
698 |
|
---|
699 | <xsd:complexType name="TUARTPort">
|
---|
700 | <xsd:attribute name="slot" use="required">
|
---|
701 | <xsd:simpleType>
|
---|
702 | <xsd:restriction base="xsd:unsignedInt">
|
---|
703 | <xsd:minInclusive value="0"/>
|
---|
704 | <xsd:maxExclusive value="2"/>
|
---|
705 | </xsd:restriction>
|
---|
706 | </xsd:simpleType>
|
---|
707 | </xsd:attribute>
|
---|
708 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
709 | <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
|
---|
710 | <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
|
---|
711 | <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
|
---|
712 | <xsd:attribute name="path" type="TLocalFile"/>
|
---|
713 | <xsd:attribute name="server" type="xsd:boolean" default="false"/>
|
---|
714 | </xsd:complexType>
|
---|
715 |
|
---|
716 | <xsd:complexType name="TUART">
|
---|
717 | <xsd:sequence>
|
---|
718 | <xsd:element name="Port" type="TUARTPort"
|
---|
719 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
720 | </xsd:sequence>
|
---|
721 | </xsd:complexType>
|
---|
722 |
|
---|
723 | <xsd:complexType name="TLPTPort">
|
---|
724 | <xsd:attribute name="slot" use="required">
|
---|
725 | <xsd:simpleType>
|
---|
726 | <xsd:restriction base="xsd:unsignedInt">
|
---|
727 | <xsd:minInclusive value="0"/>
|
---|
728 | <xsd:maxExclusive value="2"/>
|
---|
729 | </xsd:restriction>
|
---|
730 | </xsd:simpleType>
|
---|
731 | </xsd:attribute>
|
---|
732 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
733 | <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
|
---|
734 | <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
|
---|
735 | <xsd:attribute name="path" type="TLocalFile"/>
|
---|
736 | </xsd:complexType>
|
---|
737 |
|
---|
738 | <xsd:complexType name="TLPT">
|
---|
739 | <xsd:sequence>
|
---|
740 | <xsd:element name="Port" type="TLPTPort"
|
---|
741 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
742 | </xsd:sequence>
|
---|
743 | </xsd:complexType>
|
---|
744 |
|
---|
745 | <xsd:complexType name="TSharedFolder">
|
---|
746 | <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
|
---|
747 | <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
|
---|
748 | <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
|
---|
749 | </xsd:complexType>
|
---|
750 |
|
---|
751 | <xsd:complexType name="TSharedFolders">
|
---|
752 | <xsd:sequence>
|
---|
753 | <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
|
---|
754 | </xsd:sequence>
|
---|
755 | </xsd:complexType>
|
---|
756 |
|
---|
757 | <xsd:complexType name="TClipboard">
|
---|
758 | <xsd:attribute name="mode" type="TClipboardMode" use="required"/>
|
---|
759 | </xsd:complexType>
|
---|
760 |
|
---|
761 | <xsd:complexType name="TGuest">
|
---|
762 | <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
|
---|
763 | <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
|
---|
764 | </xsd:complexType>
|
---|
765 |
|
---|
766 | <xsd:complexType name="TGuestProperty">
|
---|
767 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
768 | <xsd:attribute name="value" type="xsd:string" use="required"/>
|
---|
769 | <xsd:attribute name="timestamp" type="xsd:unsignedLong" default="0"/>
|
---|
770 | <xsd:attribute name="flags" type="xsd:string" default=""/>
|
---|
771 | </xsd:complexType>
|
---|
772 |
|
---|
773 | <xsd:complexType name="TGuestProperties">
|
---|
774 | <xsd:sequence>
|
---|
775 | <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
|
---|
776 | </xsd:sequence>
|
---|
777 | <xsd:attribute name="notificationPatterns" type="xsd:string" default=""/>
|
---|
778 | </xsd:complexType>
|
---|
779 |
|
---|
780 | <xsd:complexType name="TMemory">
|
---|
781 | <xsd:attribute name="RAMSize" use="required">
|
---|
782 | <xsd:simpleType>
|
---|
783 | <xsd:restriction base="xsd:unsignedInt">
|
---|
784 | <xsd:minInclusive value="4"/>
|
---|
785 | <xsd:maxInclusive value="16384"/>
|
---|
786 | </xsd:restriction>
|
---|
787 | </xsd:simpleType>
|
---|
788 | </xsd:attribute>
|
---|
789 | </xsd:complexType>
|
---|
790 |
|
---|
791 | <xsd:complexType name="THardware">
|
---|
792 | <xsd:all>
|
---|
793 | <xsd:element name="CPU" type="TCPU" minOccurs="0"/>
|
---|
794 | <xsd:element name="Memory" type="TMemory"/>
|
---|
795 | <xsd:element name="Boot" type="TBoot">
|
---|
796 | <xsd:unique name="THardware-Boot-Order">
|
---|
797 | <xsd:selector xpath="vb:Order"/>
|
---|
798 | <xsd:field xpath="@position"/>
|
---|
799 | </xsd:unique>
|
---|
800 | </xsd:element>
|
---|
801 | <xsd:element name="Display" type="TDisplay"/>
|
---|
802 | <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
|
---|
803 | <xsd:element name="BIOS" type="TBIOS"/>
|
---|
804 | <xsd:element name="DVDDrive" type="TDVDDrive"/>
|
---|
805 | <xsd:element name="FloppyDrive" type="TFloppyDrive"/>
|
---|
806 | <xsd:element name="USBController" type="TUSBController"/>
|
---|
807 | <xsd:element name="Network" type="TNetwork">
|
---|
808 | <xsd:unique name="THardware-Network-Adapter">
|
---|
809 | <xsd:selector xpath="vb:Adapter"/>
|
---|
810 | <xsd:field xpath="@slot"/>
|
---|
811 | </xsd:unique>
|
---|
812 | </xsd:element>
|
---|
813 | <xsd:element name="UART" type="TUART">
|
---|
814 | <xsd:unique name="THardware-UART-Port">
|
---|
815 | <xsd:selector xpath="vb:Port"/>
|
---|
816 | <xsd:field xpath="@slot"/>
|
---|
817 | </xsd:unique>
|
---|
818 | </xsd:element>
|
---|
819 | <xsd:element name="LPT" type="TLPT">
|
---|
820 | <xsd:unique name="THardware-LPT-Port">
|
---|
821 | <xsd:selector xpath="vb:Port"/>
|
---|
822 | <xsd:field xpath="@slot"/>
|
---|
823 | </xsd:unique>
|
---|
824 | </xsd:element>
|
---|
825 | <xsd:element name="AudioAdapter" type="TAudioAdapter"/>
|
---|
826 | <xsd:element name="SharedFolders" type="TSharedFolders">
|
---|
827 | <xsd:unique name="THardware-SharedFolders-SharedFolder">
|
---|
828 | <xsd:selector xpath="vb:SharedFolder"/>
|
---|
829 | <xsd:field xpath="@name"/>
|
---|
830 | </xsd:unique>
|
---|
831 | </xsd:element>
|
---|
832 | <xsd:element name="Clipboard" type="TClipboard"/>
|
---|
833 | <xsd:element name="Guest" type="TGuest"/>
|
---|
834 | <xsd:element name="GuestProperties" type="TGuestProperties" minOccurs="0">
|
---|
835 | <xsd:unique name="THardware-GuestProperties-GuestProperty">
|
---|
836 | <xsd:selector xpath="vb:GuestProperty"/>
|
---|
837 | <xsd:field xpath="@name"/>
|
---|
838 | </xsd:unique>
|
---|
839 | </xsd:element>
|
---|
840 | </xsd:all>
|
---|
841 | <xsd:attribute name="version" type="xsd:string" default="2"/>
|
---|
842 | </xsd:complexType>
|
---|
843 |
|
---|
844 | <xsd:complexType name="TMachine">
|
---|
845 | <xsd:all>
|
---|
846 | <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
---|
847 | <xsd:element name="Hardware" type="THardware"/>
|
---|
848 | <xsd:element name="StorageControllers" type="TStorageControllers"/>
|
---|
849 | <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
|
---|
850 | <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
|
---|
851 | </xsd:all>
|
---|
852 | <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
|
---|
853 | <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
|
---|
854 | <xsd:attribute name="OSType" type="TGuestOSType" use="required"/>
|
---|
855 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
856 | <xsd:attribute name="stateFile" type="TLocalFile"/>
|
---|
857 | <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
|
---|
858 | <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
|
---|
859 | <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
|
---|
860 | <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
|
---|
861 | <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
|
---|
862 | </xsd:complexType>
|
---|
863 |
|
---|
864 | <xsd:complexType name="TSnapshot">
|
---|
865 | <xsd:all>
|
---|
866 | <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
---|
867 | <xsd:element name="Hardware" type="THardware"/>
|
---|
868 | <xsd:element name="StorageControllers" type="TStorageControllers"/>
|
---|
869 | <xsd:element name="Snapshots" minOccurs="0">
|
---|
870 | <xsd:complexType>
|
---|
871 | <xsd:sequence>
|
---|
872 | <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
|
---|
873 | </xsd:sequence>
|
---|
874 | </xsd:complexType>
|
---|
875 | </xsd:element>
|
---|
876 | </xsd:all>
|
---|
877 | <xsd:attribute name="name" type="xsd:token" use="required"/>
|
---|
878 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
879 | <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
|
---|
880 | <xsd:attribute name="stateFile" type="TLocalFile"/>
|
---|
881 | </xsd:complexType>
|
---|
882 |
|
---|
883 | <xsd:complexType name="TVirtualBox" abstract="true">
|
---|
884 | <xsd:choice>
|
---|
885 | <xsd:element name="Global" type="TGlobal"/>
|
---|
886 | <xsd:element name="Machine" type="TMachine">
|
---|
887 | <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
|
---|
888 | <xsd:key name="snapshot">
|
---|
889 | <xsd:selector xpath=".//vb:Snapshot"/>
|
---|
890 | <xsd:field xpath="@uuid"/>
|
---|
891 | </xsd:key>
|
---|
892 | <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
|
---|
893 | <xsd:selector xpath="."/>
|
---|
894 | <xsd:field xpath="@currentSnapshot"/>
|
---|
895 | </xsd:keyref>
|
---|
896 | </xsd:element>
|
---|
897 | </xsd:choice>
|
---|
898 | </xsd:complexType>
|
---|
899 |
|
---|
900 | </xsd:schema>
|
---|