1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | * :tabSize=2:indentSize=2:noTabs=true:
|
---|
4 | * :folding=explicit:collapseFolds=1:
|
---|
5 | *
|
---|
6 | * Sun xVM VirtualBox Settings Schema
|
---|
7 | * Common definitions
|
---|
8 |
|
---|
9 | Copyright (C) 2004-2008 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 xVM 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:restriction>
|
---|
218 | </xsd:simpleType>
|
---|
219 |
|
---|
220 | <xsd:simpleType name="TTriStateBoolType">
|
---|
221 | <xsd:restriction base="xsd:string">
|
---|
222 | <xsd:enumeration value="false"/>
|
---|
223 | <xsd:enumeration value="true"/>
|
---|
224 | <xsd:enumeration value="default"/>
|
---|
225 | </xsd:restriction>
|
---|
226 | </xsd:simpleType>
|
---|
227 |
|
---|
228 | <xsd:simpleType name="TBIOSBootMenuModeType">
|
---|
229 | <xsd:restriction base="xsd:string">
|
---|
230 | <xsd:enumeration value="Disabled"/>
|
---|
231 | <xsd:enumeration value="MenuOnly"/>
|
---|
232 | <xsd:enumeration value="MessageAndMenu"/>
|
---|
233 | </xsd:restriction>
|
---|
234 | </xsd:simpleType>
|
---|
235 |
|
---|
236 | <xsd:simpleType name="TClipboardMode">
|
---|
237 | <xsd:restriction base="xsd:string">
|
---|
238 | <xsd:enumeration value="Disabled"/>
|
---|
239 | <xsd:enumeration value="HostToGuest"/>
|
---|
240 | <xsd:enumeration value="GuestToHost"/>
|
---|
241 | <xsd:enumeration value="Bidirectional"/>
|
---|
242 | </xsd:restriction>
|
---|
243 | </xsd:simpleType>
|
---|
244 |
|
---|
245 | <xsd:simpleType name="TPortMode">
|
---|
246 | <xsd:restriction base="xsd:string">
|
---|
247 | <xsd:enumeration value="Disconnected"/>
|
---|
248 | <xsd:enumeration value="HostPipe"/>
|
---|
249 | <xsd:enumeration value="HostDevice"/>
|
---|
250 | </xsd:restriction>
|
---|
251 | </xsd:simpleType>
|
---|
252 |
|
---|
253 | <!--
|
---|
254 | // Complex types
|
---|
255 | /////////////////////////////////////////////////////////////////////////
|
---|
256 | -->
|
---|
257 |
|
---|
258 | <xsd:complexType name="THardDiskBase">
|
---|
259 | <xsd:sequence>
|
---|
260 | <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
---|
261 | <xsd:element name="Property" minOccurs="0" maxOccurs="unbounded">
|
---|
262 | <xsd:complexType>
|
---|
263 | <xsd:attribute name="name" type="xsd:token" use="required"/>
|
---|
264 | <xsd:attribute name="value" type="xsd:string" use="required"/>
|
---|
265 | </xsd:complexType>
|
---|
266 | </xsd:element>
|
---|
267 | <xsd:element name="HardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
|
---|
268 | </xsd:sequence>
|
---|
269 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
270 | <xsd:attribute name="location" type="TLocalFile" use="required"/>
|
---|
271 | <xsd:attribute name="format" type="TNonEmptyString" use="required"/>
|
---|
272 | </xsd:complexType>
|
---|
273 |
|
---|
274 | <xsd:complexType name="TDiffHardDisk">
|
---|
275 | <xsd:complexContent>
|
---|
276 | <xsd:extension base="THardDiskBase">
|
---|
277 | <xsd:attribute name="autoReset" type="xsd:boolean" default="false"/>
|
---|
278 | </xsd:extension>
|
---|
279 | </xsd:complexContent>
|
---|
280 | </xsd:complexType>
|
---|
281 |
|
---|
282 | <xsd:complexType name="THardDisk">
|
---|
283 | <xsd:complexContent>
|
---|
284 | <xsd:extension base="THardDiskBase">
|
---|
285 | <xsd:attribute name="type" use="required">
|
---|
286 | <xsd:simpleType>
|
---|
287 | <xsd:restriction base="xsd:string">
|
---|
288 | <xsd:enumeration value="Normal"/>
|
---|
289 | <xsd:enumeration value="Immutable"/>
|
---|
290 | <xsd:enumeration value="Writethrough"/>
|
---|
291 | </xsd:restriction>
|
---|
292 | </xsd:simpleType>
|
---|
293 | </xsd:attribute>
|
---|
294 | </xsd:extension>
|
---|
295 | </xsd:complexContent>
|
---|
296 | </xsd:complexType>
|
---|
297 |
|
---|
298 | <xsd:complexType name="TImage2">
|
---|
299 | <xsd:sequence>
|
---|
300 | <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
---|
301 | </xsd:sequence>
|
---|
302 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
303 | <xsd:attribute name="location" type="TLocalFile" use="required"/>
|
---|
304 | </xsd:complexType>
|
---|
305 |
|
---|
306 | <xsd:complexType name="TImageRef">
|
---|
307 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
308 | </xsd:complexType>
|
---|
309 |
|
---|
310 | <xsd:complexType name="THostDrive">
|
---|
311 | <xsd:attribute name="src" type="TLocalFile" use="required"/>
|
---|
312 | </xsd:complexType>
|
---|
313 |
|
---|
314 | <xsd:complexType name="TUSBDeviceFilter">
|
---|
315 | <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
|
---|
316 | <xsd:attribute name="active" type="xsd:boolean" use="required"/>
|
---|
317 | <xsd:attribute name="vendorId" type="xsd:token"/>
|
---|
318 | <xsd:attribute name="productId" type="xsd:token"/>
|
---|
319 | <xsd:attribute name="revision" type="xsd:token"/>
|
---|
320 | <xsd:attribute name="manufacturer" type="xsd:token"/>
|
---|
321 | <xsd:attribute name="product" type="xsd:token"/>
|
---|
322 | <xsd:attribute name="serialNumber" type="xsd:token"/>
|
---|
323 | <xsd:attribute name="port" type="xsd:token"/>
|
---|
324 | <xsd:attribute name="remote" type="xsd:token"/>
|
---|
325 | <xsd:attribute name="maskedInterfaces" type="xsd:unsignedInt" default="0"/>
|
---|
326 | </xsd:complexType>
|
---|
327 |
|
---|
328 | <xsd:complexType name="THostUSBDeviceFilter">
|
---|
329 | <xsd:complexContent>
|
---|
330 | <xsd:extension base="TUSBDeviceFilter">
|
---|
331 | <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
|
---|
332 | </xsd:extension>
|
---|
333 | </xsd:complexContent>
|
---|
334 | </xsd:complexType>
|
---|
335 |
|
---|
336 | <xsd:complexType name="TSystemProperties">
|
---|
337 | <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
|
---|
338 | <xsd:attribute name="defaultHardDiskFolder" type="TLocalFile"/>
|
---|
339 | <xsd:attribute name="defaultHardDiskFormat" type="TNonEmptyString"/>
|
---|
340 | <xsd:attribute name="remoteDisplayAuthLibrary" type="TLocalFile"/>
|
---|
341 | <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
|
---|
342 | <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
|
---|
343 | <xsd:attribute name="LogHistoryCount" type="xsd:unsignedInt" default="3"/>
|
---|
344 | </xsd:complexType>
|
---|
345 |
|
---|
346 | <xsd:complexType name="TExtraData">
|
---|
347 | <xsd:sequence>
|
---|
348 | <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
|
---|
349 | <xsd:complexType>
|
---|
350 | <xsd:attribute name="name" type="xsd:token" use="required"/>
|
---|
351 | <xsd:attribute name="value" type="xsd:string" use="required"/>
|
---|
352 | </xsd:complexType>
|
---|
353 | </xsd:element>
|
---|
354 | </xsd:sequence>
|
---|
355 | </xsd:complexType>
|
---|
356 |
|
---|
357 | <xsd:complexType name="TGlobal">
|
---|
358 | <xsd:all>
|
---|
359 | <xsd:element name="MachineRegistry">
|
---|
360 | <xsd:complexType>
|
---|
361 | <xsd:sequence>
|
---|
362 | <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
|
---|
363 | <xsd:complexType>
|
---|
364 | <xsd:attribute name="src" type="TLocalFile" use="required"/>
|
---|
365 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
366 | </xsd:complexType>
|
---|
367 | </xsd:element>
|
---|
368 | </xsd:sequence>
|
---|
369 | </xsd:complexType>
|
---|
370 | </xsd:element>
|
---|
371 | <xsd:element name="MediaRegistry">
|
---|
372 | <xsd:complexType>
|
---|
373 | <xsd:all>
|
---|
374 | <xsd:element name="HardDisks" minOccurs="0">
|
---|
375 | <xsd:complexType>
|
---|
376 | <xsd:sequence>
|
---|
377 | <xsd:element name="HardDisk" type="THardDisk" minOccurs="0" maxOccurs="unbounded"/>
|
---|
378 | </xsd:sequence>
|
---|
379 | </xsd:complexType>
|
---|
380 | </xsd:element>
|
---|
381 | <xsd:element name="DVDImages" minOccurs="0">
|
---|
382 | <xsd:complexType>
|
---|
383 | <xsd:sequence>
|
---|
384 | <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
|
---|
385 | </xsd:sequence>
|
---|
386 | </xsd:complexType>
|
---|
387 | </xsd:element>
|
---|
388 | <xsd:element name="FloppyImages" minOccurs="0">
|
---|
389 | <xsd:complexType>
|
---|
390 | <xsd:sequence>
|
---|
391 | <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
|
---|
392 | </xsd:sequence>
|
---|
393 | </xsd:complexType>
|
---|
394 | </xsd:element>
|
---|
395 | </xsd:all>
|
---|
396 | </xsd:complexType>
|
---|
397 | </xsd:element>
|
---|
398 | <xsd:element name="USBDeviceFilters">
|
---|
399 | <xsd:complexType>
|
---|
400 | <xsd:sequence>
|
---|
401 | <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
|
---|
402 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
403 | </xsd:sequence>
|
---|
404 | </xsd:complexType>
|
---|
405 | </xsd:element>
|
---|
406 | <xsd:element name="SystemProperties" type="TSystemProperties"/>
|
---|
407 | <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
|
---|
408 | </xsd:all>
|
---|
409 | </xsd:complexType>
|
---|
410 |
|
---|
411 | <xsd:complexType name="THWVirtExType">
|
---|
412 | <xsd:attribute name="enabled" type="TTriStateBoolType" default="default"/>
|
---|
413 | </xsd:complexType>
|
---|
414 |
|
---|
415 | <xsd:complexType name="THWVirtExNestedPagingType">
|
---|
416 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
417 | </xsd:complexType>
|
---|
418 |
|
---|
419 | <xsd:complexType name="THWVirtExVPIDType">
|
---|
420 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
421 | </xsd:complexType>
|
---|
422 |
|
---|
423 | <xsd:complexType name="TPAEType">
|
---|
424 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
425 | </xsd:complexType>
|
---|
426 |
|
---|
427 | <xsd:simpleType name="TCPUCount">
|
---|
428 | <xsd:restriction base="xsd:unsignedInt">
|
---|
429 | <xsd:minInclusive value="1"/>
|
---|
430 | <xsd:maxInclusive value="255"/>
|
---|
431 | </xsd:restriction>
|
---|
432 | </xsd:simpleType>
|
---|
433 |
|
---|
434 | <xsd:complexType name="TCPU">
|
---|
435 | <xsd:sequence>
|
---|
436 | <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
|
---|
437 | <xsd:element name="HardwareVirtExNestedPaging" type="THWVirtExNestedPagingType" minOccurs="0"/>
|
---|
438 | <xsd:element name="HardwareVirtExVPID" type="THWVirtExVPIDType" minOccurs="0"/>
|
---|
439 | <xsd:element name="PAE" type="TPAEType" minOccurs="0"/>
|
---|
440 | </xsd:sequence>
|
---|
441 | <xsd:attribute name="count" type="TCPUCount" default="1"/>
|
---|
442 | </xsd:complexType>
|
---|
443 |
|
---|
444 | <xsd:complexType name="TBoot">
|
---|
445 | <xsd:sequence>
|
---|
446 | <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
|
---|
447 | <xsd:complexType>
|
---|
448 | <xsd:attribute name="position" use="required">
|
---|
449 | <xsd:simpleType>
|
---|
450 | <xsd:restriction base="xsd:unsignedInt">
|
---|
451 | <xsd:minInclusive value="1"/>
|
---|
452 | <xsd:maxInclusive value="4"/>
|
---|
453 | </xsd:restriction>
|
---|
454 | </xsd:simpleType>
|
---|
455 | </xsd:attribute>
|
---|
456 | <xsd:attribute name="device" type="TDeviceType" use="required"/>
|
---|
457 | </xsd:complexType>
|
---|
458 | </xsd:element>
|
---|
459 | </xsd:sequence>
|
---|
460 | </xsd:complexType>
|
---|
461 |
|
---|
462 | <xsd:complexType name="TDisplay">
|
---|
463 | <xsd:attribute name="VRAMSize" use="required">
|
---|
464 | <xsd:simpleType>
|
---|
465 | <xsd:restriction base="xsd:unsignedInt">
|
---|
466 | <xsd:minInclusive value="1"/>
|
---|
467 | <xsd:maxInclusive value="128"/>
|
---|
468 | </xsd:restriction>
|
---|
469 | </xsd:simpleType>
|
---|
470 | </xsd:attribute>
|
---|
471 | <xsd:attribute name="monitorCount" default="1">
|
---|
472 | <xsd:simpleType>
|
---|
473 | <xsd:restriction base="xsd:unsignedInt">
|
---|
474 | <xsd:maxInclusive value="8"/>
|
---|
475 | </xsd:restriction>
|
---|
476 | </xsd:simpleType>
|
---|
477 | </xsd:attribute>
|
---|
478 | <xsd:attribute name="accelerate3D" type="xsd:boolean" default="false"/>
|
---|
479 | </xsd:complexType>
|
---|
480 |
|
---|
481 | <xsd:complexType name="TRemoteDisplay">
|
---|
482 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
483 | <xsd:attribute name="port" type="xsd:unsignedInt" default="0"/>
|
---|
484 | <xsd:attribute name="netAddress" type="xsd:token" default=""/>
|
---|
485 | <xsd:attribute name="authType" type="TVRDPAuthType" default="Null"/>
|
---|
486 | <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
|
---|
487 | <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
|
---|
488 | <xsd:attribute name="reuseSingleConnection" type="xsd:boolean" default="false"/>
|
---|
489 | </xsd:complexType>
|
---|
490 |
|
---|
491 | <xsd:complexType name="TBIOS">
|
---|
492 | <xsd:all>
|
---|
493 | <xsd:element name="ACPI">
|
---|
494 | <xsd:complexType>
|
---|
495 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
496 | </xsd:complexType>
|
---|
497 | </xsd:element>
|
---|
498 | <xsd:element name="IOAPIC" minOccurs="0">
|
---|
499 | <xsd:complexType>
|
---|
500 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
501 | </xsd:complexType>
|
---|
502 | </xsd:element>
|
---|
503 | <xsd:element name="Logo" minOccurs="0">
|
---|
504 | <xsd:complexType>
|
---|
505 | <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
|
---|
506 | <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
|
---|
507 | <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
|
---|
508 | <xsd:attribute name="imagePath" type="TLocalFile"/>
|
---|
509 | </xsd:complexType>
|
---|
510 | </xsd:element>
|
---|
511 | <xsd:element name="BootMenu" minOccurs="0">
|
---|
512 | <xsd:complexType>
|
---|
513 | <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="MessageAndMenu"/>
|
---|
514 | </xsd:complexType>
|
---|
515 | </xsd:element>
|
---|
516 | <xsd:element name="TimeOffset" minOccurs="0">
|
---|
517 | <xsd:complexType>
|
---|
518 | <xsd:attribute name="value" type="xsd:integer" default="0"/>
|
---|
519 | </xsd:complexType>
|
---|
520 | </xsd:element>
|
---|
521 | <xsd:element name="PXEDebug" minOccurs="0">
|
---|
522 | <xsd:complexType>
|
---|
523 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
524 | </xsd:complexType>
|
---|
525 | </xsd:element>
|
---|
526 | </xsd:all>
|
---|
527 | </xsd:complexType>
|
---|
528 |
|
---|
529 | <xsd:complexType name="TStorageControllerDevice">
|
---|
530 | <xsd:choice minOccurs="0">
|
---|
531 | <xsd:element name="Image" type="TImageRef"/>
|
---|
532 | <xsd:element name="HostDrive" type="THostDrive"/>
|
---|
533 | </xsd:choice>
|
---|
534 | <xsd:attribute name="type" use="required">
|
---|
535 | <xsd:simpleType>
|
---|
536 | <xsd:restriction base="xsd:token">
|
---|
537 | <xsd:enumeration value="HardDisk"/>
|
---|
538 | <xsd:enumeration value="CD/DVD"/>
|
---|
539 | </xsd:restriction>
|
---|
540 | </xsd:simpleType>
|
---|
541 | </xsd:attribute>
|
---|
542 | <xsd:attribute name="port" type="xsd:unsignedInt" use="required"/>
|
---|
543 | <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
|
---|
544 | </xsd:complexType>
|
---|
545 |
|
---|
546 | <xsd:complexType name="TStorageController">
|
---|
547 | <xsd:sequence>
|
---|
548 | <xsd:element name="AttachedDevice" type="TStorageControllerDevice"
|
---|
549 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
550 | </xsd:sequence>
|
---|
551 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
552 | <xsd:attribute name="type" use="required">
|
---|
553 | <xsd:simpleType>
|
---|
554 | <xsd:restriction base="xsd:token">
|
---|
555 | <xsd:enumeration value="AHCI"/>
|
---|
556 | <xsd:enumeration value="LsiLogic"/>
|
---|
557 | <xsd:enumeration value="BusLogic"/>
|
---|
558 | <xsd:enumeration value="PIIX3"/>
|
---|
559 | <xsd:enumeration value="PIIX4"/>
|
---|
560 | <xsd:enumeration value="ICH6"/>
|
---|
561 | </xsd:restriction>
|
---|
562 | </xsd:simpleType>
|
---|
563 | </xsd:attribute>
|
---|
564 | <xsd:attribute name="PortCount" type="xsd:unsignedInt" use="required"/>
|
---|
565 | <xsd:attribute name="bootable" type="xsd:boolean" use="optional"/>
|
---|
566 | <xsd:attribute name="PCIBus" type="xsd:unsignedInt" use="optional"/>
|
---|
567 | <xsd:attribute name="PCIDevice" type="xsd:unsignedInt" use="optional"/>
|
---|
568 | <xsd:attribute name="PCIFunction" type="xsd:unsignedInt" use="optional"/>
|
---|
569 | <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
|
---|
570 | <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
|
---|
571 | <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
|
---|
572 | <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
|
---|
573 | </xsd:complexType>
|
---|
574 |
|
---|
575 | <xsd:complexType name="TStorageControllers">
|
---|
576 | <xsd:sequence>
|
---|
577 | <xsd:element name="StorageController" type="TStorageController"
|
---|
578 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
579 | </xsd:sequence>
|
---|
580 | </xsd:complexType>
|
---|
581 |
|
---|
582 | <xsd:complexType name="TDVDDrive">
|
---|
583 | <xsd:choice minOccurs="0">
|
---|
584 | <xsd:element name="Image" type="TImageRef"/>
|
---|
585 | <xsd:element name="HostDrive" type="THostDrive"/>
|
---|
586 | </xsd:choice>
|
---|
587 | <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
|
---|
588 | </xsd:complexType>
|
---|
589 |
|
---|
590 | <xsd:complexType name="TFloppyDrive">
|
---|
591 | <xsd:choice minOccurs="0">
|
---|
592 | <xsd:element name="Image" type="TImageRef"/>
|
---|
593 | <xsd:element name="HostDrive" type="THostDrive"/>
|
---|
594 | </xsd:choice>
|
---|
595 | <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
|
---|
596 | </xsd:complexType>
|
---|
597 |
|
---|
598 | <xsd:complexType name="TUSBController">
|
---|
599 | <xsd:sequence>
|
---|
600 | <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
|
---|
601 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
602 | </xsd:sequence>
|
---|
603 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
604 | <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
|
---|
605 | </xsd:complexType>
|
---|
606 |
|
---|
607 | <xsd:complexType name="TAudioAdapterBase">
|
---|
608 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
609 | <xsd:attribute name="controller" default="AC97">
|
---|
610 | <xsd:simpleType>
|
---|
611 | <xsd:restriction base="xsd:token">
|
---|
612 | <xsd:enumeration value="AC97"/>
|
---|
613 | <xsd:enumeration value="SB16"/>
|
---|
614 | </xsd:restriction>
|
---|
615 | </xsd:simpleType>
|
---|
616 | </xsd:attribute>
|
---|
617 | </xsd:complexType>
|
---|
618 |
|
---|
619 | <xsd:complexType name="TNetworkAdapter">
|
---|
620 | <xsd:choice minOccurs="0">
|
---|
621 | <xsd:element name="NAT">
|
---|
622 | <xsd:complexType>
|
---|
623 | <xsd:attribute name="network" type="xsd:string"/>
|
---|
624 | </xsd:complexType>
|
---|
625 | </xsd:element>
|
---|
626 | <xsd:element name="HostInterface">
|
---|
627 | <xsd:complexType>
|
---|
628 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
629 | </xsd:complexType>
|
---|
630 | </xsd:element>
|
---|
631 | <xsd:element name="BridgedInterface">
|
---|
632 | <xsd:complexType>
|
---|
633 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
634 | </xsd:complexType>
|
---|
635 | </xsd:element>
|
---|
636 | <xsd:element name="InternalNetwork">
|
---|
637 | <xsd:complexType>
|
---|
638 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
639 | </xsd:complexType>
|
---|
640 | </xsd:element>
|
---|
641 | <xsd:element name="HostOnlyInterface">
|
---|
642 | <xsd:complexType>
|
---|
643 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
644 | </xsd:complexType>
|
---|
645 | </xsd:element>
|
---|
646 | </xsd:choice>
|
---|
647 | <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
|
---|
648 | <xsd:attribute name="slot" use="required">
|
---|
649 | <xsd:simpleType>
|
---|
650 | <xsd:restriction base="xsd:unsignedInt">
|
---|
651 | <xsd:minInclusive value="0"/>
|
---|
652 | <xsd:maxExclusive value="8"/>
|
---|
653 | </xsd:restriction>
|
---|
654 | </xsd:simpleType>
|
---|
655 | </xsd:attribute>
|
---|
656 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
657 | <xsd:attribute name="MACAddress">
|
---|
658 | <xsd:simpleType>
|
---|
659 | <xsd:restriction base="xsd:hexBinary">
|
---|
660 | <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
|
---|
661 | </xsd:restriction>
|
---|
662 | </xsd:simpleType>
|
---|
663 | </xsd:attribute>
|
---|
664 | <xsd:attribute name="cable" type="xsd:boolean" use="required"/>
|
---|
665 | <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
|
---|
666 | <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
|
---|
667 | <xsd:attribute name="tracefile" type="xsd:string"/>
|
---|
668 | </xsd:complexType>
|
---|
669 |
|
---|
670 | <xsd:complexType name="TNetwork">
|
---|
671 | <xsd:sequence>
|
---|
672 | <xsd:element name="Adapter" type="TNetworkAdapter"
|
---|
673 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
674 | </xsd:sequence>
|
---|
675 | </xsd:complexType>
|
---|
676 |
|
---|
677 | <xsd:complexType name="TUARTPort">
|
---|
678 | <xsd:attribute name="slot" use="required">
|
---|
679 | <xsd:simpleType>
|
---|
680 | <xsd:restriction base="xsd:unsignedInt">
|
---|
681 | <xsd:minInclusive value="0"/>
|
---|
682 | <xsd:maxExclusive value="2"/>
|
---|
683 | </xsd:restriction>
|
---|
684 | </xsd:simpleType>
|
---|
685 | </xsd:attribute>
|
---|
686 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
687 | <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
|
---|
688 | <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
|
---|
689 | <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
|
---|
690 | <xsd:attribute name="path" type="TLocalFile"/>
|
---|
691 | <xsd:attribute name="server" type="xsd:boolean" default="false"/>
|
---|
692 | </xsd:complexType>
|
---|
693 |
|
---|
694 | <xsd:complexType name="TUART">
|
---|
695 | <xsd:sequence>
|
---|
696 | <xsd:element name="Port" type="TUARTPort"
|
---|
697 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
698 | </xsd:sequence>
|
---|
699 | </xsd:complexType>
|
---|
700 |
|
---|
701 | <xsd:complexType name="TLPTPort">
|
---|
702 | <xsd:attribute name="slot" use="required">
|
---|
703 | <xsd:simpleType>
|
---|
704 | <xsd:restriction base="xsd:unsignedInt">
|
---|
705 | <xsd:minInclusive value="0"/>
|
---|
706 | <xsd:maxExclusive value="2"/>
|
---|
707 | </xsd:restriction>
|
---|
708 | </xsd:simpleType>
|
---|
709 | </xsd:attribute>
|
---|
710 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
711 | <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
|
---|
712 | <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
|
---|
713 | <xsd:attribute name="path" type="TLocalFile"/>
|
---|
714 | </xsd:complexType>
|
---|
715 |
|
---|
716 | <xsd:complexType name="TLPT">
|
---|
717 | <xsd:sequence>
|
---|
718 | <xsd:element name="Port" type="TLPTPort"
|
---|
719 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
720 | </xsd:sequence>
|
---|
721 | </xsd:complexType>
|
---|
722 |
|
---|
723 | <xsd:complexType name="TSharedFolder">
|
---|
724 | <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
|
---|
725 | <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
|
---|
726 | <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
|
---|
727 | </xsd:complexType>
|
---|
728 |
|
---|
729 | <xsd:complexType name="TSharedFolders">
|
---|
730 | <xsd:sequence>
|
---|
731 | <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
|
---|
732 | </xsd:sequence>
|
---|
733 | </xsd:complexType>
|
---|
734 |
|
---|
735 | <xsd:complexType name="TClipboard">
|
---|
736 | <xsd:attribute name="mode" type="TClipboardMode" use="required"/>
|
---|
737 | </xsd:complexType>
|
---|
738 |
|
---|
739 | <xsd:complexType name="TGuest">
|
---|
740 | <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
|
---|
741 | <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
|
---|
742 | </xsd:complexType>
|
---|
743 |
|
---|
744 | <xsd:complexType name="TGuestProperty">
|
---|
745 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
746 | <xsd:attribute name="value" type="xsd:string" use="required"/>
|
---|
747 | <xsd:attribute name="timestamp" type="xsd:unsignedLong" default="0"/>
|
---|
748 | <xsd:attribute name="flags" type="xsd:string" default=""/>
|
---|
749 | </xsd:complexType>
|
---|
750 |
|
---|
751 | <xsd:complexType name="TGuestProperties">
|
---|
752 | <xsd:sequence>
|
---|
753 | <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
|
---|
754 | </xsd:sequence>
|
---|
755 | <xsd:attribute name="notificationPatterns" type="xsd:string" default=""/>
|
---|
756 | </xsd:complexType>
|
---|
757 |
|
---|
758 | <xsd:complexType name="THardware">
|
---|
759 | <xsd:all>
|
---|
760 | <xsd:element name="CPU" type="TCPU" minOccurs="0"/>
|
---|
761 | <xsd:element name="Memory" type="TMemory"/>
|
---|
762 | <xsd:element name="Boot" type="TBoot">
|
---|
763 | <xsd:unique name="THardware-Boot-Order">
|
---|
764 | <xsd:selector xpath="vb:Order"/>
|
---|
765 | <xsd:field xpath="@position"/>
|
---|
766 | </xsd:unique>
|
---|
767 | </xsd:element>
|
---|
768 | <xsd:element name="Display" type="TDisplay"/>
|
---|
769 | <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
|
---|
770 | <xsd:element name="BIOS" type="TBIOS"/>
|
---|
771 | <xsd:element name="DVDDrive" type="TDVDDrive"/>
|
---|
772 | <xsd:element name="FloppyDrive" type="TFloppyDrive"/>
|
---|
773 | <xsd:element name="USBController" type="TUSBController"/>
|
---|
774 | <xsd:element name="Network" type="TNetwork">
|
---|
775 | <xsd:unique name="THardware-Network-Adapter">
|
---|
776 | <xsd:selector xpath="vb:Adapter"/>
|
---|
777 | <xsd:field xpath="@slot"/>
|
---|
778 | </xsd:unique>
|
---|
779 | </xsd:element>
|
---|
780 | <xsd:element name="UART" type="TUART">
|
---|
781 | <xsd:unique name="THardware-UART-Port">
|
---|
782 | <xsd:selector xpath="vb:Port"/>
|
---|
783 | <xsd:field xpath="@slot"/>
|
---|
784 | </xsd:unique>
|
---|
785 | </xsd:element>
|
---|
786 | <xsd:element name="LPT" type="TLPT">
|
---|
787 | <xsd:unique name="THardware-LPT-Port">
|
---|
788 | <xsd:selector xpath="vb:Port"/>
|
---|
789 | <xsd:field xpath="@slot"/>
|
---|
790 | </xsd:unique>
|
---|
791 | </xsd:element>
|
---|
792 | <xsd:element name="AudioAdapter" type="TAudioAdapter"/>
|
---|
793 | <xsd:element name="SharedFolders" type="TSharedFolders">
|
---|
794 | <xsd:unique name="THardware-SharedFolders-SharedFolder">
|
---|
795 | <xsd:selector xpath="vb:SharedFolder"/>
|
---|
796 | <xsd:field xpath="@name"/>
|
---|
797 | </xsd:unique>
|
---|
798 | </xsd:element>
|
---|
799 | <xsd:element name="Clipboard" type="TClipboard"/>
|
---|
800 | <xsd:element name="Guest" type="TGuest"/>
|
---|
801 | <xsd:element name="GuestProperties" type="TGuestProperties" minOccurs="0">
|
---|
802 | <xsd:unique name="THardware-GuestProperties-GuestProperty">
|
---|
803 | <xsd:selector xpath="vb:GuestProperty"/>
|
---|
804 | <xsd:field xpath="@name"/>
|
---|
805 | </xsd:unique>
|
---|
806 | </xsd:element>
|
---|
807 | </xsd:all>
|
---|
808 | <xsd:attribute name="version" type="xsd:string" default="2"/>
|
---|
809 | </xsd:complexType>
|
---|
810 |
|
---|
811 | <xsd:complexType name="TMachine">
|
---|
812 | <xsd:all>
|
---|
813 | <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
---|
814 | <xsd:element name="Hardware" type="THardware"/>
|
---|
815 | <xsd:element name="StorageControllers" type="TStorageControllers"/>
|
---|
816 | <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
|
---|
817 | <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
|
---|
818 | </xsd:all>
|
---|
819 | <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
|
---|
820 | <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
|
---|
821 | <xsd:attribute name="OSType" type="TGuestOSType" use="required"/>
|
---|
822 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
823 | <xsd:attribute name="stateFile" type="TLocalFile"/>
|
---|
824 | <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
|
---|
825 | <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
|
---|
826 | <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
|
---|
827 | <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
|
---|
828 | <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
|
---|
829 | </xsd:complexType>
|
---|
830 |
|
---|
831 | <xsd:complexType name="TSnapshot">
|
---|
832 | <xsd:all>
|
---|
833 | <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
---|
834 | <xsd:element name="Hardware" type="THardware"/>
|
---|
835 | <xsd:element name="StorageControllers" type="TStorageControllers"/>
|
---|
836 | <xsd:element name="Snapshots" minOccurs="0">
|
---|
837 | <xsd:complexType>
|
---|
838 | <xsd:sequence>
|
---|
839 | <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
|
---|
840 | </xsd:sequence>
|
---|
841 | </xsd:complexType>
|
---|
842 | </xsd:element>
|
---|
843 | </xsd:all>
|
---|
844 | <xsd:attribute name="name" type="xsd:token" use="required"/>
|
---|
845 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
846 | <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
|
---|
847 | <xsd:attribute name="stateFile" type="TLocalFile"/>
|
---|
848 | </xsd:complexType>
|
---|
849 |
|
---|
850 | <xsd:complexType name="TVirtualBox" abstract="true">
|
---|
851 | <xsd:choice>
|
---|
852 | <xsd:element name="Global" type="TGlobal"/>
|
---|
853 | <xsd:element name="Machine" type="TMachine">
|
---|
854 | <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
|
---|
855 | <xsd:key name="snapshot">
|
---|
856 | <xsd:selector xpath=".//vb:Snapshot"/>
|
---|
857 | <xsd:field xpath="@uuid"/>
|
---|
858 | </xsd:key>
|
---|
859 | <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
|
---|
860 | <xsd:selector xpath="."/>
|
---|
861 | <xsd:field xpath="@currentSnapshot"/>
|
---|
862 | </xsd:keyref>
|
---|
863 | </xsd:element>
|
---|
864 | </xsd:choice>
|
---|
865 | </xsd:complexType>
|
---|
866 |
|
---|
867 | </xsd:schema>
|
---|