VirtualBox

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

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

Main: NAT API and corresponding commands have been added at VBoxManage frontend. Please see #1899 for details.

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