VirtualBox

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

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

Main, QT4/FE: OS X guest type support

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 33.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * :tabSize=2:indentSize=2:noTabs=true:
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Sun VirtualBox Settings Schema
7 * Common definitions
8
9 Copyright (C) 2004-2009 Sun Microsystems, Inc.
10
11 This file is part of VirtualBox Open Source Edition (OSE), as
12 available from http://www.virtualbox.org. This file is free software;
13 you can redistribute it and/or modify it under the terms of the GNU
14 General Public License (GPL) as published by the Free Software
15 Foundation, in version 2 as it comes in the "COPYING" file of the
16 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
17 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18
19 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
20 Clara, CA 95054 USA or visit http://www.sun.com if you need
21 additional information or have any questions.
22-->
23
24<xsd:schema
25 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
26 xmlns="http://www.innotek.de/VirtualBox-settings"
27 xmlns:vb="http://www.innotek.de/VirtualBox-settings"
28 targetNamespace="http://www.innotek.de/VirtualBox-settings"
29 elementFormDefault="qualified"
30>
31
32<xsd:annotation>
33 <xsd:documentation xml:lang="en">
34 Sun VirtualBox Settings Schema (common definitions).
35 Copyright (c) 2004-2009 Sun Microsystems, Inc.
36 </xsd:documentation>
37</xsd:annotation>
38
39<!--
40// Simple types
41/////////////////////////////////////////////////////////////////////////
42-->
43
44<xsd:simpleType name="TUUID">
45 <xsd:restriction base="xsd:token">
46 <xsd:pattern value="\{[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}\}"/>
47 </xsd:restriction>
48</xsd:simpleType>
49
50<xsd:simpleType name="TNonNullUUID">
51 <xsd:restriction base="TUUID">
52 <xsd:pattern value=".*[1-9A-Fa-f]+.*"/>
53 </xsd:restriction>
54</xsd:simpleType>
55
56<xsd:simpleType name="TUInt8">
57 <xsd:union>
58 <xsd:simpleType>
59 <xsd:restriction base="xsd:unsignedByte">
60 </xsd:restriction>
61 </xsd:simpleType>
62 <xsd:simpleType>
63 <xsd:restriction base="xsd:string">
64 <xsd:pattern value="0[xX][A-Fa-f0-9]{1,2}"/>
65 </xsd:restriction>
66 </xsd:simpleType>
67 </xsd:union>
68</xsd:simpleType>
69
70<xsd:simpleType name="TUInt16">
71 <xsd:union>
72 <xsd:simpleType>
73 <xsd:restriction base="xsd:unsignedShort">
74 </xsd:restriction>
75 </xsd:simpleType>
76 <xsd:simpleType>
77 <xsd:restriction base="xsd:string">
78 <xsd:pattern value="0[xX][A-Fa-f0-9]{1,4}"/>
79 </xsd:restriction>
80 </xsd:simpleType>
81 </xsd:union>
82</xsd:simpleType>
83
84<xsd:simpleType name="TUInt32Hex">
85 <xsd:restriction base="xsd:string">
86 <xsd:pattern value="0x[A-Fa-f0-9]{1,8}"/>
87 </xsd:restriction>
88</xsd:simpleType>
89
90<xsd:simpleType name="TUInt64Hex">
91 <xsd:restriction base="xsd:string">
92 <xsd:pattern value="0x[A-Fa-f0-9]{1,16}"/>
93 </xsd:restriction>
94</xsd:simpleType>
95
96<xsd:simpleType name="TLocalFile">
97 <xsd:restriction base="xsd:string">
98 <xsd:pattern value=".+"/>
99 </xsd:restriction>
100</xsd:simpleType>
101
102<xsd:simpleType name="TDiskType">
103 <xsd:restriction base="xsd:token">
104 <xsd:enumeration value="HD"/>
105 <xsd:enumeration value="DVD"/>
106 <xsd:enumeration value="FD"/>
107 </xsd:restriction>
108</xsd:simpleType>
109
110<xsd:simpleType name="TDeviceType">
111 <xsd:restriction base="xsd:token">
112 <xsd:enumeration value="None"/>
113 <xsd:enumeration value="Floppy"/>
114 <xsd:enumeration value="DVD"/>
115 <xsd:enumeration value="HardDisk"/>
116 <xsd:enumeration value="Network"/>
117 </xsd:restriction>
118</xsd:simpleType>
119
120<xsd:simpleType name="TUSBDeviceFilterAction">
121 <xsd:restriction base="xsd:token">
122 <xsd:enumeration value="Ignore"/>
123 <xsd:enumeration value="Hold"/>
124 </xsd:restriction>
125</xsd:simpleType>
126
127<xsd:simpleType name="TNonEmptyString">
128 <xsd:restriction base="xsd:string">
129 <xsd:pattern value=".+"/>
130 </xsd:restriction>
131</xsd:simpleType>
132
133<xsd:simpleType name="TPresentDateTimeUTC">
134 <xsd:restriction base="xsd:dateTime">
135 <xsd:minInclusive value="1900-01-01T00:00:00Z"/>
136 <xsd:maxInclusive value="199999999-12-31T23:59:59Z"/>
137 <xsd:pattern value=".+-.+-.+T.+:.+:[0-9]{2}Z"/>
138 </xsd:restriction>
139</xsd:simpleType>
140
141<xsd:simpleType name="TGuestOSType">
142 <xsd:restriction base="xsd:string">
143 <xsd:enumeration value="Other"/>
144 <xsd:enumeration value="DOS"/>
145 <xsd:enumeration value="Netware"/>
146 <xsd:enumeration value="L4"/>
147 <xsd:enumeration value="Windows31"/>
148 <xsd:enumeration value="Windows95"/>
149 <xsd:enumeration value="Windows98"/>
150 <xsd:enumeration value="WindowsMe"/>
151 <xsd:enumeration value="WindowsNT4"/>
152 <xsd:enumeration value="Windows2000"/>
153 <xsd:enumeration value="WindowsXP"/>
154 <xsd:enumeration value="WindowsXP_64"/>
155 <xsd:enumeration value="Windows2003"/>
156 <xsd:enumeration value="Windows2003_64"/>
157 <xsd:enumeration value="WindowsVista"/>
158 <xsd:enumeration value="WindowsVista_64"/>
159 <xsd:enumeration value="Windows2008"/>
160 <xsd:enumeration value="Windows2008_64"/>
161 <xsd:enumeration value="Windows7"/>
162 <xsd:enumeration value="Windows7_64"/>
163 <xsd:enumeration value="WindowsNT"/>
164 <xsd:enumeration value="OS2Warp3"/>
165 <xsd:enumeration value="OS2Warp4"/>
166 <xsd:enumeration value="OS2Warp45"/>
167 <xsd:enumeration value="OS2eCS"/>
168 <xsd:enumeration value="OS2"/>
169 <xsd:enumeration value="Linux22"/>
170 <xsd:enumeration value="Linux24"/>
171 <xsd:enumeration value="Linux24_64"/>
172 <xsd:enumeration value="Linux26"/>
173 <xsd:enumeration value="Linux26_64"/>
174 <xsd:enumeration value="ArchLinux"/>
175 <xsd:enumeration value="ArchLinux_64"/>
176 <xsd:enumeration value="Debian"/>
177 <xsd:enumeration value="Debian_64"/>
178 <xsd:enumeration value="OpenSUSE"/>
179 <xsd:enumeration value="OpenSUSE_64"/>
180 <xsd:enumeration value="Fedora"/>
181 <xsd:enumeration value="Fedora_64"/>
182 <xsd:enumeration value="Gentoo"/>
183 <xsd:enumeration value="Gentoo_64"/>
184 <xsd:enumeration value="Mandriva"/>
185 <xsd:enumeration value="Mandriva_64"/>
186 <xsd:enumeration value="RedHat"/>
187 <xsd:enumeration value="RedHat_64"/>
188 <xsd:enumeration value="Turbolinux"/>
189 <xsd:enumeration value="Ubuntu"/>
190 <xsd:enumeration value="Ubuntu_64"/>
191 <xsd:enumeration value="Xandros"/>
192 <xsd:enumeration value="Xandros_64"/>
193 <xsd:enumeration value="Oracle"/>
194 <xsd:enumeration value="Oracle_64"/>
195 <xsd:enumeration value="Linux"/>
196 <xsd:enumeration value="FreeBSD"/>
197 <xsd:enumeration value="FreeBSD_64"/>
198 <xsd:enumeration value="OpenBSD"/>
199 <xsd:enumeration value="OpenBSD_64"/>
200 <xsd:enumeration value="NetBSD"/>
201 <xsd:enumeration value="NetBSD_64"/>
202 <xsd:enumeration value="Solaris"/>
203 <xsd:enumeration value="Solaris_64"/>
204 <xsd:enumeration value="OpenSolaris"/>
205 <xsd:enumeration value="OpenSolaris_64"/>
206 <xsd:enumeration value="QNX"/>
207 <xsd:enumeration value="MacOS"/>
208 <xsd:enumeration value="MacOS_64"/>
209 </xsd:restriction>
210</xsd:simpleType>
211
212
213<xsd:simpleType name="TVRDPAuthType">
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:restriction>
313 </xsd:simpleType>
314 </xsd:attribute>
315 </xsd:extension>
316 </xsd:complexContent>
317</xsd:complexType>
318
319<xsd:complexType name="TImage2">
320 <xsd:sequence>
321 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
322 </xsd:sequence>
323 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
324 <xsd:attribute name="location" type="TLocalFile" use="required"/>
325</xsd:complexType>
326
327<xsd:complexType name="TImageRef">
328 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
329</xsd:complexType>
330
331<xsd:complexType name="THostDrive">
332 <xsd:attribute name="src" type="TLocalFile" use="required"/>
333</xsd:complexType>
334
335<xsd:complexType name="TUSBDeviceFilter">
336 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
337 <xsd:attribute name="active" type="xsd:boolean" use="required"/>
338 <xsd:attribute name="vendorId" type="xsd:token"/>
339 <xsd:attribute name="productId" type="xsd:token"/>
340 <xsd:attribute name="revision" type="xsd:token"/>
341 <xsd:attribute name="manufacturer" type="xsd:token"/>
342 <xsd:attribute name="product" type="xsd:token"/>
343 <xsd:attribute name="serialNumber" type="xsd:token"/>
344 <xsd:attribute name="port" type="xsd:token"/>
345 <xsd:attribute name="remote" type="xsd:token"/>
346 <xsd:attribute name="maskedInterfaces" type="xsd:unsignedInt" default="0"/>
347</xsd:complexType>
348
349<xsd:complexType name="THostUSBDeviceFilter">
350 <xsd:complexContent>
351 <xsd:extension base="TUSBDeviceFilter">
352 <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
353 </xsd:extension>
354 </xsd:complexContent>
355</xsd:complexType>
356
357<xsd:complexType name="TSystemProperties">
358 <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
359 <xsd:attribute name="defaultHardDiskFolder" type="TLocalFile"/>
360 <xsd:attribute name="defaultHardDiskFormat" type="TNonEmptyString"/>
361 <xsd:attribute name="remoteDisplayAuthLibrary" type="TLocalFile"/>
362 <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
363 <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
364 <xsd:attribute name="LogHistoryCount" type="xsd:unsignedInt" default="3"/>
365</xsd:complexType>
366
367<xsd:complexType name="TExtraData">
368 <xsd:sequence>
369 <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
370 <xsd:complexType>
371 <xsd:attribute name="name" type="xsd:token" use="required"/>
372 <xsd:attribute name="value" type="xsd:string" use="required"/>
373 </xsd:complexType>
374 </xsd:element>
375 </xsd:sequence>
376</xsd:complexType>
377
378<xsd:complexType name="TGlobal">
379 <xsd:all>
380 <xsd:element name="MachineRegistry">
381 <xsd:complexType>
382 <xsd:sequence>
383 <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
384 <xsd:complexType>
385 <xsd:attribute name="src" type="TLocalFile" use="required"/>
386 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
387 </xsd:complexType>
388 </xsd:element>
389 </xsd:sequence>
390 </xsd:complexType>
391 </xsd:element>
392 <xsd:element name="MediaRegistry">
393 <xsd:complexType>
394 <xsd:all>
395 <xsd:element name="HardDisks" minOccurs="0">
396 <xsd:complexType>
397 <xsd:sequence>
398 <xsd:element name="HardDisk" type="THardDisk" minOccurs="0" maxOccurs="unbounded"/>
399 </xsd:sequence>
400 </xsd:complexType>
401 </xsd:element>
402 <xsd:element name="DVDImages" minOccurs="0">
403 <xsd:complexType>
404 <xsd:sequence>
405 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
406 </xsd:sequence>
407 </xsd:complexType>
408 </xsd:element>
409 <xsd:element name="FloppyImages" minOccurs="0">
410 <xsd:complexType>
411 <xsd:sequence>
412 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
413 </xsd:sequence>
414 </xsd:complexType>
415 </xsd:element>
416 </xsd:all>
417 </xsd:complexType>
418 </xsd:element>
419 <xsd:element name="NetserviceRegistry" minOccurs="0" maxOccurs="1">
420 <xsd:complexType>
421 <xsd:all>
422 <xsd:element name="DHCPServers" minOccurs="0">
423 <xsd:complexType>
424 <xsd:sequence>
425 <xsd:element name="DHCPServer" type="TDHCPServer" minOccurs="0" maxOccurs="unbounded"/>
426 </xsd:sequence>
427 </xsd:complexType>
428 </xsd:element>
429 </xsd:all>
430 </xsd:complexType>
431 </xsd:element>
432 <xsd:element name="USBDeviceFilters">
433 <xsd:complexType>
434 <xsd:sequence>
435 <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
436 minOccurs="0" maxOccurs="unbounded"/>
437 </xsd:sequence>
438 </xsd:complexType>
439 </xsd:element>
440 <xsd:element name="SystemProperties" type="TSystemProperties"/>
441 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
442 </xsd:all>
443</xsd:complexType>
444
445<xsd:complexType name="THWVirtExType">
446 <xsd:attribute name="enabled" type="TTriStateBoolType"/>
447 <xsd:attribute name="exclusive" type="xsd:boolean"/>
448</xsd:complexType>
449
450<xsd:complexType name="THWVirtExNestedPagingType">
451 <xsd:attribute name="enabled" type="xsd:boolean"/>
452</xsd:complexType>
453
454<xsd:complexType name="THWVirtExVPIDType">
455 <xsd:attribute name="enabled" type="xsd:boolean"/>
456</xsd:complexType>
457
458<xsd:complexType name="TSyntheticCpuType">
459 <xsd:attribute name="enabled" type="xsd:boolean"/>
460</xsd:complexType>
461
462<xsd:complexType name="TPAEType">
463 <xsd:attribute name="enabled" type="xsd:boolean"/>
464</xsd:complexType>
465
466<xsd:simpleType name="TCPUCount">
467 <xsd:restriction base="xsd:unsignedInt">
468 <xsd:minInclusive value="1"/>
469 <xsd:maxInclusive value="32"/>
470 </xsd:restriction>
471</xsd:simpleType>
472
473<xsd:complexType name="TCpuIdLeaf">
474 <xsd:attribute name="id" type="TUInt32Hex" use="required"/>
475 <xsd:attribute name="eax" type="TUInt32Hex" use="required"/>
476 <xsd:attribute name="ebx" type="TUInt32Hex" use="required"/>
477 <xsd:attribute name="ecx" type="TUInt32Hex" use="required"/>
478 <xsd:attribute name="edx" type="TUInt32Hex" use="required"/>
479</xsd:complexType>
480
481<xsd:complexType name="TCpuIdTree">
482 <xsd:sequence>
483 <xsd:element name="CpuIdLeaf" type="TCpuIdLeaf"
484 minOccurs="0" maxOccurs="unbounded"/>
485 </xsd:sequence>
486</xsd:complexType>
487
488<xsd:complexType name="TCPU">
489 <xsd:sequence>
490 <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
491 <xsd:element name="HardwareVirtExNestedPaging" type="THWVirtExNestedPagingType" minOccurs="0"/>
492 <xsd:element name="HardwareVirtExVPID" type="THWVirtExVPIDType" minOccurs="0"/>
493 <xsd:element name="PAE" type="TPAEType" minOccurs="0"/>
494 <xsd:element name="SyntheticCpu" type="TSyntheticCpuType" minOccurs="0"/>
495 <xsd:element name="CpuIdTree" type="TCpuIdTree" minOccurs="0">
496 <xsd:unique name="TCPU-CpuIdTree-CpuIdLeaf">
497 <xsd:selector xpath="vb:CpuIdLeaf"/>
498 <xsd:field xpath="@id"/>
499 </xsd:unique>
500 </xsd:element>
501 </xsd:sequence>
502 <xsd:attribute name="count" type="TCPUCount" default="1"/>
503</xsd:complexType>
504
505<xsd:complexType name="TBoot">
506 <xsd:sequence>
507 <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
508 <xsd:complexType>
509 <xsd:attribute name="position" use="required">
510 <xsd:simpleType>
511 <xsd:restriction base="xsd:unsignedInt">
512 <xsd:minInclusive value="1"/>
513 <xsd:maxInclusive value="4"/>
514 </xsd:restriction>
515 </xsd:simpleType>
516 </xsd:attribute>
517 <xsd:attribute name="device" type="TDeviceType" use="required"/>
518 </xsd:complexType>
519 </xsd:element>
520 </xsd:sequence>
521</xsd:complexType>
522
523<xsd:complexType name="TDisplay">
524 <xsd:attribute name="VRAMSize" use="required">
525 <xsd:simpleType>
526 <xsd:restriction base="xsd:unsignedInt">
527 <xsd:minInclusive value="1"/>
528 <xsd:maxInclusive value="128"/>
529 </xsd:restriction>
530 </xsd:simpleType>
531 </xsd:attribute>
532 <xsd:attribute name="monitorCount" default="1">
533 <xsd:simpleType>
534 <xsd:restriction base="xsd:unsignedInt">
535 <xsd:maxInclusive value="8"/>
536 </xsd:restriction>
537 </xsd:simpleType>
538 </xsd:attribute>
539 <xsd:attribute name="accelerate3D" type="xsd:boolean" default="false"/>
540 <xsd:attribute name="accelerate2DVideo" type="xsd:boolean" default="false"/>
541</xsd:complexType>
542
543<xsd:complexType name="TRemoteDisplay">
544 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
545 <xsd:attribute name="port" type="xsd:token" default="0"/>
546 <xsd:attribute name="netAddress" type="xsd:token" default=""/>
547 <xsd:attribute name="authType" type="TVRDPAuthType" default="Null"/>
548 <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
549 <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
550 <xsd:attribute name="reuseSingleConnection" type="xsd:boolean" default="false"/>
551</xsd:complexType>
552
553<xsd:complexType name="TBIOS">
554 <xsd:all>
555 <xsd:element name="ACPI">
556 <xsd:complexType>
557 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
558 </xsd:complexType>
559 </xsd:element>
560 <xsd:element name="IOAPIC" minOccurs="0">
561 <xsd:complexType>
562 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
563 </xsd:complexType>
564 </xsd:element>
565 <xsd:element name="Logo" minOccurs="0">
566 <xsd:complexType>
567 <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
568 <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
569 <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
570 <xsd:attribute name="imagePath" type="TLocalFile"/>
571 </xsd:complexType>
572 </xsd:element>
573 <xsd:element name="BootMenu" minOccurs="0">
574 <xsd:complexType>
575 <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="MessageAndMenu"/>
576 </xsd:complexType>
577 </xsd:element>
578 <xsd:element name="TimeOffset" minOccurs="0">
579 <xsd:complexType>
580 <xsd:attribute name="value" type="xsd:integer" default="0"/>
581 </xsd:complexType>
582 </xsd:element>
583 <xsd:element name="PXEDebug" minOccurs="0">
584 <xsd:complexType>
585 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
586 </xsd:complexType>
587 </xsd:element>
588 </xsd:all>
589</xsd:complexType>
590
591<xsd:complexType name="TStorageControllerDevice">
592 <xsd:choice minOccurs="0">
593 <xsd:element name="Image" type="TImageRef"/>
594 <xsd:element name="HostDrive" type="THostDrive"/>
595 </xsd:choice>
596 <xsd:attribute name="type" use="required">
597 <xsd:simpleType>
598 <xsd:restriction base="xsd:token">
599 <xsd:enumeration value="HardDisk"/>
600 <xsd:enumeration value="CD/DVD"/>
601 </xsd:restriction>
602 </xsd:simpleType>
603 </xsd:attribute>
604 <xsd:attribute name="port" type="xsd:unsignedInt" use="required"/>
605 <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
606</xsd:complexType>
607
608<xsd:complexType name="TStorageController">
609 <xsd:sequence>
610 <xsd:element name="AttachedDevice" type="TStorageControllerDevice"
611 minOccurs="0" maxOccurs="unbounded"/>
612 </xsd:sequence>
613 <xsd:attribute name="name" type="xsd:string" use="required"/>
614 <xsd:attribute name="type" use="required">
615 <xsd:simpleType>
616 <xsd:restriction base="xsd:token">
617 <xsd:enumeration value="AHCI"/>
618 <xsd:enumeration value="LsiLogic"/>
619 <xsd:enumeration value="BusLogic"/>
620 <xsd:enumeration value="PIIX3"/>
621 <xsd:enumeration value="PIIX4"/>
622 <xsd:enumeration value="ICH6"/>
623 <xsd:enumeration value="LsiLogicSas"/>
624 </xsd:restriction>
625 </xsd:simpleType>
626 </xsd:attribute>
627 <xsd:attribute name="PortCount" type="xsd:unsignedInt" use="required"/>
628 <xsd:attribute name="bootable" type="xsd:boolean" use="optional"/>
629 <xsd:attribute name="PCIBus" type="xsd:unsignedInt" use="optional"/>
630 <xsd:attribute name="PCIDevice" type="xsd:unsignedInt" use="optional"/>
631 <xsd:attribute name="PCIFunction" type="xsd:unsignedInt" use="optional"/>
632 <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
633 <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
634 <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
635 <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
636</xsd:complexType>
637
638<xsd:complexType name="TStorageControllers">
639 <xsd:sequence>
640 <xsd:element name="StorageController" type="TStorageController"
641 minOccurs="0" maxOccurs="unbounded"/>
642 </xsd:sequence>
643</xsd:complexType>
644
645<xsd:complexType name="TDVDDrive">
646 <xsd:choice minOccurs="0">
647 <xsd:element name="Image" type="TImageRef"/>
648 <xsd:element name="HostDrive" type="THostDrive"/>
649 </xsd:choice>
650 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
651</xsd:complexType>
652
653<xsd:complexType name="TFloppyDrive">
654 <xsd:choice minOccurs="0">
655 <xsd:element name="Image" type="TImageRef"/>
656 <xsd:element name="HostDrive" type="THostDrive"/>
657 </xsd:choice>
658 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
659</xsd:complexType>
660
661<xsd:complexType name="TUSBController">
662 <xsd:sequence>
663 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
664 minOccurs="0" maxOccurs="unbounded"/>
665 </xsd:sequence>
666 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
667 <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
668</xsd:complexType>
669
670<xsd:complexType name="TAudioAdapterBase">
671 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
672 <xsd:attribute name="controller" default="AC97">
673 <xsd:simpleType>
674 <xsd:restriction base="xsd:token">
675 <xsd:enumeration value="AC97"/>
676 <xsd:enumeration value="SB16"/>
677 </xsd:restriction>
678 </xsd:simpleType>
679 </xsd:attribute>
680</xsd:complexType>
681
682<xsd:complexType name="TNetworkAdapter">
683 <xsd:choice minOccurs="0">
684 <xsd:element name="NAT">
685 <xsd:complexType>
686 <xsd:attribute name="network" type="xsd:string"/>
687 </xsd:complexType>
688 </xsd:element>
689 <xsd:element name="HostInterface">
690 <xsd:complexType>
691 <xsd:attribute name="name" type="xsd:string" use="required"/>
692 </xsd:complexType>
693 </xsd:element>
694 <xsd:element name="BridgedInterface">
695 <xsd:complexType>
696 <xsd:attribute name="name" type="xsd:string" use="required"/>
697 </xsd:complexType>
698 </xsd:element>
699 <xsd:element name="InternalNetwork">
700 <xsd:complexType>
701 <xsd:attribute name="name" type="xsd:string" use="required"/>
702 </xsd:complexType>
703 </xsd:element>
704 <xsd:element name="HostOnlyInterface">
705 <xsd:complexType>
706 <xsd:attribute name="name" type="xsd:string" use="required"/>
707 </xsd:complexType>
708 </xsd:element>
709 </xsd:choice>
710 <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
711 <xsd:attribute name="slot" use="required">
712 <xsd:simpleType>
713 <xsd:restriction base="xsd:unsignedInt">
714 <xsd:minInclusive value="0"/>
715 <xsd:maxExclusive value="8"/>
716 </xsd:restriction>
717 </xsd:simpleType>
718 </xsd:attribute>
719 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
720 <xsd:attribute name="MACAddress">
721 <xsd:simpleType>
722 <xsd:restriction base="xsd:hexBinary">
723 <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
724 </xsd:restriction>
725 </xsd:simpleType>
726 </xsd:attribute>
727 <xsd:attribute name="cable" type="xsd:boolean" use="required"/>
728 <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
729 <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
730 <xsd:attribute name="tracefile" type="xsd:string"/>
731</xsd:complexType>
732
733<xsd:complexType name="TNetwork">
734 <xsd:sequence>
735 <xsd:element name="Adapter" type="TNetworkAdapter"
736 minOccurs="0" maxOccurs="unbounded"/>
737 </xsd:sequence>
738</xsd:complexType>
739
740<xsd:complexType name="TUARTPort">
741 <xsd:attribute name="slot" use="required">
742 <xsd:simpleType>
743 <xsd:restriction base="xsd:unsignedInt">
744 <xsd:minInclusive value="0"/>
745 <xsd:maxExclusive value="2"/>
746 </xsd:restriction>
747 </xsd:simpleType>
748 </xsd:attribute>
749 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
750 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
751 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
752 <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
753 <xsd:attribute name="path" type="TLocalFile"/>
754 <xsd:attribute name="server" type="xsd:boolean" default="false"/>
755</xsd:complexType>
756
757<xsd:complexType name="TUART">
758 <xsd:sequence>
759 <xsd:element name="Port" type="TUARTPort"
760 minOccurs="0" maxOccurs="unbounded"/>
761 </xsd:sequence>
762</xsd:complexType>
763
764<xsd:complexType name="TLPTPort">
765 <xsd:attribute name="slot" use="required">
766 <xsd:simpleType>
767 <xsd:restriction base="xsd:unsignedInt">
768 <xsd:minInclusive value="0"/>
769 <xsd:maxExclusive value="2"/>
770 </xsd:restriction>
771 </xsd:simpleType>
772 </xsd:attribute>
773 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
774 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
775 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
776 <xsd:attribute name="path" type="TLocalFile"/>
777</xsd:complexType>
778
779<xsd:complexType name="TLPT">
780 <xsd:sequence>
781 <xsd:element name="Port" type="TLPTPort"
782 minOccurs="0" maxOccurs="unbounded"/>
783 </xsd:sequence>
784</xsd:complexType>
785
786<xsd:complexType name="TSharedFolder">
787 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
788 <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
789 <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
790</xsd:complexType>
791
792<xsd:complexType name="TSharedFolders">
793 <xsd:sequence>
794 <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
795 </xsd:sequence>
796</xsd:complexType>
797
798<xsd:complexType name="TClipboard">
799 <xsd:attribute name="mode" type="TClipboardMode" use="required"/>
800</xsd:complexType>
801
802<xsd:complexType name="TGuest">
803 <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
804 <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
805</xsd:complexType>
806
807<xsd:complexType name="TGuestProperty">
808 <xsd:attribute name="name" type="xsd:string" use="required"/>
809 <xsd:attribute name="value" type="xsd:string" use="required"/>
810 <xsd:attribute name="timestamp" type="xsd:unsignedLong" default="0"/>
811 <xsd:attribute name="flags" type="xsd:string" default=""/>
812</xsd:complexType>
813
814<xsd:complexType name="TGuestProperties">
815 <xsd:sequence>
816 <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
817 </xsd:sequence>
818 <xsd:attribute name="notificationPatterns" type="xsd:string" default=""/>
819</xsd:complexType>
820
821<xsd:complexType name="TMemory">
822 <xsd:attribute name="RAMSize" use="required">
823 <xsd:simpleType>
824 <xsd:restriction base="xsd:unsignedInt">
825 <xsd:minInclusive value="4"/>
826 <xsd:maxInclusive value="16384"/>
827 </xsd:restriction>
828 </xsd:simpleType>
829 </xsd:attribute>
830</xsd:complexType>
831
832<xsd:complexType name="THardware">
833 <xsd:all>
834 <xsd:element name="CPU" type="TCPU" minOccurs="0"/>
835 <xsd:element name="Memory" type="TMemory"/>
836 <xsd:element name="Boot" type="TBoot">
837 <xsd:unique name="THardware-Boot-Order">
838 <xsd:selector xpath="vb:Order"/>
839 <xsd:field xpath="@position"/>
840 </xsd:unique>
841 </xsd:element>
842 <xsd:element name="Display" type="TDisplay"/>
843 <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
844 <xsd:element name="BIOS" type="TBIOS"/>
845 <xsd:element name="DVDDrive" type="TDVDDrive"/>
846 <xsd:element name="FloppyDrive" type="TFloppyDrive"/>
847 <xsd:element name="USBController" type="TUSBController"/>
848 <xsd:element name="Network" type="TNetwork">
849 <xsd:unique name="THardware-Network-Adapter">
850 <xsd:selector xpath="vb:Adapter"/>
851 <xsd:field xpath="@slot"/>
852 </xsd:unique>
853 </xsd:element>
854 <xsd:element name="UART" type="TUART">
855 <xsd:unique name="THardware-UART-Port">
856 <xsd:selector xpath="vb:Port"/>
857 <xsd:field xpath="@slot"/>
858 </xsd:unique>
859 </xsd:element>
860 <xsd:element name="LPT" type="TLPT">
861 <xsd:unique name="THardware-LPT-Port">
862 <xsd:selector xpath="vb:Port"/>
863 <xsd:field xpath="@slot"/>
864 </xsd:unique>
865 </xsd:element>
866 <xsd:element name="AudioAdapter" type="TAudioAdapter"/>
867 <xsd:element name="SharedFolders" type="TSharedFolders">
868 <xsd:unique name="THardware-SharedFolders-SharedFolder">
869 <xsd:selector xpath="vb:SharedFolder"/>
870 <xsd:field xpath="@name"/>
871 </xsd:unique>
872 </xsd:element>
873 <xsd:element name="Clipboard" type="TClipboard"/>
874 <xsd:element name="Guest" type="TGuest"/>
875 <xsd:element name="GuestProperties" type="TGuestProperties" minOccurs="0">
876 <xsd:unique name="THardware-GuestProperties-GuestProperty">
877 <xsd:selector xpath="vb:GuestProperty"/>
878 <xsd:field xpath="@name"/>
879 </xsd:unique>
880 </xsd:element>
881 </xsd:all>
882 <xsd:attribute name="version" type="xsd:string" default="2"/>
883</xsd:complexType>
884
885<xsd:complexType name="TMachine">
886 <xsd:all>
887 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
888 <xsd:element name="Hardware" type="THardware"/>
889 <xsd:element name="StorageControllers" type="TStorageControllers"/>
890 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
891 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
892 </xsd:all>
893 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
894 <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
895 <xsd:attribute name="OSType" type="TGuestOSType" use="required"/>
896 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
897 <xsd:attribute name="stateFile" type="TLocalFile"/>
898 <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
899 <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
900 <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
901 <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
902 <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
903</xsd:complexType>
904
905<xsd:complexType name="TSnapshot">
906 <xsd:all>
907 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
908 <xsd:element name="Hardware" type="THardware"/>
909 <xsd:element name="StorageControllers" type="TStorageControllers"/>
910 <xsd:element name="Snapshots" minOccurs="0">
911 <xsd:complexType>
912 <xsd:sequence>
913 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
914 </xsd:sequence>
915 </xsd:complexType>
916 </xsd:element>
917 </xsd:all>
918 <xsd:attribute name="name" type="xsd:token" use="required"/>
919 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
920 <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
921 <xsd:attribute name="stateFile" type="TLocalFile"/>
922</xsd:complexType>
923
924<xsd:complexType name="TVirtualBox" abstract="true">
925 <xsd:choice>
926 <xsd:element name="Global" type="TGlobal"/>
927 <xsd:element name="Machine" type="TMachine">
928 <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
929 <xsd:key name="snapshot">
930 <xsd:selector xpath=".//vb:Snapshot"/>
931 <xsd:field xpath="@uuid"/>
932 </xsd:key>
933 <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
934 <xsd:selector xpath="."/>
935 <xsd:field xpath="@currentSnapshot"/>
936 </xsd:keyref>
937 </xsd:element>
938 </xsd:choice>
939</xsd:complexType>
940
941</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