VirtualBox

source: vbox/trunk/src/VBox/Main/xml/VirtualBox-settings-common.xsd@ 22302

Last change on this file since 22302 was 22143, checked in by vboxsync, 15 years ago

video 2d accel: Main & ui settings

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette