VirtualBox

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

Last change on this file since 15848 was 15708, checked in by vboxsync, 16 years ago

Main: #3424: Bumped XML format version to 1.6 and so that the auto-converter will delete old <HostInterface> nodes containing TAPSetup/TAPTerminate attributes. Removed all (obsolete) sections of code in #ifdef VBOX_WITH_UNIXY_TAP_NETWORKING (that uses these attributes); removed the define itself.

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