VirtualBox

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

Last change on this file since 34377 was 33656, checked in by vboxsync, 14 years ago

*: rebrand Sun (L)GPL disclaimers

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 35.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 * Oracle VM VirtualBox Settings Schema
7 * Common definitions
8
9 Copyright (C) 2004-2010 Oracle Corporation
10
11 This file is part of VirtualBox Open Source Edition (OSE), as
12 available from http://www.virtualbox.org. This file is free software;
13 you can redistribute it and/or modify it under the terms of the GNU
14 General Public License (GPL) as published by the Free Software
15 Foundation, in version 2 as it comes in the "COPYING" file of the
16 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
17 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18-->
19
20<xsd:schema
21 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
22 xmlns="http://www.innotek.de/VirtualBox-settings"
23 xmlns:vb="http://www.innotek.de/VirtualBox-settings"
24 targetNamespace="http://www.innotek.de/VirtualBox-settings"
25 elementFormDefault="qualified"
26>
27
28<xsd:annotation>
29 <xsd:documentation xml:lang="en">
30 Oracle VM VirtualBox Settings Schema (common definitions).
31 Copyright (c) 2004-2010 Oracle Corporation
32 </xsd:documentation>
33</xsd:annotation>
34
35<!--
36// Simple types
37/////////////////////////////////////////////////////////////////////////
38-->
39
40<xsd:simpleType name="TUUID">
41 <xsd:restriction base="xsd:token">
42 <xsd:pattern value="\{[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}\}"/>
43 </xsd:restriction>
44</xsd:simpleType>
45
46<xsd:simpleType name="TNonNullUUID">
47 <xsd:restriction base="TUUID">
48 <xsd:pattern value=".*[1-9A-Fa-f]+.*"/>
49 </xsd:restriction>
50</xsd:simpleType>
51
52<xsd:simpleType name="TUInt8">
53 <xsd:union>
54 <xsd:simpleType>
55 <xsd:restriction base="xsd:unsignedByte">
56 </xsd:restriction>
57 </xsd:simpleType>
58 <xsd:simpleType>
59 <xsd:restriction base="xsd:string">
60 <xsd:pattern value="0[xX][A-Fa-f0-9]{1,2}"/>
61 </xsd:restriction>
62 </xsd:simpleType>
63 </xsd:union>
64</xsd:simpleType>
65
66<xsd:simpleType name="TUInt16">
67 <xsd:union>
68 <xsd:simpleType>
69 <xsd:restriction base="xsd:unsignedShort">
70 </xsd:restriction>
71 </xsd:simpleType>
72 <xsd:simpleType>
73 <xsd:restriction base="xsd:string">
74 <xsd:pattern value="0[xX][A-Fa-f0-9]{1,4}"/>
75 </xsd:restriction>
76 </xsd:simpleType>
77 </xsd:union>
78</xsd:simpleType>
79
80<xsd:simpleType name="TUInt32Hex">
81 <xsd:restriction base="xsd:string">
82 <xsd:pattern value="0x[A-Fa-f0-9]{1,8}"/>
83 </xsd:restriction>
84</xsd:simpleType>
85
86<xsd:simpleType name="TUInt64Hex">
87 <xsd:restriction base="xsd:string">
88 <xsd:pattern value="0x[A-Fa-f0-9]{1,16}"/>
89 </xsd:restriction>
90</xsd:simpleType>
91
92<xsd:simpleType name="TLocalFile">
93 <xsd:restriction base="xsd:string">
94 <xsd:pattern value=".+"/>
95 </xsd:restriction>
96</xsd:simpleType>
97
98<xsd:simpleType name="TDiskType">
99 <xsd:restriction base="xsd:token">
100 <xsd:enumeration value="HD"/>
101 <xsd:enumeration value="DVD"/>
102 <xsd:enumeration value="FD"/>
103 </xsd:restriction>
104</xsd:simpleType>
105
106<xsd:simpleType name="TDeviceType">
107 <xsd:restriction base="xsd:token">
108 <xsd:enumeration value="None"/>
109 <xsd:enumeration value="Floppy"/>
110 <xsd:enumeration value="DVD"/>
111 <xsd:enumeration value="HardDisk"/>
112 <xsd:enumeration value="Network"/>
113 </xsd:restriction>
114</xsd:simpleType>
115
116<xsd:simpleType name="TUSBDeviceFilterAction">
117 <xsd:restriction base="xsd:token">
118 <xsd:enumeration value="Ignore"/>
119 <xsd:enumeration value="Hold"/>
120 </xsd:restriction>
121</xsd:simpleType>
122
123<xsd:simpleType name="TNonEmptyString">
124 <xsd:restriction base="xsd:string">
125 <xsd:pattern value=".+"/>
126 </xsd:restriction>
127</xsd:simpleType>
128
129<xsd:simpleType name="TPresentDateTimeUTC">
130 <xsd:restriction base="xsd:dateTime">
131 <xsd:minInclusive value="1900-01-01T00:00:00Z"/>
132 <xsd:maxInclusive value="199999999-12-31T23:59:59Z"/>
133 <xsd:pattern value=".+-.+-.+T.+:.+:[0-9]{2}Z"/>
134 </xsd:restriction>
135</xsd:simpleType>
136
137<xsd:simpleType name="TGuestOSType">
138 <xsd:restriction base="xsd:string">
139 <xsd:enumeration value="Other"/>
140 <xsd:enumeration value="DOS"/>
141 <xsd:enumeration value="Netware"/>
142 <xsd:enumeration value="L4"/>
143 <xsd:enumeration value="Windows31"/>
144 <xsd:enumeration value="Windows95"/>
145 <xsd:enumeration value="Windows98"/>
146 <xsd:enumeration value="WindowsMe"/>
147 <xsd:enumeration value="WindowsNT4"/>
148 <xsd:enumeration value="Windows2000"/>
149 <xsd:enumeration value="WindowsXP"/>
150 <xsd:enumeration value="WindowsXP_64"/>
151 <xsd:enumeration value="Windows2003"/>
152 <xsd:enumeration value="Windows2003_64"/>
153 <xsd:enumeration value="WindowsVista"/>
154 <xsd:enumeration value="WindowsVista_64"/>
155 <xsd:enumeration value="Windows2008"/>
156 <xsd:enumeration value="Windows2008_64"/>
157 <xsd:enumeration value="Windows7"/>
158 <xsd:enumeration value="Windows7_64"/>
159 <xsd:enumeration value="WindowsNT"/>
160 <xsd:enumeration value="OS2Warp3"/>
161 <xsd:enumeration value="OS2Warp4"/>
162 <xsd:enumeration value="OS2Warp45"/>
163 <xsd:enumeration value="OS2eCS"/>
164 <xsd:enumeration value="OS2"/>
165 <xsd:enumeration value="Linux22"/>
166 <xsd:enumeration value="Linux24"/>
167 <xsd:enumeration value="Linux24_64"/>
168 <xsd:enumeration value="Linux26"/>
169 <xsd:enumeration value="Linux26_64"/>
170 <xsd:enumeration value="ArchLinux"/>
171 <xsd:enumeration value="ArchLinux_64"/>
172 <xsd:enumeration value="Debian"/>
173 <xsd:enumeration value="Debian_64"/>
174 <xsd:enumeration value="OpenSUSE"/>
175 <xsd:enumeration value="OpenSUSE_64"/>
176 <xsd:enumeration value="Fedora"/>
177 <xsd:enumeration value="Fedora_64"/>
178 <xsd:enumeration value="Gentoo"/>
179 <xsd:enumeration value="Gentoo_64"/>
180 <xsd:enumeration value="Mandriva"/>
181 <xsd:enumeration value="Mandriva_64"/>
182 <xsd:enumeration value="RedHat"/>
183 <xsd:enumeration value="RedHat_64"/>
184 <xsd:enumeration value="Turbolinux"/>
185 <xsd:enumeration value="Turbolinux_64"/>
186 <xsd:enumeration value="Ubuntu"/>
187 <xsd:enumeration value="Ubuntu_64"/>
188 <xsd:enumeration value="Xandros"/>
189 <xsd:enumeration value="Xandros_64"/>
190 <xsd:enumeration value="Oracle"/>
191 <xsd:enumeration value="Oracle_64"/>
192 <xsd:enumeration value="Linux"/>
193 <xsd:enumeration value="FreeBSD"/>
194 <xsd:enumeration value="FreeBSD_64"/>
195 <xsd:enumeration value="OpenBSD"/>
196 <xsd:enumeration value="OpenBSD_64"/>
197 <xsd:enumeration value="NetBSD"/>
198 <xsd:enumeration value="NetBSD_64"/>
199 <xsd:enumeration value="Solaris"/>
200 <xsd:enumeration value="Solaris_64"/>
201 <xsd:enumeration value="OpenSolaris"/>
202 <xsd:enumeration value="OpenSolaris_64"/>
203 <xsd:enumeration value="QNX"/>
204 <xsd:enumeration value="MacOS"/>
205 <xsd:enumeration value="MacOS_64"/>
206 </xsd:restriction>
207</xsd:simpleType>
208
209
210<xsd:simpleType name="TAuthType">
211 <xsd:restriction base="xsd:string">
212 <xsd:enumeration value="Null"/>
213 <xsd:enumeration value="Guest"/>
214 <xsd:enumeration value="External"/>
215 </xsd:restriction>
216</xsd:simpleType>
217
218<xsd:simpleType name="TNetworkAdapterType">
219 <xsd:restriction base="xsd:string">
220 <xsd:enumeration value="Am79C970A"/>
221 <xsd:enumeration value="Am79C973"/>
222 <xsd:enumeration value="82540EM"/>
223 <xsd:enumeration value="82543GC"/>
224 <xsd:enumeration value="82545EM"/>
225 <xsd:enumeration value="virtio"/>
226 </xsd:restriction>
227</xsd:simpleType>
228
229<xsd:simpleType name="TTriStateBoolType">
230 <xsd:restriction base="xsd:string">
231 <xsd:enumeration value="false"/>
232 <xsd:enumeration value="true"/>
233 <xsd:enumeration value="default"/>
234 </xsd:restriction>
235</xsd:simpleType>
236
237<xsd:simpleType name="TBIOSBootMenuModeType">
238 <xsd:restriction base="xsd:string">
239 <xsd:enumeration value="Disabled"/>
240 <xsd:enumeration value="MenuOnly"/>
241 <xsd:enumeration value="MessageAndMenu"/>
242 </xsd:restriction>
243</xsd:simpleType>
244
245<xsd:simpleType name="TClipboardMode">
246 <xsd:restriction base="xsd:string">
247 <xsd:enumeration value="Disabled"/>
248 <xsd:enumeration value="HostToGuest"/>
249 <xsd:enumeration value="GuestToHost"/>
250 <xsd:enumeration value="Bidirectional"/>
251 </xsd:restriction>
252</xsd:simpleType>
253
254<xsd:simpleType name="TPortMode">
255 <xsd:restriction base="xsd:string">
256 <xsd:enumeration value="Disconnected"/>
257 <xsd:enumeration value="RawFile"/>
258 <xsd:enumeration value="HostPipe"/>
259 <xsd:enumeration value="HostDevice"/>
260 </xsd:restriction>
261</xsd:simpleType>
262
263<!--
264// Complex types
265/////////////////////////////////////////////////////////////////////////
266-->
267<xsd:complexType name="TDHCPServer">
268 <xsd:attribute name="networkName" type="xsd:string" use="required"/>
269 <xsd:attribute name="lowerIP" type="xsd:string" use="required"/>
270 <xsd:attribute name="upperIP" type="xsd:string" use="required"/>
271 <xsd:attribute name="IPAddress" type="xsd:string" use="required"/>
272 <xsd:attribute name="networkMask" type="xsd:string" use="required"/>
273 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
274</xsd:complexType>
275
276<xsd:complexType name="THardDiskBase">
277 <xsd:sequence>
278 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
279 <xsd:element name="Property" minOccurs="0" maxOccurs="unbounded">
280 <xsd:complexType>
281 <xsd:attribute name="name" type="xsd:token" use="required"/>
282 <xsd:attribute name="value" type="xsd:string" use="required"/>
283 </xsd:complexType>
284 </xsd:element>
285 <xsd:element name="HardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
286 </xsd:sequence>
287 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
288 <xsd:attribute name="location" type="TLocalFile" use="required"/>
289 <xsd:attribute name="format" type="TNonEmptyString" use="required"/>
290</xsd:complexType>
291
292<xsd:complexType name="TDiffHardDisk">
293 <xsd:complexContent>
294 <xsd:extension base="THardDiskBase">
295 <xsd:attribute name="autoReset" type="xsd:boolean" default="false"/>
296 </xsd:extension>
297 </xsd:complexContent>
298</xsd:complexType>
299
300<xsd:complexType name="THardDisk">
301 <xsd:complexContent>
302 <xsd:extension base="THardDiskBase">
303 <xsd:attribute name="type" use="required">
304 <xsd:simpleType>
305 <xsd:restriction base="xsd:string">
306 <xsd:enumeration value="Normal"/>
307 <xsd:enumeration value="Immutable"/>
308 <xsd:enumeration value="Writethrough"/>
309 </xsd:restriction>
310 </xsd:simpleType>
311 </xsd:attribute>
312 </xsd:extension>
313 </xsd:complexContent>
314</xsd:complexType>
315
316<xsd:complexType name="TImage2">
317 <xsd:sequence>
318 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
319 </xsd:sequence>
320 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
321 <xsd:attribute name="location" type="TLocalFile" use="required"/>
322</xsd:complexType>
323
324<xsd:complexType name="TImageRef">
325 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
326</xsd:complexType>
327
328<xsd:complexType name="THostDrive">
329 <xsd:attribute name="src" type="TLocalFile" use="required"/>
330</xsd:complexType>
331
332<xsd:complexType name="TUSBDeviceFilter">
333 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
334 <xsd:attribute name="active" type="xsd:boolean" use="required"/>
335 <xsd:attribute name="vendorId" type="xsd:token"/>
336 <xsd:attribute name="productId" type="xsd:token"/>
337 <xsd:attribute name="revision" type="xsd:token"/>
338 <xsd:attribute name="manufacturer" type="xsd:token"/>
339 <xsd:attribute name="product" type="xsd:token"/>
340 <xsd:attribute name="serialNumber" type="xsd:token"/>
341 <xsd:attribute name="port" type="xsd:token"/>
342 <xsd:attribute name="remote" type="xsd:token"/>
343 <xsd:attribute name="maskedInterfaces" type="xsd:unsignedInt" default="0"/>
344</xsd:complexType>
345
346<xsd:complexType name="THostUSBDeviceFilter">
347 <xsd:complexContent>
348 <xsd:extension base="TUSBDeviceFilter">
349 <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
350 </xsd:extension>
351 </xsd:complexContent>
352</xsd:complexType>
353
354<xsd:complexType name="TSystemProperties">
355 <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
356 <xsd:attribute name="defaultHardDiskFolder" type="TLocalFile"/>
357 <xsd:attribute name="defaultHardDiskFormat" type="TNonEmptyString"/>
358 <xsd:attribute name="VRDEAuthLibrary" type="TLocalFile"/>
359 <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
360 <xsd:attribute name="defaultVRDELibrary" 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="256"/>
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="authType" type="TAuthType" default="Null"/>
544 <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
545 <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
546 <xsd:attribute name="reuseSingleConnection" type="xsd:boolean" default="false"/>
547</xsd:complexType>
548
549<xsd:complexType name="TBIOS">
550 <xsd:all>
551 <xsd:element name="ACPI">
552 <xsd:complexType>
553 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
554 </xsd:complexType>
555 </xsd:element>
556 <xsd:element name="IOAPIC" minOccurs="0">
557 <xsd:complexType>
558 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
559 </xsd:complexType>
560 </xsd:element>
561 <xsd:element name="Logo" minOccurs="0">
562 <xsd:complexType>
563 <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
564 <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
565 <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
566 <xsd:attribute name="imagePath" type="TLocalFile"/>
567 </xsd:complexType>
568 </xsd:element>
569 <xsd:element name="BootMenu" minOccurs="0">
570 <xsd:complexType>
571 <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="MessageAndMenu"/>
572 </xsd:complexType>
573 </xsd:element>
574 <xsd:element name="TimeOffset" minOccurs="0">
575 <xsd:complexType>
576 <xsd:attribute name="value" type="xsd:integer" default="0"/>
577 </xsd:complexType>
578 </xsd:element>
579 <xsd:element name="PXEDebug" minOccurs="0">
580 <xsd:complexType>
581 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
582 </xsd:complexType>
583 </xsd:element>
584 </xsd:all>
585</xsd:complexType>
586
587<xsd:complexType name="TStorageControllerDevice">
588 <xsd:choice minOccurs="0">
589 <xsd:element name="Image" type="TImageRef"/>
590 <xsd:element name="HostDrive" type="THostDrive"/>
591 </xsd:choice>
592 <xsd:attribute name="type" use="required">
593 <xsd:simpleType>
594 <xsd:restriction base="xsd:token">
595 <xsd:enumeration value="HardDisk"/>
596 <xsd:enumeration value="CD/DVD"/>
597 </xsd:restriction>
598 </xsd:simpleType>
599 </xsd:attribute>
600 <xsd:attribute name="port" type="xsd:unsignedInt" use="required"/>
601 <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
602</xsd:complexType>
603
604<xsd:complexType name="TStorageController">
605 <xsd:sequence>
606 <xsd:element name="AttachedDevice" type="TStorageControllerDevice"
607 minOccurs="0" maxOccurs="unbounded"/>
608 </xsd:sequence>
609 <xsd:attribute name="name" type="xsd:string" use="required"/>
610 <xsd:attribute name="type" use="required">
611 <xsd:simpleType>
612 <xsd:restriction base="xsd:token">
613 <xsd:enumeration value="AHCI"/>
614 <xsd:enumeration value="LsiLogic"/>
615 <xsd:enumeration value="BusLogic"/>
616 <xsd:enumeration value="PIIX3"/>
617 <xsd:enumeration value="PIIX4"/>
618 <xsd:enumeration value="ICH6"/>
619 <xsd:enumeration value="LsiLogicSas"/>
620 </xsd:restriction>
621 </xsd:simpleType>
622 </xsd:attribute>
623 <xsd:attribute name="PortCount" type="xsd:unsignedInt" use="required"/>
624 <xsd:attribute name="bootable" type="xsd:boolean" use="optional"/>
625 <xsd:attribute name="PCIBus" type="xsd:unsignedInt" use="optional"/>
626 <xsd:attribute name="PCIDevice" type="xsd:unsignedInt" use="optional"/>
627 <xsd:attribute name="PCIFunction" type="xsd:unsignedInt" use="optional"/>
628 <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
629 <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
630 <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
631 <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
632</xsd:complexType>
633
634<xsd:complexType name="TStorageControllers">
635 <xsd:sequence>
636 <xsd:element name="StorageController" type="TStorageController"
637 minOccurs="0" maxOccurs="unbounded"/>
638 </xsd:sequence>
639</xsd:complexType>
640
641<xsd:complexType name="TDVDDrive">
642 <xsd:choice minOccurs="0">
643 <xsd:element name="Image" type="TImageRef"/>
644 <xsd:element name="HostDrive" type="THostDrive"/>
645 </xsd:choice>
646 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
647</xsd:complexType>
648
649<xsd:complexType name="TFloppyDrive">
650 <xsd:choice minOccurs="0">
651 <xsd:element name="Image" type="TImageRef"/>
652 <xsd:element name="HostDrive" type="THostDrive"/>
653 </xsd:choice>
654 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
655</xsd:complexType>
656
657<xsd:complexType name="TUSBController">
658 <xsd:sequence>
659 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
660 minOccurs="0" maxOccurs="unbounded"/>
661 </xsd:sequence>
662 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
663 <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
664</xsd:complexType>
665
666<xsd:complexType name="TAudioAdapterBase">
667 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
668 <xsd:attribute name="controller" default="AC97">
669 <xsd:simpleType>
670 <xsd:restriction base="xsd:token">
671 <xsd:enumeration value="AC97"/>
672 <xsd:enumeration value="SB16"/>
673 </xsd:restriction>
674 </xsd:simpleType>
675 </xsd:attribute>
676</xsd:complexType>
677
678<xsd:complexType name="TNetworkAdapter">
679 <xsd:choice minOccurs="0">
680 <xsd:element name="NAT">
681 <xsd:complexType>
682 <xsd:attribute name="network" type="xsd:string"/>
683 </xsd:complexType>
684 <xsd:complexType>
685 <xsd:attribute name="hostip" type="xsd:string"/>
686 </xsd:complexType>
687 <xsd:complexType>
688 <xsd:attribute name="mtu" type="xsd:unsignedInt"/>
689 </xsd:complexType>
690 <xsd:complexType>
691 <xsd:attribute name="sockrcv" type="xsd:unsignedInt"/>
692 </xsd:complexType>
693 <xsd:complexType>
694 <xsd:attribute name="socksnd" type="xsd:unsignedInt"/>
695 </xsd:complexType>
696 <xsd:complexType>
697 <xsd:attribute name="tcprcv" type="xsd:unsignedInt"/>
698 </xsd:complexType>
699 <xsd:complexType>
700 <xsd:attribute name="tcpsnd" type="xsd:unsignedInt"/>
701 </xsd:complexType>
702 <xsd:element name="DNS">
703 <xsd:complexType>
704 <xsd:attribute name="pass-domain" type="xsd:boolean"/>
705 </xsd:complexType>
706 <xsd:complexType>
707 <xsd:attribute name="use-proxy" type="xsd:boolean"/>
708 </xsd:complexType>
709 <xsd:complexType>
710 <xsd:attribute name="use-host-resolver" type="xsd:boolean"/>
711 </xsd:complexType>
712 </xsd:element>
713 <xsd:element name="TFTP">
714 <xsd:complexType>
715 <xsd:attribute name="prefix" type="xsd:string"/>
716 </xsd:complexType>
717 <xsd:complexType>
718 <xsd:attribute name="boot-file" type="xsd:string"/>
719 </xsd:complexType>
720 <xsd:complexType>
721 <xsd:attribute name="next-server" type="xsd:string"/>
722 </xsd:complexType>
723 </xsd:element>
724 <xsd:element name="Forwarding">
725 <xsd:complexType>
726 <xsd:attribute name="name" type="xsd:string"/>
727 </xsd:complexType>
728 <xsd:complexType>
729 <xsd:attribute name="proto" type="xsd:unsignedInt"/>
730 </xsd:complexType>
731 <xsd:complexType>
732 <xsd:attribute name="hostip" type="xsd:string"/>
733 </xsd:complexType>
734 <xsd:complexType>
735 <xsd:attribute name="hostport" type="xsd:unsignedInt"/>
736 </xsd:complexType>
737 <xsd:complexType>
738 <xsd:attribute name="guestip" type="xsd:string"/>
739 </xsd:complexType>
740 <xsd:complexType>
741 <xsd:attribute name="guestport" type="xsd:unsignedInt"/>
742 </xsd:complexType>
743 </xsd:element>
744 </xsd:element>
745 <xsd:element name="HostInterface">
746 <xsd:complexType>
747 <xsd:attribute name="name" type="xsd:string" use="required"/>
748 </xsd:complexType>
749 </xsd:element>
750 <xsd:element name="BridgedInterface">
751 <xsd:complexType>
752 <xsd:attribute name="name" type="xsd:string" use="required"/>
753 </xsd:complexType>
754 </xsd:element>
755 <xsd:element name="InternalNetwork">
756 <xsd:complexType>
757 <xsd:attribute name="name" type="xsd:string" use="required"/>
758 </xsd:complexType>
759 </xsd:element>
760 <xsd:element name="HostOnlyInterface">
761 <xsd:complexType>
762 <xsd:attribute name="name" type="xsd:string" use="required"/>
763 </xsd:complexType>
764 </xsd:element>
765 </xsd:choice>
766 <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
767 <xsd:attribute name="slot" use="required">
768 <xsd:simpleType>
769 <xsd:restriction base="xsd:unsignedInt">
770 <xsd:minInclusive value="0"/>
771 <xsd:maxExclusive value="8"/>
772 </xsd:restriction>
773 </xsd:simpleType>
774 </xsd:attribute>
775 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
776 <xsd:attribute name="MACAddress">
777 <xsd:simpleType>
778 <xsd:restriction base="xsd:hexBinary">
779 <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
780 </xsd:restriction>
781 </xsd:simpleType>
782 </xsd:attribute>
783 <xsd:attribute name="cable" type="xsd:boolean" use="required"/>
784 <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
785 <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
786 <xsd:attribute name="tracefile" type="xsd:string"/>
787</xsd:complexType>
788
789<xsd:complexType name="TNetwork">
790 <xsd:sequence>
791 <xsd:element name="Adapter" type="TNetworkAdapter"
792 minOccurs="0" maxOccurs="unbounded"/>
793 </xsd:sequence>
794</xsd:complexType>
795
796<xsd:complexType name="TUARTPort">
797 <xsd:attribute name="slot" use="required">
798 <xsd:simpleType>
799 <xsd:restriction base="xsd:unsignedInt">
800 <xsd:minInclusive value="0"/>
801 <xsd:maxExclusive value="2"/>
802 </xsd:restriction>
803 </xsd:simpleType>
804 </xsd:attribute>
805 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
806 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
807 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
808 <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
809 <xsd:attribute name="path" type="TLocalFile"/>
810 <xsd:attribute name="server" type="xsd:boolean" default="false"/>
811</xsd:complexType>
812
813<xsd:complexType name="TUART">
814 <xsd:sequence>
815 <xsd:element name="Port" type="TUARTPort"
816 minOccurs="0" maxOccurs="unbounded"/>
817 </xsd:sequence>
818</xsd:complexType>
819
820<xsd:complexType name="TLPTPort">
821 <xsd:attribute name="slot" use="required">
822 <xsd:simpleType>
823 <xsd:restriction base="xsd:unsignedInt">
824 <xsd:minInclusive value="0"/>
825 <xsd:maxExclusive value="2"/>
826 </xsd:restriction>
827 </xsd:simpleType>
828 </xsd:attribute>
829 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
830 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
831 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
832 <xsd:attribute name="path" type="TLocalFile"/>
833</xsd:complexType>
834
835<xsd:complexType name="TLPT">
836 <xsd:sequence>
837 <xsd:element name="Port" type="TLPTPort"
838 minOccurs="0" maxOccurs="unbounded"/>
839 </xsd:sequence>
840</xsd:complexType>
841
842<xsd:complexType name="TSharedFolder">
843 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
844 <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
845 <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
846</xsd:complexType>
847
848<xsd:complexType name="TSharedFolders">
849 <xsd:sequence>
850 <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
851 </xsd:sequence>
852</xsd:complexType>
853
854<xsd:complexType name="TClipboard">
855 <xsd:attribute name="mode" type="TClipboardMode" use="required"/>
856</xsd:complexType>
857
858<xsd:complexType name="TGuest">
859 <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
860 <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
861</xsd:complexType>
862
863<xsd:complexType name="TGuestProperty">
864 <xsd:attribute name="name" type="xsd:string" use="required"/>
865 <xsd:attribute name="value" type="xsd:string" use="required"/>
866 <xsd:attribute name="timestamp" type="xsd:unsignedLong" default="0"/>
867 <xsd:attribute name="flags" type="xsd:string" default=""/>
868</xsd:complexType>
869
870<xsd:complexType name="TGuestProperties">
871 <xsd:sequence>
872 <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
873 </xsd:sequence>
874 <xsd:attribute name="notificationPatterns" type="xsd:string" default=""/>
875</xsd:complexType>
876
877<xsd:complexType name="TMemory">
878 <xsd:attribute name="RAMSize" use="required">
879 <xsd:simpleType>
880 <xsd:restriction base="xsd:unsignedInt">
881 <xsd:minInclusive value="4"/>
882 <xsd:maxInclusive value="16384"/>
883 </xsd:restriction>
884 </xsd:simpleType>
885 </xsd:attribute>
886</xsd:complexType>
887
888<xsd:complexType name="THardware">
889 <xsd:all>
890 <xsd:element name="CPU" type="TCPU" minOccurs="0"/>
891 <xsd:element name="Memory" type="TMemory"/>
892 <xsd:element name="Boot" type="TBoot">
893 <xsd:unique name="THardware-Boot-Order">
894 <xsd:selector xpath="vb:Order"/>
895 <xsd:field xpath="@position"/>
896 </xsd:unique>
897 </xsd:element>
898 <xsd:element name="Display" type="TDisplay"/>
899 <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
900 <xsd:element name="BIOS" type="TBIOS"/>
901 <xsd:element name="DVDDrive" type="TDVDDrive"/>
902 <xsd:element name="FloppyDrive" type="TFloppyDrive"/>
903 <xsd:element name="USBController" type="TUSBController"/>
904 <xsd:element name="Network" type="TNetwork">
905 <xsd:unique name="THardware-Network-Adapter">
906 <xsd:selector xpath="vb:Adapter"/>
907 <xsd:field xpath="@slot"/>
908 </xsd:unique>
909 </xsd:element>
910 <xsd:element name="UART" type="TUART">
911 <xsd:unique name="THardware-UART-Port">
912 <xsd:selector xpath="vb:Port"/>
913 <xsd:field xpath="@slot"/>
914 </xsd:unique>
915 </xsd:element>
916 <xsd:element name="LPT" type="TLPT">
917 <xsd:unique name="THardware-LPT-Port">
918 <xsd:selector xpath="vb:Port"/>
919 <xsd:field xpath="@slot"/>
920 </xsd:unique>
921 </xsd:element>
922 <xsd:element name="AudioAdapter" type="TAudioAdapter"/>
923 <xsd:element name="SharedFolders" type="TSharedFolders">
924 <xsd:unique name="THardware-SharedFolders-SharedFolder">
925 <xsd:selector xpath="vb:SharedFolder"/>
926 <xsd:field xpath="@name"/>
927 </xsd:unique>
928 </xsd:element>
929 <xsd:element name="Clipboard" type="TClipboard"/>
930 <xsd:element name="Guest" type="TGuest"/>
931 <xsd:element name="GuestProperties" type="TGuestProperties" minOccurs="0">
932 <xsd:unique name="THardware-GuestProperties-GuestProperty">
933 <xsd:selector xpath="vb:GuestProperty"/>
934 <xsd:field xpath="@name"/>
935 </xsd:unique>
936 </xsd:element>
937 </xsd:all>
938 <xsd:attribute name="version" type="xsd:string" default="2"/>
939</xsd:complexType>
940
941<xsd:complexType name="TMachine">
942 <xsd:all>
943 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
944 <xsd:element name="Hardware" type="THardware"/>
945 <xsd:element name="StorageControllers" type="TStorageControllers"/>
946 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
947 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
948 </xsd:all>
949 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
950 <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
951 <xsd:attribute name="OSType" type="TGuestOSType" use="required"/>
952 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
953 <xsd:attribute name="stateFile" type="TLocalFile"/>
954 <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
955 <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
956 <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
957 <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
958 <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
959</xsd:complexType>
960
961<xsd:complexType name="TSnapshot">
962 <xsd:all>
963 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
964 <xsd:element name="Hardware" type="THardware"/>
965 <xsd:element name="StorageControllers" type="TStorageControllers"/>
966 <xsd:element name="Snapshots" minOccurs="0">
967 <xsd:complexType>
968 <xsd:sequence>
969 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
970 </xsd:sequence>
971 </xsd:complexType>
972 </xsd:element>
973 </xsd:all>
974 <xsd:attribute name="name" type="xsd:token" use="required"/>
975 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
976 <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
977 <xsd:attribute name="stateFile" type="TLocalFile"/>
978</xsd:complexType>
979
980<xsd:complexType name="TVirtualBox" abstract="true">
981 <xsd:choice>
982 <xsd:element name="Global" type="TGlobal"/>
983 <xsd:element name="Machine" type="TMachine">
984 <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
985 <xsd:key name="snapshot">
986 <xsd:selector xpath=".//vb:Snapshot"/>
987 <xsd:field xpath="@uuid"/>
988 </xsd:key>
989 <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
990 <xsd:selector xpath="."/>
991 <xsd:field xpath="@currentSnapshot"/>
992 </xsd:keyref>
993 </xsd:element>
994 </xsd:choice>
995</xsd:complexType>
996
997</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