1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | * :tabSize=2:indentSize=2:noTabs=true:
|
---|
4 | * :folding=explicit:collapseFolds=1:
|
---|
5 | *
|
---|
6 | * innotek VirtualBox Settings Schema
|
---|
7 | * Common definitions
|
---|
8 |
|
---|
9 | Copyright (C) 2004-2007 innotek GmbH
|
---|
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 |
|
---|
20 | <xsd:schema
|
---|
21 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
---|
22 | xmlns="http://www.innotek.de/VirtualBox-settings"
|
---|
23 | xmlns:vb="http://www.innotek.de/VirtualBox-settings"
|
---|
24 | targetNamespace="http://www.innotek.de/VirtualBox-settings"
|
---|
25 | elementFormDefault="qualified"
|
---|
26 | >
|
---|
27 |
|
---|
28 | <xsd:annotation>
|
---|
29 | <xsd:documentation xml:lang="en">
|
---|
30 | innotek VirtualBox Settings Schema (common definitions).
|
---|
31 | Copyright (c) 2004-2007 innotek GmbH.
|
---|
32 | </xsd:documentation>
|
---|
33 | </xsd:annotation>
|
---|
34 |
|
---|
35 | <!--
|
---|
36 | // Simple types
|
---|
37 | /////////////////////////////////////////////////////////////////////////
|
---|
38 | -->
|
---|
39 |
|
---|
40 | <xsd:simpleType name="TUUID">
|
---|
41 | <xsd:restriction base="xsd:token">
|
---|
42 | <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}\}"/>
|
---|
43 | </xsd:restriction>
|
---|
44 | </xsd:simpleType>
|
---|
45 |
|
---|
46 | <xsd:simpleType name="TNonNullUUID">
|
---|
47 | <xsd:restriction base="TUUID">
|
---|
48 | <xsd:pattern value=".*[1-9A-Fa-f]+.*"/>
|
---|
49 | </xsd:restriction>
|
---|
50 | </xsd:simpleType>
|
---|
51 |
|
---|
52 | <xsd:simpleType name="TUInt8">
|
---|
53 | <xsd:union>
|
---|
54 | <xsd:simpleType>
|
---|
55 | <xsd:restriction base="xsd:unsignedByte">
|
---|
56 | </xsd:restriction>
|
---|
57 | </xsd:simpleType>
|
---|
58 | <xsd:simpleType>
|
---|
59 | <xsd:restriction base="xsd:string">
|
---|
60 | <xsd:pattern value="0[xX][A-Fa-f0-9]{1,2}"/>
|
---|
61 | </xsd:restriction>
|
---|
62 | </xsd:simpleType>
|
---|
63 | </xsd:union>
|
---|
64 | </xsd:simpleType>
|
---|
65 |
|
---|
66 | <xsd:simpleType name="TUInt16">
|
---|
67 | <xsd:union>
|
---|
68 | <xsd:simpleType>
|
---|
69 | <xsd:restriction base="xsd:unsignedShort">
|
---|
70 | </xsd:restriction>
|
---|
71 | </xsd:simpleType>
|
---|
72 | <xsd:simpleType>
|
---|
73 | <xsd:restriction base="xsd:string">
|
---|
74 | <xsd:pattern value="0[xX][A-Fa-f0-9]{1,4}"/>
|
---|
75 | </xsd:restriction>
|
---|
76 | </xsd:simpleType>
|
---|
77 | </xsd:union>
|
---|
78 | </xsd:simpleType>
|
---|
79 |
|
---|
80 | <xsd:simpleType name="TUInt64Hex">
|
---|
81 | <xsd:restriction base="xsd:string">
|
---|
82 | <xsd:pattern value="0x[A-Fa-f0-9]{1,16}"/>
|
---|
83 | </xsd:restriction>
|
---|
84 | </xsd:simpleType>
|
---|
85 |
|
---|
86 | <xsd:simpleType name="TLocalFile">
|
---|
87 | <xsd:restriction base="xsd:string">
|
---|
88 | <xsd:pattern value=".+"/>
|
---|
89 | </xsd:restriction>
|
---|
90 | </xsd:simpleType>
|
---|
91 |
|
---|
92 | <xsd:simpleType name="TDiskType">
|
---|
93 | <xsd:restriction base="xsd:token">
|
---|
94 | <xsd:enumeration value="HD"/>
|
---|
95 | <xsd:enumeration value="DVD"/>
|
---|
96 | <xsd:enumeration value="FD"/>
|
---|
97 | </xsd:restriction>
|
---|
98 | </xsd:simpleType>
|
---|
99 |
|
---|
100 | <xsd:simpleType name="TDeviceType">
|
---|
101 | <xsd:restriction base="xsd:token">
|
---|
102 | <xsd:enumeration value="None"/>
|
---|
103 | <xsd:enumeration value="Floppy"/>
|
---|
104 | <xsd:enumeration value="DVD"/>
|
---|
105 | <xsd:enumeration value="HardDisk"/>
|
---|
106 | <xsd:enumeration value="Network"/>
|
---|
107 | </xsd:restriction>
|
---|
108 | </xsd:simpleType>
|
---|
109 |
|
---|
110 | <xsd:simpleType name="TUSBDeviceFilterAction">
|
---|
111 | <xsd:restriction base="xsd:token">
|
---|
112 | <xsd:enumeration value="Ignore"/>
|
---|
113 | <xsd:enumeration value="Hold"/>
|
---|
114 | </xsd:restriction>
|
---|
115 | </xsd:simpleType>
|
---|
116 |
|
---|
117 | <xsd:simpleType name="TNonEmptyString">
|
---|
118 | <xsd:restriction base="xsd:string">
|
---|
119 | <xsd:pattern value=".+"/>
|
---|
120 | </xsd:restriction>
|
---|
121 | </xsd:simpleType>
|
---|
122 |
|
---|
123 | <xsd:simpleType name="TPresentDateTimeUTC">
|
---|
124 | <xsd:restriction base="xsd:dateTime">
|
---|
125 | <xsd:minInclusive value="1900-01-01T00:00:00Z"/>
|
---|
126 | <xsd:maxInclusive value="199999999-12-31T23:59:59Z"/>
|
---|
127 | <xsd:pattern value=".+-.+-.+T.+:.+:[0-9]{2}Z"/>
|
---|
128 | </xsd:restriction>
|
---|
129 | </xsd:simpleType>
|
---|
130 |
|
---|
131 | <xsd:simpleType name="TGuestOSType">
|
---|
132 | <xsd:restriction base="xsd:string">
|
---|
133 | <!-- @todo on next format change, rename dos to DOS, win2k3 to Win2003 and
|
---|
134 | so on. Possibly also use prefixes that determine the platform family:
|
---|
135 | Win_31, Win_Vista, Linux_ArchLinux, Unix_FreeBSD and so on. -->
|
---|
136 | <xsd:enumeration value="unknown"/>
|
---|
137 | <xsd:enumeration value="dos"/>
|
---|
138 | <xsd:enumeration value="win31"/>
|
---|
139 | <xsd:enumeration value="win95"/>
|
---|
140 | <xsd:enumeration value="win98"/>
|
---|
141 | <xsd:enumeration value="winme"/>
|
---|
142 | <xsd:enumeration value="winnt4"/>
|
---|
143 | <xsd:enumeration value="win2k"/>
|
---|
144 | <xsd:enumeration value="winxp"/>
|
---|
145 | <xsd:enumeration value="win2k3"/>
|
---|
146 | <xsd:enumeration value="winvista"/>
|
---|
147 | <xsd:enumeration value="win2k8"/>
|
---|
148 | <xsd:enumeration value="os2warp3"/>
|
---|
149 | <xsd:enumeration value="os2warp4"/>
|
---|
150 | <xsd:enumeration value="os2warp45"/>
|
---|
151 | <xsd:enumeration value="ecs"/>
|
---|
152 | <xsd:enumeration value="linux22"/>
|
---|
153 | <xsd:enumeration value="linux24"/>
|
---|
154 | <xsd:enumeration value="linux26"/>
|
---|
155 | <xsd:enumeration value="archlinux"/>
|
---|
156 | <xsd:enumeration value="debian"/>
|
---|
157 | <xsd:enumeration value="opensuse"/>
|
---|
158 | <xsd:enumeration value="fedoracore"/>
|
---|
159 | <xsd:enumeration value="gentoo"/>
|
---|
160 | <xsd:enumeration value="mandriva"/>
|
---|
161 | <xsd:enumeration value="redhat"/>
|
---|
162 | <xsd:enumeration value="ubuntu"/>
|
---|
163 | <xsd:enumeration value="xandros"/>
|
---|
164 | <xsd:enumeration value="freebsd"/>
|
---|
165 | <xsd:enumeration value="openbsd"/>
|
---|
166 | <xsd:enumeration value="netbsd"/>
|
---|
167 | <xsd:enumeration value="netware"/>
|
---|
168 | <xsd:enumeration value="solaris"/>
|
---|
169 | <xsd:enumeration value="l4"/>
|
---|
170 | </xsd:restriction>
|
---|
171 | </xsd:simpleType>
|
---|
172 |
|
---|
173 | <xsd:simpleType name="TVRDPAuthType">
|
---|
174 | <xsd:restriction base="xsd:string">
|
---|
175 | <xsd:enumeration value="Null"/>
|
---|
176 | <xsd:enumeration value="Guest"/>
|
---|
177 | <xsd:enumeration value="External"/>
|
---|
178 | </xsd:restriction>
|
---|
179 | </xsd:simpleType>
|
---|
180 |
|
---|
181 | <xsd:simpleType name="TNetworkAdapterType">
|
---|
182 | <xsd:restriction base="xsd:string">
|
---|
183 | <xsd:enumeration value="Am79C970A"/>
|
---|
184 | <xsd:enumeration value="Am79C973"/>
|
---|
185 | <xsd:enumeration value="82540EM"/>
|
---|
186 | </xsd:restriction>
|
---|
187 | </xsd:simpleType>
|
---|
188 |
|
---|
189 | <xsd:simpleType name="TTriStateBoolType">
|
---|
190 | <xsd:restriction base="xsd:string">
|
---|
191 | <xsd:enumeration value="false"/>
|
---|
192 | <xsd:enumeration value="true"/>
|
---|
193 | <xsd:enumeration value="default"/>
|
---|
194 | </xsd:restriction>
|
---|
195 | </xsd:simpleType>
|
---|
196 |
|
---|
197 | <xsd:simpleType name="TBIOSBootMenuModeType">
|
---|
198 | <xsd:restriction base="xsd:string">
|
---|
199 | <xsd:enumeration value="Disabled"/>
|
---|
200 | <xsd:enumeration value="MenuOnly"/>
|
---|
201 | <xsd:enumeration value="MessageAndMenu"/>
|
---|
202 | </xsd:restriction>
|
---|
203 | </xsd:simpleType>
|
---|
204 |
|
---|
205 | <xsd:simpleType name="TIDEControllerType">
|
---|
206 | <xsd:restriction base="xsd:string">
|
---|
207 | <xsd:enumeration value="PIIX3"/>
|
---|
208 | <xsd:enumeration value="PIIX4"/>
|
---|
209 | </xsd:restriction>
|
---|
210 | </xsd:simpleType>
|
---|
211 |
|
---|
212 | <xsd:simpleType name="TClipboardMode">
|
---|
213 | <xsd:restriction base="xsd:string">
|
---|
214 | <xsd:enumeration value="Disabled"/>
|
---|
215 | <xsd:enumeration value="HostToGuest"/>
|
---|
216 | <xsd:enumeration value="GuestToHost"/>
|
---|
217 | <xsd:enumeration value="Bidirectional"/>
|
---|
218 | </xsd:restriction>
|
---|
219 | </xsd:simpleType>
|
---|
220 |
|
---|
221 | <xsd:simpleType name="TPortMode">
|
---|
222 | <xsd:restriction base="xsd:string">
|
---|
223 | <xsd:enumeration value="Disconnected"/>
|
---|
224 | <xsd:enumeration value="HostPipe"/>
|
---|
225 | <xsd:enumeration value="HostDevice"/>
|
---|
226 | </xsd:restriction>
|
---|
227 | </xsd:simpleType>
|
---|
228 |
|
---|
229 | <!--
|
---|
230 | // Complex types
|
---|
231 | /////////////////////////////////////////////////////////////////////////
|
---|
232 | -->
|
---|
233 |
|
---|
234 | <xsd:complexType name="TImage">
|
---|
235 | <xsd:attribute name="src" type="TLocalFile" use="required"/>
|
---|
236 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
237 | </xsd:complexType>
|
---|
238 |
|
---|
239 | <xsd:complexType name="TVirtualDiskImage">
|
---|
240 | <xsd:attribute name="filePath" type="TLocalFile" use="required"/>
|
---|
241 | </xsd:complexType>
|
---|
242 |
|
---|
243 | <xsd:complexType name="TDiffHardDisk">
|
---|
244 | <xsd:sequence>
|
---|
245 | <xsd:element name="VirtualDiskImage" type="TVirtualDiskImage"/>
|
---|
246 | <xsd:element name="DiffHardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
|
---|
247 | </xsd:sequence>
|
---|
248 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
249 | </xsd:complexType>
|
---|
250 |
|
---|
251 | <xsd:complexType name="THardDisk">
|
---|
252 | <xsd:sequence>
|
---|
253 | <xsd:choice>
|
---|
254 | <xsd:element name="VirtualDiskImage" type="TVirtualDiskImage"/>
|
---|
255 | <xsd:element name="ISCSIHardDisk">
|
---|
256 | <xsd:complexType>
|
---|
257 | <xsd:attribute name="server" type="xsd:token" use="required"/>
|
---|
258 | <xsd:attribute name="port" type="xsd:unsignedShort" default="0"/>
|
---|
259 | <xsd:attribute name="target" type="xsd:token" use="required"/>
|
---|
260 | <xsd:attribute name="lun" type="TUInt64Hex" default="0x0"/>
|
---|
261 | <xsd:attribute name="userName" type="xsd:token"/>
|
---|
262 | <xsd:attribute name="password" type="xsd:token"/>
|
---|
263 | </xsd:complexType>
|
---|
264 | </xsd:element>
|
---|
265 | <xsd:element name="VMDKImage">
|
---|
266 | <xsd:complexType>
|
---|
267 | <xsd:attribute name="filePath" type="TLocalFile" use="required"/>
|
---|
268 | </xsd:complexType>
|
---|
269 | </xsd:element>
|
---|
270 | <xsd:element name="PhysicalVolume">
|
---|
271 | <xsd:complexType>
|
---|
272 | <xsd:attribute name="path" type="TLocalFile" use="required"/>
|
---|
273 | </xsd:complexType>
|
---|
274 | </xsd:element>
|
---|
275 | <xsd:element name="CustomHardDisk">
|
---|
276 | <xsd:complexType>
|
---|
277 | <xsd:attribute name="location" type="TLocalFile" use="required"/>
|
---|
278 | <xsd:attribute name="format" type="xsd:string" use="required"/>
|
---|
279 | </xsd:complexType>
|
---|
280 | </xsd:element>
|
---|
281 | <xsd:element name="VHDImage">
|
---|
282 | <xsd:complexType>
|
---|
283 | <xsd:attribute name="filePath" type="TLocalFile" use="required"/>
|
---|
284 | </xsd:complexType>
|
---|
285 | </xsd:element>
|
---|
286 | </xsd:choice>
|
---|
287 | <xsd:element name="DiffHardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
|
---|
288 | </xsd:sequence>
|
---|
289 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
290 | <xsd:attribute name="type" use="required">
|
---|
291 | <xsd:simpleType>
|
---|
292 | <xsd:restriction base="xsd:string">
|
---|
293 | <xsd:enumeration value="normal"/>
|
---|
294 | <xsd:enumeration value="immutable"/>
|
---|
295 | <xsd:enumeration value="writethrough"/>
|
---|
296 | </xsd:restriction>
|
---|
297 | </xsd:simpleType>
|
---|
298 | </xsd:attribute>
|
---|
299 | </xsd:complexType>
|
---|
300 |
|
---|
301 | <xsd:complexType name="TImageRef">
|
---|
302 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
303 | </xsd:complexType>
|
---|
304 |
|
---|
305 | <xsd:complexType name="THostDrive">
|
---|
306 | <xsd:attribute name="src" type="TLocalFile" use="required"/>
|
---|
307 | </xsd:complexType>
|
---|
308 |
|
---|
309 | <xsd:complexType name="TUSBDeviceFilter">
|
---|
310 | <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
|
---|
311 | <xsd:attribute name="active" type="xsd:boolean" use="required"/>
|
---|
312 | <xsd:attribute name="vendorId" type="xsd:token"/>
|
---|
313 | <xsd:attribute name="productId" type="xsd:token"/>
|
---|
314 | <xsd:attribute name="revision" type="xsd:token"/>
|
---|
315 | <xsd:attribute name="manufacturer" type="xsd:token"/>
|
---|
316 | <xsd:attribute name="product" type="xsd:token"/>
|
---|
317 | <xsd:attribute name="serialNumber" type="xsd:token"/>
|
---|
318 | <xsd:attribute name="port" type="xsd:token"/>
|
---|
319 | <xsd:attribute name="remote" type="xsd:token"/>
|
---|
320 | <xsd:attribute name="maskedInterfaces" type="xsd:unsignedInt" default="0"/>
|
---|
321 | </xsd:complexType>
|
---|
322 |
|
---|
323 | <xsd:complexType name="THostUSBDeviceFilter">
|
---|
324 | <xsd:complexContent>
|
---|
325 | <xsd:extension base="TUSBDeviceFilter">
|
---|
326 | <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
|
---|
327 | </xsd:extension>
|
---|
328 | </xsd:complexContent>
|
---|
329 | </xsd:complexType>
|
---|
330 |
|
---|
331 | <xsd:complexType name="TSystemProperties">
|
---|
332 | <xsd:attribute name="defaultVDIFolder" type="TLocalFile"/>
|
---|
333 | <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
|
---|
334 | <xsd:attribute name="remoteDisplayAuthLibrary" type="TLocalFile"/>
|
---|
335 | <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
|
---|
336 | <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
|
---|
337 | <xsd:attribute name="LogHistoryCount" type="xsd:unsignedInt" default="3"/>
|
---|
338 | </xsd:complexType>
|
---|
339 |
|
---|
340 | <xsd:complexType name="TExtraData">
|
---|
341 | <xsd:sequence>
|
---|
342 | <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
|
---|
343 | <xsd:complexType>
|
---|
344 | <xsd:attribute name="name" type="xsd:token" use="required"/>
|
---|
345 | <xsd:attribute name="value" type="xsd:string" use="required"/>
|
---|
346 | </xsd:complexType>
|
---|
347 | </xsd:element>
|
---|
348 | </xsd:sequence>
|
---|
349 | </xsd:complexType>
|
---|
350 |
|
---|
351 | <xsd:complexType name="TGlobal">
|
---|
352 | <xsd:all>
|
---|
353 | <xsd:element name="MachineRegistry">
|
---|
354 | <xsd:complexType>
|
---|
355 | <xsd:sequence>
|
---|
356 | <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
|
---|
357 | <xsd:complexType>
|
---|
358 | <xsd:attribute name="src" type="TLocalFile" use="required"/>
|
---|
359 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
360 | </xsd:complexType>
|
---|
361 | </xsd:element>
|
---|
362 | </xsd:sequence>
|
---|
363 | </xsd:complexType>
|
---|
364 | </xsd:element>
|
---|
365 | <xsd:element name="DiskRegistry">
|
---|
366 | <xsd:complexType>
|
---|
367 | <xsd:all>
|
---|
368 | <xsd:element name="HardDisks" minOccurs="0">
|
---|
369 | <xsd:complexType>
|
---|
370 | <xsd:sequence>
|
---|
371 | <xsd:element name="HardDisk" type="THardDisk" minOccurs="0" maxOccurs="unbounded"/>
|
---|
372 | </xsd:sequence>
|
---|
373 | </xsd:complexType>
|
---|
374 | </xsd:element>
|
---|
375 | <xsd:element name="DVDImages" minOccurs="0">
|
---|
376 | <xsd:complexType>
|
---|
377 | <xsd:sequence>
|
---|
378 | <xsd:element name="Image" type="TImage" minOccurs="0" maxOccurs="unbounded"/>
|
---|
379 | </xsd:sequence>
|
---|
380 | </xsd:complexType>
|
---|
381 | </xsd:element>
|
---|
382 | <xsd:element name="FloppyImages" minOccurs="0">
|
---|
383 | <xsd:complexType>
|
---|
384 | <xsd:sequence>
|
---|
385 | <xsd:element name="Image" type="TImage" minOccurs="0" maxOccurs="unbounded"/>
|
---|
386 | </xsd:sequence>
|
---|
387 | </xsd:complexType>
|
---|
388 | </xsd:element>
|
---|
389 | </xsd:all>
|
---|
390 | </xsd:complexType>
|
---|
391 | </xsd:element>
|
---|
392 | <xsd:element name="USBDeviceFilters">
|
---|
393 | <xsd:complexType>
|
---|
394 | <xsd:sequence>
|
---|
395 | <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
|
---|
396 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
397 | </xsd:sequence>
|
---|
398 | </xsd:complexType>
|
---|
399 | </xsd:element>
|
---|
400 | <xsd:element name="SystemProperties" type="TSystemProperties"/>
|
---|
401 | <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
|
---|
402 | </xsd:all>
|
---|
403 | </xsd:complexType>
|
---|
404 |
|
---|
405 | <xsd:complexType name="THWVirtExType">
|
---|
406 | <xsd:attribute name="enabled" type="TTriStateBoolType" default="default"/>
|
---|
407 | </xsd:complexType>
|
---|
408 |
|
---|
409 | <xsd:complexType name="TCPU">
|
---|
410 | <xsd:sequence>
|
---|
411 | <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
|
---|
412 | </xsd:sequence>
|
---|
413 | </xsd:complexType>
|
---|
414 |
|
---|
415 | <xsd:complexType name="TBoot">
|
---|
416 | <xsd:sequence>
|
---|
417 | <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
|
---|
418 | <xsd:complexType>
|
---|
419 | <xsd:attribute name="position" use="required">
|
---|
420 | <xsd:simpleType>
|
---|
421 | <xsd:restriction base="xsd:unsignedInt">
|
---|
422 | <xsd:minInclusive value="1"/>
|
---|
423 | <xsd:maxInclusive value="4"/>
|
---|
424 | </xsd:restriction>
|
---|
425 | </xsd:simpleType>
|
---|
426 | </xsd:attribute>
|
---|
427 | <xsd:attribute name="device" type="TDeviceType" use="required"/>
|
---|
428 | </xsd:complexType>
|
---|
429 | </xsd:element>
|
---|
430 | </xsd:sequence>
|
---|
431 | </xsd:complexType>
|
---|
432 |
|
---|
433 | <xsd:complexType name="TDisplay">
|
---|
434 | <xsd:attribute name="VRAMSize" use="required">
|
---|
435 | <xsd:simpleType>
|
---|
436 | <xsd:restriction base="xsd:unsignedInt">
|
---|
437 | <xsd:minInclusive value="1"/>
|
---|
438 | <xsd:maxInclusive value="128"/>
|
---|
439 | </xsd:restriction>
|
---|
440 | </xsd:simpleType>
|
---|
441 | </xsd:attribute>
|
---|
442 | <xsd:attribute name="MonitorCount" default="1">
|
---|
443 | <xsd:simpleType>
|
---|
444 | <xsd:restriction base="xsd:unsignedInt">
|
---|
445 | <xsd:maxInclusive value="8"/>
|
---|
446 | </xsd:restriction>
|
---|
447 | </xsd:simpleType>
|
---|
448 | </xsd:attribute>
|
---|
449 | </xsd:complexType>
|
---|
450 |
|
---|
451 | <xsd:complexType name="TRemoteDisplay">
|
---|
452 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
453 | <xsd:attribute name="port" type="xsd:unsignedInt" default="0"/>
|
---|
454 | <xsd:attribute name="netAddress" type="xsd:token" default=""/>
|
---|
455 | <xsd:attribute name="authType" type="TVRDPAuthType" default="Null"/>
|
---|
456 | <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
|
---|
457 | <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
|
---|
458 | </xsd:complexType>
|
---|
459 |
|
---|
460 | <xsd:complexType name="TBIOS">
|
---|
461 | <xsd:all>
|
---|
462 | <xsd:element name="ACPI">
|
---|
463 | <xsd:complexType>
|
---|
464 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
465 | </xsd:complexType>
|
---|
466 | </xsd:element>
|
---|
467 | <xsd:element name="IOAPIC" minOccurs="0">
|
---|
468 | <xsd:complexType>
|
---|
469 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
470 | </xsd:complexType>
|
---|
471 | </xsd:element>
|
---|
472 | <xsd:element name="Logo" minOccurs="0">
|
---|
473 | <xsd:complexType>
|
---|
474 | <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
|
---|
475 | <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
|
---|
476 | <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
|
---|
477 | <xsd:attribute name="imagePath" type="TLocalFile"/>
|
---|
478 | </xsd:complexType>
|
---|
479 | </xsd:element>
|
---|
480 | <xsd:element name="BootMenu" minOccurs="0">
|
---|
481 | <xsd:complexType>
|
---|
482 | <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="MessageAndMenu"/>
|
---|
483 | </xsd:complexType>
|
---|
484 | </xsd:element>
|
---|
485 | <xsd:element name="TimeOffset" minOccurs="0">
|
---|
486 | <xsd:complexType>
|
---|
487 | <xsd:attribute name="value" type="xsd:integer" default="0"/>
|
---|
488 | </xsd:complexType>
|
---|
489 | </xsd:element>
|
---|
490 | <xsd:element name="PXEDebug" minOccurs="0">
|
---|
491 | <xsd:complexType>
|
---|
492 | <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
|
---|
493 | </xsd:complexType>
|
---|
494 | </xsd:element>
|
---|
495 | <xsd:element name="IDEController" minOccurs="0">
|
---|
496 | <xsd:complexType>
|
---|
497 | <xsd:attribute name="type" use="required" type="TIDEControllerType"/>
|
---|
498 | </xsd:complexType>
|
---|
499 | </xsd:element>
|
---|
500 | </xsd:all>
|
---|
501 | </xsd:complexType>
|
---|
502 |
|
---|
503 | <xsd:complexType name="THardDiskAttachment">
|
---|
504 | <xsd:attribute name="hardDisk" type="TNonNullUUID" use="required"/>
|
---|
505 | <xsd:attribute name="bus" use="required">
|
---|
506 | <xsd:simpleType>
|
---|
507 | <xsd:restriction base="xsd:token">
|
---|
508 | <xsd:enumeration value="IDE"/>
|
---|
509 | <xsd:enumeration value="SATA"/>
|
---|
510 | </xsd:restriction>
|
---|
511 | </xsd:simpleType>
|
---|
512 | </xsd:attribute>
|
---|
513 | <xsd:attribute name="channel" type="xsd:unsignedInt" use="required"/>
|
---|
514 | <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
|
---|
515 | </xsd:complexType>
|
---|
516 |
|
---|
517 | <xsd:complexType name="THardDiskAttachments">
|
---|
518 | <xsd:sequence>
|
---|
519 | <xsd:element name="HardDiskAttachment" type="THardDiskAttachment"
|
---|
520 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
521 | </xsd:sequence>
|
---|
522 | </xsd:complexType>
|
---|
523 |
|
---|
524 | <xsd:complexType name="TDVDDrive">
|
---|
525 | <xsd:choice minOccurs="0">
|
---|
526 | <xsd:element name="Image" type="TImageRef"/>
|
---|
527 | <xsd:element name="HostDrive" type="THostDrive"/>
|
---|
528 | </xsd:choice>
|
---|
529 | <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
|
---|
530 | </xsd:complexType>
|
---|
531 |
|
---|
532 | <xsd:complexType name="TFloppyDrive">
|
---|
533 | <xsd:choice minOccurs="0">
|
---|
534 | <xsd:element name="Image" type="TImageRef"/>
|
---|
535 | <xsd:element name="HostDrive" type="THostDrive"/>
|
---|
536 | </xsd:choice>
|
---|
537 | <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
|
---|
538 | </xsd:complexType>
|
---|
539 |
|
---|
540 | <xsd:complexType name="TUSBController">
|
---|
541 | <xsd:sequence>
|
---|
542 | <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
|
---|
543 | minOccurs="0" maxOccurs="unbounded"/>
|
---|
544 | </xsd:sequence>
|
---|
545 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
546 | <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
|
---|
547 | </xsd:complexType>
|
---|
548 |
|
---|
549 | <xsd:complexType name="TAudioAdapterBase">
|
---|
550 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
551 | <xsd:attribute name="controller" default="AC97">
|
---|
552 | <xsd:simpleType>
|
---|
553 | <xsd:restriction base="xsd:token">
|
---|
554 | <xsd:enumeration value="AC97"/>
|
---|
555 | <xsd:enumeration value="SB16"/>
|
---|
556 | </xsd:restriction>
|
---|
557 | </xsd:simpleType>
|
---|
558 | </xsd:attribute>
|
---|
559 | </xsd:complexType>
|
---|
560 |
|
---|
561 | <xsd:complexType name="TNetworkAdapter">
|
---|
562 | <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
|
---|
563 | <xsd:attribute name="slot" use="required">
|
---|
564 | <xsd:simpleType>
|
---|
565 | <xsd:restriction base="xsd:unsignedInt">
|
---|
566 | <xsd:minInclusive value="0"/>
|
---|
567 | <xsd:maxExclusive value="4"/>
|
---|
568 | </xsd:restriction>
|
---|
569 | </xsd:simpleType>
|
---|
570 | </xsd:attribute>
|
---|
571 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
572 | <xsd:attribute name="MACAddress">
|
---|
573 | <xsd:simpleType>
|
---|
574 | <xsd:restriction base="xsd:hexBinary">
|
---|
575 | <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
|
---|
576 | </xsd:restriction>
|
---|
577 | </xsd:simpleType>
|
---|
578 | </xsd:attribute>
|
---|
579 | <xsd:attribute name="cable" type="xsd:boolean" use="required"/>
|
---|
580 | <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
|
---|
581 | <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
|
---|
582 | <xsd:attribute name="tracefile" type="xsd:string"/>
|
---|
583 | </xsd:complexType>
|
---|
584 |
|
---|
585 | <xsd:complexType name="TUARTPort">
|
---|
586 | <xsd:attribute name="slot" use="required">
|
---|
587 | <xsd:simpleType>
|
---|
588 | <xsd:restriction base="xsd:unsignedInt">
|
---|
589 | <xsd:minInclusive value="0"/>
|
---|
590 | <xsd:maxExclusive value="2"/>
|
---|
591 | </xsd:restriction>
|
---|
592 | </xsd:simpleType>
|
---|
593 | </xsd:attribute>
|
---|
594 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
595 | <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
|
---|
596 | <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
|
---|
597 | <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
|
---|
598 | <xsd:attribute name="path" type="TLocalFile"/>
|
---|
599 | <xsd:attribute name="server" type="xsd:boolean" default="false"/>
|
---|
600 | </xsd:complexType>
|
---|
601 |
|
---|
602 | <xsd:complexType name="TUART">
|
---|
603 | <xsd:sequence>
|
---|
604 | <xsd:element name="Port" minOccurs="0" maxOccurs="unbounded">
|
---|
605 | <xsd:complexType>
|
---|
606 | <xsd:complexContent>
|
---|
607 | <xsd:extension base="TUARTPort">
|
---|
608 | </xsd:extension>
|
---|
609 | </xsd:complexContent>
|
---|
610 | </xsd:complexType>
|
---|
611 | </xsd:element>
|
---|
612 | </xsd:sequence>
|
---|
613 | </xsd:complexType>
|
---|
614 |
|
---|
615 | <xsd:complexType name="TLPTPort">
|
---|
616 | <xsd:attribute name="slot" use="required">
|
---|
617 | <xsd:simpleType>
|
---|
618 | <xsd:restriction base="xsd:unsignedInt">
|
---|
619 | <xsd:minInclusive value="0"/>
|
---|
620 | <xsd:maxExclusive value="2"/>
|
---|
621 | </xsd:restriction>
|
---|
622 | </xsd:simpleType>
|
---|
623 | </xsd:attribute>
|
---|
624 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
625 | <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
|
---|
626 | <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
|
---|
627 | <xsd:attribute name="path" type="TLocalFile"/>
|
---|
628 | </xsd:complexType>
|
---|
629 |
|
---|
630 | <xsd:complexType name="TLPT">
|
---|
631 | <xsd:sequence>
|
---|
632 | <xsd:element name="Port" minOccurs="0" maxOccurs="unbounded">
|
---|
633 | <xsd:complexType>
|
---|
634 | <xsd:complexContent>
|
---|
635 | <xsd:extension base="TLPTPort">
|
---|
636 | </xsd:extension>
|
---|
637 | </xsd:complexContent>
|
---|
638 | </xsd:complexType>
|
---|
639 | </xsd:element>
|
---|
640 | </xsd:sequence>
|
---|
641 | </xsd:complexType>
|
---|
642 |
|
---|
643 | <xsd:complexType name="TSharedFolder">
|
---|
644 | <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
|
---|
645 | <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
|
---|
646 | <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
|
---|
647 | </xsd:complexType>
|
---|
648 |
|
---|
649 | <xsd:complexType name="TSharedFolders">
|
---|
650 | <xsd:sequence>
|
---|
651 | <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
|
---|
652 | </xsd:sequence>
|
---|
653 | </xsd:complexType>
|
---|
654 |
|
---|
655 | <xsd:complexType name="TClipboard">
|
---|
656 | <xsd:attribute name="mode" type="TClipboardMode" use="required"/>
|
---|
657 | </xsd:complexType>
|
---|
658 |
|
---|
659 | <xsd:complexType name="TGuest">
|
---|
660 | <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
|
---|
661 | <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
|
---|
662 | </xsd:complexType>
|
---|
663 |
|
---|
664 | <xsd:complexType name="TSATAController">
|
---|
665 | <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
|
---|
666 | <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" default="0"/>
|
---|
667 | <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" default="1"/>
|
---|
668 | <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" default="2"/>
|
---|
669 | <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" default="3"/>
|
---|
670 | <xsd:attribute name="PortCount" type="xsd:unsignedInt" default="30"/>
|
---|
671 | </xsd:complexType>
|
---|
672 |
|
---|
673 | <xsd:complexType name="THardware">
|
---|
674 | <xsd:all>
|
---|
675 | <xsd:element name="CPU" type="TCPU" minOccurs="0"/>
|
---|
676 | <xsd:element name="Memory" type="TMemory"/>
|
---|
677 | <xsd:element name="Boot" type="TBoot">
|
---|
678 | <xsd:unique name="THardware-Boot-Order">
|
---|
679 | <xsd:selector xpath="vb:Order"/>
|
---|
680 | <xsd:field xpath="@position"/>
|
---|
681 | </xsd:unique>
|
---|
682 | </xsd:element>
|
---|
683 | <xsd:element name="Display" type="TDisplay"/>
|
---|
684 | <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
|
---|
685 | <xsd:element name="BIOS" type="TBIOS"/>
|
---|
686 | <xsd:element name="DVDDrive" type="TDVDDrive"/>
|
---|
687 | <xsd:element name="FloppyDrive" type="TFloppyDrive"/>
|
---|
688 | <xsd:element name="USBController" type="TUSBController"/>
|
---|
689 | <xsd:element name="SATAController" type="TSATAController"/>
|
---|
690 | <xsd:element name="Network" type="TNetwork">
|
---|
691 | <xsd:unique name="THardware-Network-Adapter">
|
---|
692 | <xsd:selector xpath="vb:Adapter"/>
|
---|
693 | <xsd:field xpath="@slot"/>
|
---|
694 | </xsd:unique>
|
---|
695 | </xsd:element>
|
---|
696 | <xsd:element name="UART" type="TUART">
|
---|
697 | <xsd:unique name="THardware-UART-Port">
|
---|
698 | <xsd:selector xpath="vb:Port"/>
|
---|
699 | <xsd:field xpath="@slot"/>
|
---|
700 | </xsd:unique>
|
---|
701 | </xsd:element>
|
---|
702 | <xsd:element name="LPT" type="TLPT">
|
---|
703 | <xsd:unique name="THardware-LPT-Port">
|
---|
704 | <xsd:selector xpath="vb:Port"/>
|
---|
705 | <xsd:field xpath="@slot"/>
|
---|
706 | </xsd:unique>
|
---|
707 | </xsd:element>
|
---|
708 | <xsd:element name="AudioAdapter" type="TAudioAdapter"/>
|
---|
709 | <xsd:element name="SharedFolders" type="TSharedFolders">
|
---|
710 | <xsd:unique name="THardware-SharedFolders-SharedFolder">
|
---|
711 | <xsd:selector xpath="vb:SharedFolder"/>
|
---|
712 | <xsd:field xpath="@name"/>
|
---|
713 | </xsd:unique>
|
---|
714 | </xsd:element>
|
---|
715 | <xsd:element name="Clipboard" type="TClipboard"/>
|
---|
716 | <xsd:element name="Guest" type="TGuest"/>
|
---|
717 | </xsd:all>
|
---|
718 | </xsd:complexType>
|
---|
719 |
|
---|
720 | <xsd:complexType name="TMachine">
|
---|
721 | <xsd:all>
|
---|
722 | <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
---|
723 | <xsd:element name="Hardware" type="THardware"/>
|
---|
724 | <xsd:element name="HardDiskAttachments" type="THardDiskAttachments"/>
|
---|
725 | <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
|
---|
726 | <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
|
---|
727 | </xsd:all>
|
---|
728 | <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
|
---|
729 | <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
|
---|
730 | <xsd:attribute name="OSType" type="TGuestOSType" use="required"/>
|
---|
731 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
732 | <xsd:attribute name="stateFile" type="TLocalFile"/>
|
---|
733 | <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
|
---|
734 | <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
|
---|
735 | <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
|
---|
736 | <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
|
---|
737 | <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
|
---|
738 | </xsd:complexType>
|
---|
739 |
|
---|
740 | <xsd:complexType name="TSnapshot">
|
---|
741 | <xsd:all>
|
---|
742 | <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
---|
743 | <xsd:element name="Hardware" type="THardware"/>
|
---|
744 | <xsd:element name="HardDiskAttachments" type="THardDiskAttachments"/>
|
---|
745 | <xsd:element name="Snapshots" minOccurs="0">
|
---|
746 | <xsd:complexType>
|
---|
747 | <xsd:sequence>
|
---|
748 | <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
|
---|
749 | </xsd:sequence>
|
---|
750 | </xsd:complexType>
|
---|
751 | </xsd:element>
|
---|
752 | </xsd:all>
|
---|
753 | <xsd:attribute name="name" type="xsd:token" use="required"/>
|
---|
754 | <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
|
---|
755 | <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
|
---|
756 | <xsd:attribute name="stateFile" type="TLocalFile"/>
|
---|
757 | </xsd:complexType>
|
---|
758 |
|
---|
759 | <xsd:complexType name="TVirtualBox" abstract="true">
|
---|
760 | <xsd:choice>
|
---|
761 | <xsd:element name="Global" type="TGlobal"/>
|
---|
762 | <xsd:element name="Machine" type="TMachine">
|
---|
763 | <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
|
---|
764 | <xsd:key name="snapshot">
|
---|
765 | <xsd:selector xpath=".//vb:Snapshot"/>
|
---|
766 | <xsd:field xpath="@uuid"/>
|
---|
767 | </xsd:key>
|
---|
768 | <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
|
---|
769 | <xsd:selector xpath="."/>
|
---|
770 | <xsd:field xpath="@currentSnapshot"/>
|
---|
771 | </xsd:keyref>
|
---|
772 | </xsd:element>
|
---|
773 | </xsd:choice>
|
---|
774 | </xsd:complexType>
|
---|
775 |
|
---|
776 | </xsd:schema>
|
---|