VirtualBox

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

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

Oracle Linux OS type

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