VirtualBox

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

Last change on this file since 34796 was 34497, checked in by vboxsync, 14 years ago

added JRockitVE operating system support

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 35.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 * 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:enumeration value="JRockitVE"/>
207 </xsd:restriction>
208</xsd:simpleType>
209
210
211<xsd:simpleType name="TAuthType">
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="VRDEAuthLibrary" type="TLocalFile"/>
360 <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
361 <xsd:attribute name="defaultVRDELibrary" type="TLocalFile"/>
362 <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
363 <xsd:attribute name="LogHistoryCount" type="xsd:unsignedInt" default="3"/>
364</xsd:complexType>
365
366<xsd:complexType name="TExtraData">
367 <xsd:sequence>
368 <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
369 <xsd:complexType>
370 <xsd:attribute name="name" type="xsd:token" use="required"/>
371 <xsd:attribute name="value" type="xsd:string" use="required"/>
372 </xsd:complexType>
373 </xsd:element>
374 </xsd:sequence>
375</xsd:complexType>
376
377<xsd:complexType name="TGlobal">
378 <xsd:all>
379 <xsd:element name="MachineRegistry">
380 <xsd:complexType>
381 <xsd:sequence>
382 <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
383 <xsd:complexType>
384 <xsd:attribute name="src" type="TLocalFile" use="required"/>
385 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
386 </xsd:complexType>
387 </xsd:element>
388 </xsd:sequence>
389 </xsd:complexType>
390 </xsd:element>
391 <xsd:element name="MediaRegistry">
392 <xsd:complexType>
393 <xsd:all>
394 <xsd:element name="HardDisks" minOccurs="0">
395 <xsd:complexType>
396 <xsd:sequence>
397 <xsd:element name="HardDisk" type="THardDisk" minOccurs="0" maxOccurs="unbounded"/>
398 </xsd:sequence>
399 </xsd:complexType>
400 </xsd:element>
401 <xsd:element name="DVDImages" minOccurs="0">
402 <xsd:complexType>
403 <xsd:sequence>
404 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
405 </xsd:sequence>
406 </xsd:complexType>
407 </xsd:element>
408 <xsd:element name="FloppyImages" minOccurs="0">
409 <xsd:complexType>
410 <xsd:sequence>
411 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
412 </xsd:sequence>
413 </xsd:complexType>
414 </xsd:element>
415 </xsd:all>
416 </xsd:complexType>
417 </xsd:element>
418 <xsd:element name="NetserviceRegistry" minOccurs="0" maxOccurs="1">
419 <xsd:complexType>
420 <xsd:all>
421 <xsd:element name="DHCPServers" minOccurs="0">
422 <xsd:complexType>
423 <xsd:sequence>
424 <xsd:element name="DHCPServer" type="TDHCPServer" minOccurs="0" maxOccurs="unbounded"/>
425 </xsd:sequence>
426 </xsd:complexType>
427 </xsd:element>
428 </xsd:all>
429 </xsd:complexType>
430 </xsd:element>
431 <xsd:element name="USBDeviceFilters">
432 <xsd:complexType>
433 <xsd:sequence>
434 <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
435 minOccurs="0" maxOccurs="unbounded"/>
436 </xsd:sequence>
437 </xsd:complexType>
438 </xsd:element>
439 <xsd:element name="SystemProperties" type="TSystemProperties"/>
440 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
441 </xsd:all>
442</xsd:complexType>
443
444<xsd:complexType name="THWVirtExType">
445 <xsd:attribute name="enabled" type="TTriStateBoolType"/>
446 <xsd:attribute name="exclusive" type="xsd:boolean"/>
447</xsd:complexType>
448
449<xsd:complexType name="THWVirtExNestedPagingType">
450 <xsd:attribute name="enabled" type="xsd:boolean"/>
451</xsd:complexType>
452
453<xsd:complexType name="THWVirtExVPIDType">
454 <xsd:attribute name="enabled" type="xsd:boolean"/>
455</xsd:complexType>
456
457<xsd:complexType name="TSyntheticCpuType">
458 <xsd:attribute name="enabled" type="xsd:boolean"/>
459</xsd:complexType>
460
461<xsd:complexType name="TPAEType">
462 <xsd:attribute name="enabled" type="xsd:boolean"/>
463</xsd:complexType>
464
465<xsd:simpleType name="TCPUCount">
466 <xsd:restriction base="xsd:unsignedInt">
467 <xsd:minInclusive value="1"/>
468 <xsd:maxInclusive value="32"/>
469 </xsd:restriction>
470</xsd:simpleType>
471
472<xsd:complexType name="TCpuIdLeaf">
473 <xsd:attribute name="id" type="TUInt32Hex" use="required"/>
474 <xsd:attribute name="eax" type="TUInt32Hex" use="required"/>
475 <xsd:attribute name="ebx" type="TUInt32Hex" use="required"/>
476 <xsd:attribute name="ecx" type="TUInt32Hex" use="required"/>
477 <xsd:attribute name="edx" type="TUInt32Hex" use="required"/>
478</xsd:complexType>
479
480<xsd:complexType name="TCpuIdTree">
481 <xsd:sequence>
482 <xsd:element name="CpuIdLeaf" type="TCpuIdLeaf"
483 minOccurs="0" maxOccurs="unbounded"/>
484 </xsd:sequence>
485</xsd:complexType>
486
487<xsd:complexType name="TCPU">
488 <xsd:sequence>
489 <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
490 <xsd:element name="HardwareVirtExNestedPaging" type="THWVirtExNestedPagingType" minOccurs="0"/>
491 <xsd:element name="HardwareVirtExVPID" type="THWVirtExVPIDType" minOccurs="0"/>
492 <xsd:element name="PAE" type="TPAEType" minOccurs="0"/>
493 <xsd:element name="SyntheticCpu" type="TSyntheticCpuType" minOccurs="0"/>
494 <xsd:element name="CpuIdTree" type="TCpuIdTree" minOccurs="0">
495 <xsd:unique name="TCPU-CpuIdTree-CpuIdLeaf">
496 <xsd:selector xpath="vb:CpuIdLeaf"/>
497 <xsd:field xpath="@id"/>
498 </xsd:unique>
499 </xsd:element>
500 </xsd:sequence>
501 <xsd:attribute name="count" type="TCPUCount" default="1"/>
502</xsd:complexType>
503
504<xsd:complexType name="TBoot">
505 <xsd:sequence>
506 <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
507 <xsd:complexType>
508 <xsd:attribute name="position" use="required">
509 <xsd:simpleType>
510 <xsd:restriction base="xsd:unsignedInt">
511 <xsd:minInclusive value="1"/>
512 <xsd:maxInclusive value="4"/>
513 </xsd:restriction>
514 </xsd:simpleType>
515 </xsd:attribute>
516 <xsd:attribute name="device" type="TDeviceType" use="required"/>
517 </xsd:complexType>
518 </xsd:element>
519 </xsd:sequence>
520</xsd:complexType>
521
522<xsd:complexType name="TDisplay">
523 <xsd:attribute name="VRAMSize" use="required">
524 <xsd:simpleType>
525 <xsd:restriction base="xsd:unsignedInt">
526 <xsd:minInclusive value="1"/>
527 <xsd:maxInclusive value="256"/>
528 </xsd:restriction>
529 </xsd:simpleType>
530 </xsd:attribute>
531 <xsd:attribute name="monitorCount" default="1">
532 <xsd:simpleType>
533 <xsd:restriction base="xsd:unsignedInt">
534 <xsd:maxInclusive value="8"/>
535 </xsd:restriction>
536 </xsd:simpleType>
537 </xsd:attribute>
538 <xsd:attribute name="accelerate3D" type="xsd:boolean" default="false"/>
539 <xsd:attribute name="accelerate2DVideo" type="xsd:boolean" default="false"/>
540</xsd:complexType>
541
542<xsd:complexType name="TRemoteDisplay">
543 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
544 <xsd:attribute name="authType" type="TAuthType" default="Null"/>
545 <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
546 <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
547 <xsd:attribute name="reuseSingleConnection" type="xsd:boolean" default="false"/>
548</xsd:complexType>
549
550<xsd:complexType name="TBIOS">
551 <xsd:all>
552 <xsd:element name="ACPI">
553 <xsd:complexType>
554 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
555 </xsd:complexType>
556 </xsd:element>
557 <xsd:element name="IOAPIC" minOccurs="0">
558 <xsd:complexType>
559 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
560 </xsd:complexType>
561 </xsd:element>
562 <xsd:element name="Logo" minOccurs="0">
563 <xsd:complexType>
564 <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
565 <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
566 <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
567 <xsd:attribute name="imagePath" type="TLocalFile"/>
568 </xsd:complexType>
569 </xsd:element>
570 <xsd:element name="BootMenu" minOccurs="0">
571 <xsd:complexType>
572 <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="MessageAndMenu"/>
573 </xsd:complexType>
574 </xsd:element>
575 <xsd:element name="TimeOffset" minOccurs="0">
576 <xsd:complexType>
577 <xsd:attribute name="value" type="xsd:integer" default="0"/>
578 </xsd:complexType>
579 </xsd:element>
580 <xsd:element name="PXEDebug" minOccurs="0">
581 <xsd:complexType>
582 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
583 </xsd:complexType>
584 </xsd:element>
585 </xsd:all>
586</xsd:complexType>
587
588<xsd:complexType name="TStorageControllerDevice">
589 <xsd:choice minOccurs="0">
590 <xsd:element name="Image" type="TImageRef"/>
591 <xsd:element name="HostDrive" type="THostDrive"/>
592 </xsd:choice>
593 <xsd:attribute name="type" use="required">
594 <xsd:simpleType>
595 <xsd:restriction base="xsd:token">
596 <xsd:enumeration value="HardDisk"/>
597 <xsd:enumeration value="CD/DVD"/>
598 </xsd:restriction>
599 </xsd:simpleType>
600 </xsd:attribute>
601 <xsd:attribute name="port" type="xsd:unsignedInt" use="required"/>
602 <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
603</xsd:complexType>
604
605<xsd:complexType name="TStorageController">
606 <xsd:sequence>
607 <xsd:element name="AttachedDevice" type="TStorageControllerDevice"
608 minOccurs="0" maxOccurs="unbounded"/>
609 </xsd:sequence>
610 <xsd:attribute name="name" type="xsd:string" use="required"/>
611 <xsd:attribute name="type" use="required">
612 <xsd:simpleType>
613 <xsd:restriction base="xsd:token">
614 <xsd:enumeration value="AHCI"/>
615 <xsd:enumeration value="LsiLogic"/>
616 <xsd:enumeration value="BusLogic"/>
617 <xsd:enumeration value="PIIX3"/>
618 <xsd:enumeration value="PIIX4"/>
619 <xsd:enumeration value="ICH6"/>
620 <xsd:enumeration value="LsiLogicSas"/>
621 </xsd:restriction>
622 </xsd:simpleType>
623 </xsd:attribute>
624 <xsd:attribute name="PortCount" type="xsd:unsignedInt" use="required"/>
625 <xsd:attribute name="bootable" type="xsd:boolean" use="optional"/>
626 <xsd:attribute name="PCIBus" type="xsd:unsignedInt" use="optional"/>
627 <xsd:attribute name="PCIDevice" type="xsd:unsignedInt" use="optional"/>
628 <xsd:attribute name="PCIFunction" type="xsd:unsignedInt" use="optional"/>
629 <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
630 <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
631 <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
632 <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
633</xsd:complexType>
634
635<xsd:complexType name="TStorageControllers">
636 <xsd:sequence>
637 <xsd:element name="StorageController" type="TStorageController"
638 minOccurs="0" maxOccurs="unbounded"/>
639 </xsd:sequence>
640</xsd:complexType>
641
642<xsd:complexType name="TDVDDrive">
643 <xsd:choice minOccurs="0">
644 <xsd:element name="Image" type="TImageRef"/>
645 <xsd:element name="HostDrive" type="THostDrive"/>
646 </xsd:choice>
647 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
648</xsd:complexType>
649
650<xsd:complexType name="TFloppyDrive">
651 <xsd:choice minOccurs="0">
652 <xsd:element name="Image" type="TImageRef"/>
653 <xsd:element name="HostDrive" type="THostDrive"/>
654 </xsd:choice>
655 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
656</xsd:complexType>
657
658<xsd:complexType name="TUSBController">
659 <xsd:sequence>
660 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
661 minOccurs="0" maxOccurs="unbounded"/>
662 </xsd:sequence>
663 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
664 <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
665</xsd:complexType>
666
667<xsd:complexType name="TAudioAdapterBase">
668 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
669 <xsd:attribute name="controller" default="AC97">
670 <xsd:simpleType>
671 <xsd:restriction base="xsd:token">
672 <xsd:enumeration value="AC97"/>
673 <xsd:enumeration value="SB16"/>
674 </xsd:restriction>
675 </xsd:simpleType>
676 </xsd:attribute>
677</xsd:complexType>
678
679<xsd:complexType name="TNetworkAdapter">
680 <xsd:choice minOccurs="0">
681 <xsd:element name="NAT">
682 <xsd:complexType>
683 <xsd:attribute name="network" type="xsd:string"/>
684 </xsd:complexType>
685 <xsd:complexType>
686 <xsd:attribute name="hostip" type="xsd:string"/>
687 </xsd:complexType>
688 <xsd:complexType>
689 <xsd:attribute name="mtu" type="xsd:unsignedInt"/>
690 </xsd:complexType>
691 <xsd:complexType>
692 <xsd:attribute name="sockrcv" type="xsd:unsignedInt"/>
693 </xsd:complexType>
694 <xsd:complexType>
695 <xsd:attribute name="socksnd" type="xsd:unsignedInt"/>
696 </xsd:complexType>
697 <xsd:complexType>
698 <xsd:attribute name="tcprcv" type="xsd:unsignedInt"/>
699 </xsd:complexType>
700 <xsd:complexType>
701 <xsd:attribute name="tcpsnd" type="xsd:unsignedInt"/>
702 </xsd:complexType>
703 <xsd:element name="DNS">
704 <xsd:complexType>
705 <xsd:attribute name="pass-domain" type="xsd:boolean"/>
706 </xsd:complexType>
707 <xsd:complexType>
708 <xsd:attribute name="use-proxy" type="xsd:boolean"/>
709 </xsd:complexType>
710 <xsd:complexType>
711 <xsd:attribute name="use-host-resolver" type="xsd:boolean"/>
712 </xsd:complexType>
713 </xsd:element>
714 <xsd:element name="TFTP">
715 <xsd:complexType>
716 <xsd:attribute name="prefix" type="xsd:string"/>
717 </xsd:complexType>
718 <xsd:complexType>
719 <xsd:attribute name="boot-file" type="xsd:string"/>
720 </xsd:complexType>
721 <xsd:complexType>
722 <xsd:attribute name="next-server" type="xsd:string"/>
723 </xsd:complexType>
724 </xsd:element>
725 <xsd:element name="Forwarding">
726 <xsd:complexType>
727 <xsd:attribute name="name" type="xsd:string"/>
728 </xsd:complexType>
729 <xsd:complexType>
730 <xsd:attribute name="proto" type="xsd:unsignedInt"/>
731 </xsd:complexType>
732 <xsd:complexType>
733 <xsd:attribute name="hostip" type="xsd:string"/>
734 </xsd:complexType>
735 <xsd:complexType>
736 <xsd:attribute name="hostport" type="xsd:unsignedInt"/>
737 </xsd:complexType>
738 <xsd:complexType>
739 <xsd:attribute name="guestip" type="xsd:string"/>
740 </xsd:complexType>
741 <xsd:complexType>
742 <xsd:attribute name="guestport" type="xsd:unsignedInt"/>
743 </xsd:complexType>
744 </xsd:element>
745 </xsd:element>
746 <xsd:element name="HostInterface">
747 <xsd:complexType>
748 <xsd:attribute name="name" type="xsd:string" use="required"/>
749 </xsd:complexType>
750 </xsd:element>
751 <xsd:element name="BridgedInterface">
752 <xsd:complexType>
753 <xsd:attribute name="name" type="xsd:string" use="required"/>
754 </xsd:complexType>
755 </xsd:element>
756 <xsd:element name="InternalNetwork">
757 <xsd:complexType>
758 <xsd:attribute name="name" type="xsd:string" use="required"/>
759 </xsd:complexType>
760 </xsd:element>
761 <xsd:element name="HostOnlyInterface">
762 <xsd:complexType>
763 <xsd:attribute name="name" type="xsd:string" use="required"/>
764 </xsd:complexType>
765 </xsd:element>
766 </xsd:choice>
767 <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
768 <xsd:attribute name="slot" use="required">
769 <xsd:simpleType>
770 <xsd:restriction base="xsd:unsignedInt">
771 <xsd:minInclusive value="0"/>
772 <xsd:maxExclusive value="8"/>
773 </xsd:restriction>
774 </xsd:simpleType>
775 </xsd:attribute>
776 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
777 <xsd:attribute name="MACAddress">
778 <xsd:simpleType>
779 <xsd:restriction base="xsd:hexBinary">
780 <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
781 </xsd:restriction>
782 </xsd:simpleType>
783 </xsd:attribute>
784 <xsd:attribute name="cable" type="xsd:boolean" use="required"/>
785 <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
786 <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
787 <xsd:attribute name="tracefile" type="xsd:string"/>
788</xsd:complexType>
789
790<xsd:complexType name="TNetwork">
791 <xsd:sequence>
792 <xsd:element name="Adapter" type="TNetworkAdapter"
793 minOccurs="0" maxOccurs="unbounded"/>
794 </xsd:sequence>
795</xsd:complexType>
796
797<xsd:complexType name="TUARTPort">
798 <xsd:attribute name="slot" use="required">
799 <xsd:simpleType>
800 <xsd:restriction base="xsd:unsignedInt">
801 <xsd:minInclusive value="0"/>
802 <xsd:maxExclusive value="2"/>
803 </xsd:restriction>
804 </xsd:simpleType>
805 </xsd:attribute>
806 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
807 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
808 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
809 <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
810 <xsd:attribute name="path" type="TLocalFile"/>
811 <xsd:attribute name="server" type="xsd:boolean" default="false"/>
812</xsd:complexType>
813
814<xsd:complexType name="TUART">
815 <xsd:sequence>
816 <xsd:element name="Port" type="TUARTPort"
817 minOccurs="0" maxOccurs="unbounded"/>
818 </xsd:sequence>
819</xsd:complexType>
820
821<xsd:complexType name="TLPTPort">
822 <xsd:attribute name="slot" use="required">
823 <xsd:simpleType>
824 <xsd:restriction base="xsd:unsignedInt">
825 <xsd:minInclusive value="0"/>
826 <xsd:maxExclusive value="2"/>
827 </xsd:restriction>
828 </xsd:simpleType>
829 </xsd:attribute>
830 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
831 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
832 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
833 <xsd:attribute name="path" type="TLocalFile"/>
834</xsd:complexType>
835
836<xsd:complexType name="TLPT">
837 <xsd:sequence>
838 <xsd:element name="Port" type="TLPTPort"
839 minOccurs="0" maxOccurs="unbounded"/>
840 </xsd:sequence>
841</xsd:complexType>
842
843<xsd:complexType name="TSharedFolder">
844 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
845 <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
846 <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
847</xsd:complexType>
848
849<xsd:complexType name="TSharedFolders">
850 <xsd:sequence>
851 <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
852 </xsd:sequence>
853</xsd:complexType>
854
855<xsd:complexType name="TClipboard">
856 <xsd:attribute name="mode" type="TClipboardMode" use="required"/>
857</xsd:complexType>
858
859<xsd:complexType name="TGuest">
860 <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
861 <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
862</xsd:complexType>
863
864<xsd:complexType name="TGuestProperty">
865 <xsd:attribute name="name" type="xsd:string" use="required"/>
866 <xsd:attribute name="value" type="xsd:string" use="required"/>
867 <xsd:attribute name="timestamp" type="xsd:unsignedLong" default="0"/>
868 <xsd:attribute name="flags" type="xsd:string" default=""/>
869</xsd:complexType>
870
871<xsd:complexType name="TGuestProperties">
872 <xsd:sequence>
873 <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
874 </xsd:sequence>
875 <xsd:attribute name="notificationPatterns" type="xsd:string" default=""/>
876</xsd:complexType>
877
878<xsd:complexType name="TMemory">
879 <xsd:attribute name="RAMSize" use="required">
880 <xsd:simpleType>
881 <xsd:restriction base="xsd:unsignedInt">
882 <xsd:minInclusive value="4"/>
883 <xsd:maxInclusive value="16384"/>
884 </xsd:restriction>
885 </xsd:simpleType>
886 </xsd:attribute>
887</xsd:complexType>
888
889<xsd:complexType name="THardware">
890 <xsd:all>
891 <xsd:element name="CPU" type="TCPU" minOccurs="0"/>
892 <xsd:element name="Memory" type="TMemory"/>
893 <xsd:element name="Boot" type="TBoot">
894 <xsd:unique name="THardware-Boot-Order">
895 <xsd:selector xpath="vb:Order"/>
896 <xsd:field xpath="@position"/>
897 </xsd:unique>
898 </xsd:element>
899 <xsd:element name="Display" type="TDisplay"/>
900 <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
901 <xsd:element name="BIOS" type="TBIOS"/>
902 <xsd:element name="DVDDrive" type="TDVDDrive"/>
903 <xsd:element name="FloppyDrive" type="TFloppyDrive"/>
904 <xsd:element name="USBController" type="TUSBController"/>
905 <xsd:element name="Network" type="TNetwork">
906 <xsd:unique name="THardware-Network-Adapter">
907 <xsd:selector xpath="vb:Adapter"/>
908 <xsd:field xpath="@slot"/>
909 </xsd:unique>
910 </xsd:element>
911 <xsd:element name="UART" type="TUART">
912 <xsd:unique name="THardware-UART-Port">
913 <xsd:selector xpath="vb:Port"/>
914 <xsd:field xpath="@slot"/>
915 </xsd:unique>
916 </xsd:element>
917 <xsd:element name="LPT" type="TLPT">
918 <xsd:unique name="THardware-LPT-Port">
919 <xsd:selector xpath="vb:Port"/>
920 <xsd:field xpath="@slot"/>
921 </xsd:unique>
922 </xsd:element>
923 <xsd:element name="AudioAdapter" type="TAudioAdapter"/>
924 <xsd:element name="SharedFolders" type="TSharedFolders">
925 <xsd:unique name="THardware-SharedFolders-SharedFolder">
926 <xsd:selector xpath="vb:SharedFolder"/>
927 <xsd:field xpath="@name"/>
928 </xsd:unique>
929 </xsd:element>
930 <xsd:element name="Clipboard" type="TClipboard"/>
931 <xsd:element name="Guest" type="TGuest"/>
932 <xsd:element name="GuestProperties" type="TGuestProperties" minOccurs="0">
933 <xsd:unique name="THardware-GuestProperties-GuestProperty">
934 <xsd:selector xpath="vb:GuestProperty"/>
935 <xsd:field xpath="@name"/>
936 </xsd:unique>
937 </xsd:element>
938 </xsd:all>
939 <xsd:attribute name="version" type="xsd:string" default="2"/>
940</xsd:complexType>
941
942<xsd:complexType name="TMachine">
943 <xsd:all>
944 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
945 <xsd:element name="Hardware" type="THardware"/>
946 <xsd:element name="StorageControllers" type="TStorageControllers"/>
947 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
948 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
949 </xsd:all>
950 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
951 <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
952 <xsd:attribute name="OSType" type="TGuestOSType" use="required"/>
953 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
954 <xsd:attribute name="stateFile" type="TLocalFile"/>
955 <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
956 <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
957 <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
958 <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
959 <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
960</xsd:complexType>
961
962<xsd:complexType name="TSnapshot">
963 <xsd:all>
964 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
965 <xsd:element name="Hardware" type="THardware"/>
966 <xsd:element name="StorageControllers" type="TStorageControllers"/>
967 <xsd:element name="Snapshots" minOccurs="0">
968 <xsd:complexType>
969 <xsd:sequence>
970 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
971 </xsd:sequence>
972 </xsd:complexType>
973 </xsd:element>
974 </xsd:all>
975 <xsd:attribute name="name" type="xsd:token" use="required"/>
976 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
977 <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
978 <xsd:attribute name="stateFile" type="TLocalFile"/>
979</xsd:complexType>
980
981<xsd:complexType name="TVirtualBox" abstract="true">
982 <xsd:choice>
983 <xsd:element name="Global" type="TGlobal"/>
984 <xsd:element name="Machine" type="TMachine">
985 <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
986 <xsd:key name="snapshot">
987 <xsd:selector xpath=".//vb:Snapshot"/>
988 <xsd:field xpath="@uuid"/>
989 </xsd:key>
990 <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
991 <xsd:selector xpath="."/>
992 <xsd:field xpath="@currentSnapshot"/>
993 </xsd:keyref>
994 </xsd:element>
995 </xsd:choice>
996</xsd:complexType>
997
998</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