VirtualBox

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

Last change on this file since 38755 was 38755, checked in by vboxsync, 13 years ago

Windows 8 OS type

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