VirtualBox

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

Last change on this file since 21428 was 19726, checked in by vboxsync, 16 years ago

Reduced max number of VCPUs to 32.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 32.4 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-2008 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="TUInt64Hex">
85 <xsd:restriction base="xsd:string">
86 <xsd:pattern value="0x[A-Fa-f0-9]{1,16}"/>
87 </xsd:restriction>
88</xsd:simpleType>
89
90<xsd:simpleType name="TLocalFile">
91 <xsd:restriction base="xsd:string">
92 <xsd:pattern value=".+"/>
93 </xsd:restriction>
94</xsd:simpleType>
95
96<xsd:simpleType name="TDiskType">
97 <xsd:restriction base="xsd:token">
98 <xsd:enumeration value="HD"/>
99 <xsd:enumeration value="DVD"/>
100 <xsd:enumeration value="FD"/>
101 </xsd:restriction>
102</xsd:simpleType>
103
104<xsd:simpleType name="TDeviceType">
105 <xsd:restriction base="xsd:token">
106 <xsd:enumeration value="None"/>
107 <xsd:enumeration value="Floppy"/>
108 <xsd:enumeration value="DVD"/>
109 <xsd:enumeration value="HardDisk"/>
110 <xsd:enumeration value="Network"/>
111 </xsd:restriction>
112</xsd:simpleType>
113
114<xsd:simpleType name="TUSBDeviceFilterAction">
115 <xsd:restriction base="xsd:token">
116 <xsd:enumeration value="Ignore"/>
117 <xsd:enumeration value="Hold"/>
118 </xsd:restriction>
119</xsd:simpleType>
120
121<xsd:simpleType name="TNonEmptyString">
122 <xsd:restriction base="xsd:string">
123 <xsd:pattern value=".+"/>
124 </xsd:restriction>
125</xsd:simpleType>
126
127<xsd:simpleType name="TPresentDateTimeUTC">
128 <xsd:restriction base="xsd:dateTime">
129 <xsd:minInclusive value="1900-01-01T00:00:00Z"/>
130 <xsd:maxInclusive value="199999999-12-31T23:59:59Z"/>
131 <xsd:pattern value=".+-.+-.+T.+:.+:[0-9]{2}Z"/>
132 </xsd:restriction>
133</xsd:simpleType>
134
135<xsd:simpleType name="TGuestOSType">
136 <xsd:restriction base="xsd:string">
137 <xsd:enumeration value="Other"/>
138 <xsd:enumeration value="DOS"/>
139 <xsd:enumeration value="Netware"/>
140 <xsd:enumeration value="L4"/>
141 <xsd:enumeration value="Windows31"/>
142 <xsd:enumeration value="Windows95"/>
143 <xsd:enumeration value="Windows98"/>
144 <xsd:enumeration value="WindowsMe"/>
145 <xsd:enumeration value="WindowsNT4"/>
146 <xsd:enumeration value="Windows2000"/>
147 <xsd:enumeration value="WindowsXP"/>
148 <xsd:enumeration value="WindowsXP_64"/>
149 <xsd:enumeration value="Windows2003"/>
150 <xsd:enumeration value="Windows2003_64"/>
151 <xsd:enumeration value="WindowsVista"/>
152 <xsd:enumeration value="WindowsVista_64"/>
153 <xsd:enumeration value="Windows2008"/>
154 <xsd:enumeration value="Windows2008_64"/>
155 <xsd:enumeration value="Windows7"/>
156 <xsd:enumeration value="Windows7_64"/>
157 <xsd:enumeration value="WindowsNT"/>
158 <xsd:enumeration value="OS2Warp3"/>
159 <xsd:enumeration value="OS2Warp4"/>
160 <xsd:enumeration value="OS2Warp45"/>
161 <xsd:enumeration value="OS2eCS"/>
162 <xsd:enumeration value="OS2"/>
163 <xsd:enumeration value="Linux22"/>
164 <xsd:enumeration value="Linux24"/>
165 <xsd:enumeration value="Linux24_64"/>
166 <xsd:enumeration value="Linux26"/>
167 <xsd:enumeration value="Linux26_64"/>
168 <xsd:enumeration value="ArchLinux"/>
169 <xsd:enumeration value="ArchLinux_64"/>
170 <xsd:enumeration value="Debian"/>
171 <xsd:enumeration value="Debian_64"/>
172 <xsd:enumeration value="OpenSUSE"/>
173 <xsd:enumeration value="OpenSUSE_64"/>
174 <xsd:enumeration value="Fedora"/>
175 <xsd:enumeration value="Fedora_64"/>
176 <xsd:enumeration value="Gentoo"/>
177 <xsd:enumeration value="Gentoo_64"/>
178 <xsd:enumeration value="Mandriva"/>
179 <xsd:enumeration value="Mandriva_64"/>
180 <xsd:enumeration value="RedHat"/>
181 <xsd:enumeration value="RedHat_64"/>
182 <xsd:enumeration value="Turbolinux"/>
183 <xsd:enumeration value="Ubuntu"/>
184 <xsd:enumeration value="Ubuntu_64"/>
185 <xsd:enumeration value="Xandros"/>
186 <xsd:enumeration value="Xandros_64"/>
187 <xsd:enumeration value="Linux"/>
188 <xsd:enumeration value="FreeBSD"/>
189 <xsd:enumeration value="FreeBSD_64"/>
190 <xsd:enumeration value="OpenBSD"/>
191 <xsd:enumeration value="OpenBSD_64"/>
192 <xsd:enumeration value="NetBSD"/>
193 <xsd:enumeration value="NetBSD_64"/>
194 <xsd:enumeration value="Solaris"/>
195 <xsd:enumeration value="Solaris_64"/>
196 <xsd:enumeration value="OpenSolaris"/>
197 <xsd:enumeration value="OpenSolaris_64"/>
198 <xsd:enumeration value="QNX"/>
199 </xsd:restriction>
200</xsd:simpleType>
201
202
203<xsd:simpleType name="TVRDPAuthType">
204 <xsd:restriction base="xsd:string">
205 <xsd:enumeration value="Null"/>
206 <xsd:enumeration value="Guest"/>
207 <xsd:enumeration value="External"/>
208 </xsd:restriction>
209</xsd:simpleType>
210
211<xsd:simpleType name="TNetworkAdapterType">
212 <xsd:restriction base="xsd:string">
213 <xsd:enumeration value="Am79C970A"/>
214 <xsd:enumeration value="Am79C973"/>
215 <xsd:enumeration value="82540EM"/>
216 <xsd:enumeration value="82543GC"/>
217 <xsd:enumeration value="82545EM"/>
218 </xsd:restriction>
219</xsd:simpleType>
220
221<xsd:simpleType name="TTriStateBoolType">
222 <xsd:restriction base="xsd:string">
223 <xsd:enumeration value="false"/>
224 <xsd:enumeration value="true"/>
225 <xsd:enumeration value="default"/>
226 </xsd:restriction>
227</xsd:simpleType>
228
229<xsd:simpleType name="TBIOSBootMenuModeType">
230 <xsd:restriction base="xsd:string">
231 <xsd:enumeration value="Disabled"/>
232 <xsd:enumeration value="MenuOnly"/>
233 <xsd:enumeration value="MessageAndMenu"/>
234 </xsd:restriction>
235</xsd:simpleType>
236
237<xsd:simpleType name="TClipboardMode">
238 <xsd:restriction base="xsd:string">
239 <xsd:enumeration value="Disabled"/>
240 <xsd:enumeration value="HostToGuest"/>
241 <xsd:enumeration value="GuestToHost"/>
242 <xsd:enumeration value="Bidirectional"/>
243 </xsd:restriction>
244</xsd:simpleType>
245
246<xsd:simpleType name="TPortMode">
247 <xsd:restriction base="xsd:string">
248 <xsd:enumeration value="Disconnected"/>
249 <xsd:enumeration value="RawFile"/>
250 <xsd:enumeration value="HostPipe"/>
251 <xsd:enumeration value="HostDevice"/>
252 </xsd:restriction>
253</xsd:simpleType>
254
255<!--
256// Complex types
257/////////////////////////////////////////////////////////////////////////
258-->
259<xsd:complexType name="TDHCPServer">
260 <xsd:attribute name="networkName" type="xsd:string" use="required"/>
261 <xsd:attribute name="lowerIP" type="xsd:string" use="required"/>
262 <xsd:attribute name="upperIP" type="xsd:string" use="required"/>
263 <xsd:attribute name="IPAddress" type="xsd:string" use="required"/>
264 <xsd:attribute name="networkMask" type="xsd:string" use="required"/>
265 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
266</xsd:complexType>
267
268<xsd:complexType name="THardDiskBase">
269 <xsd:sequence>
270 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
271 <xsd:element name="Property" minOccurs="0" maxOccurs="unbounded">
272 <xsd:complexType>
273 <xsd:attribute name="name" type="xsd:token" use="required"/>
274 <xsd:attribute name="value" type="xsd:string" use="required"/>
275 </xsd:complexType>
276 </xsd:element>
277 <xsd:element name="HardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
278 </xsd:sequence>
279 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
280 <xsd:attribute name="location" type="TLocalFile" use="required"/>
281 <xsd:attribute name="format" type="TNonEmptyString" use="required"/>
282</xsd:complexType>
283
284<xsd:complexType name="TDiffHardDisk">
285 <xsd:complexContent>
286 <xsd:extension base="THardDiskBase">
287 <xsd:attribute name="autoReset" type="xsd:boolean" default="false"/>
288 </xsd:extension>
289 </xsd:complexContent>
290</xsd:complexType>
291
292<xsd:complexType name="THardDisk">
293 <xsd:complexContent>
294 <xsd:extension base="THardDiskBase">
295 <xsd:attribute name="type" use="required">
296 <xsd:simpleType>
297 <xsd:restriction base="xsd:string">
298 <xsd:enumeration value="Normal"/>
299 <xsd:enumeration value="Immutable"/>
300 <xsd:enumeration value="Writethrough"/>
301 </xsd:restriction>
302 </xsd:simpleType>
303 </xsd:attribute>
304 </xsd:extension>
305 </xsd:complexContent>
306</xsd:complexType>
307
308<xsd:complexType name="TImage2">
309 <xsd:sequence>
310 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
311 </xsd:sequence>
312 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
313 <xsd:attribute name="location" type="TLocalFile" use="required"/>
314</xsd:complexType>
315
316<xsd:complexType name="TImageRef">
317 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
318</xsd:complexType>
319
320<xsd:complexType name="THostDrive">
321 <xsd:attribute name="src" type="TLocalFile" use="required"/>
322</xsd:complexType>
323
324<xsd:complexType name="TUSBDeviceFilter">
325 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
326 <xsd:attribute name="active" type="xsd:boolean" use="required"/>
327 <xsd:attribute name="vendorId" type="xsd:token"/>
328 <xsd:attribute name="productId" type="xsd:token"/>
329 <xsd:attribute name="revision" type="xsd:token"/>
330 <xsd:attribute name="manufacturer" type="xsd:token"/>
331 <xsd:attribute name="product" type="xsd:token"/>
332 <xsd:attribute name="serialNumber" type="xsd:token"/>
333 <xsd:attribute name="port" type="xsd:token"/>
334 <xsd:attribute name="remote" type="xsd:token"/>
335 <xsd:attribute name="maskedInterfaces" type="xsd:unsignedInt" default="0"/>
336</xsd:complexType>
337
338<xsd:complexType name="THostUSBDeviceFilter">
339 <xsd:complexContent>
340 <xsd:extension base="TUSBDeviceFilter">
341 <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
342 </xsd:extension>
343 </xsd:complexContent>
344</xsd:complexType>
345
346<xsd:complexType name="TSystemProperties">
347 <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
348 <xsd:attribute name="defaultHardDiskFolder" type="TLocalFile"/>
349 <xsd:attribute name="defaultHardDiskFormat" type="TNonEmptyString"/>
350 <xsd:attribute name="remoteDisplayAuthLibrary" type="TLocalFile"/>
351 <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
352 <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
353 <xsd:attribute name="LogHistoryCount" type="xsd:unsignedInt" default="3"/>
354</xsd:complexType>
355
356<xsd:complexType name="TExtraData">
357 <xsd:sequence>
358 <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
359 <xsd:complexType>
360 <xsd:attribute name="name" type="xsd:token" use="required"/>
361 <xsd:attribute name="value" type="xsd:string" use="required"/>
362 </xsd:complexType>
363 </xsd:element>
364 </xsd:sequence>
365</xsd:complexType>
366
367<xsd:complexType name="TGlobal">
368 <xsd:all>
369 <xsd:element name="MachineRegistry">
370 <xsd:complexType>
371 <xsd:sequence>
372 <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
373 <xsd:complexType>
374 <xsd:attribute name="src" type="TLocalFile" use="required"/>
375 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
376 </xsd:complexType>
377 </xsd:element>
378 </xsd:sequence>
379 </xsd:complexType>
380 </xsd:element>
381 <xsd:element name="MediaRegistry">
382 <xsd:complexType>
383 <xsd:all>
384 <xsd:element name="HardDisks" minOccurs="0">
385 <xsd:complexType>
386 <xsd:sequence>
387 <xsd:element name="HardDisk" type="THardDisk" minOccurs="0" maxOccurs="unbounded"/>
388 </xsd:sequence>
389 </xsd:complexType>
390 </xsd:element>
391 <xsd:element name="DVDImages" minOccurs="0">
392 <xsd:complexType>
393 <xsd:sequence>
394 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
395 </xsd:sequence>
396 </xsd:complexType>
397 </xsd:element>
398 <xsd:element name="FloppyImages" minOccurs="0">
399 <xsd:complexType>
400 <xsd:sequence>
401 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
402 </xsd:sequence>
403 </xsd:complexType>
404 </xsd:element>
405 </xsd:all>
406 </xsd:complexType>
407 </xsd:element>
408 <xsd:element name="NetserviceRegistry" minOccurs="0" maxOccurs="1">
409 <xsd:complexType>
410 <xsd:all>
411 <xsd:element name="DHCPServers" minOccurs="0">
412 <xsd:complexType>
413 <xsd:sequence>
414 <xsd:element name="DHCPServer" type="TDHCPServer" minOccurs="0" maxOccurs="unbounded"/>
415 </xsd:sequence>
416 </xsd:complexType>
417 </xsd:element>
418 </xsd:all>
419 </xsd:complexType>
420 </xsd:element>
421 <xsd:element name="USBDeviceFilters">
422 <xsd:complexType>
423 <xsd:sequence>
424 <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
425 minOccurs="0" maxOccurs="unbounded"/>
426 </xsd:sequence>
427 </xsd:complexType>
428 </xsd:element>
429 <xsd:element name="SystemProperties" type="TSystemProperties"/>
430 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
431 </xsd:all>
432</xsd:complexType>
433
434<xsd:complexType name="THWVirtExType">
435 <xsd:attribute name="enabled" type="TTriStateBoolType" default="default"/>
436</xsd:complexType>
437
438<xsd:complexType name="THWVirtExNestedPagingType">
439 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
440</xsd:complexType>
441
442<xsd:complexType name="THWVirtExVPIDType">
443 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
444</xsd:complexType>
445
446<xsd:complexType name="TPAEType">
447 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
448</xsd:complexType>
449
450<xsd:simpleType name="TCPUCount">
451 <xsd:restriction base="xsd:unsignedInt">
452 <xsd:minInclusive value="1"/>
453 <xsd:maxInclusive value="32"/>
454 </xsd:restriction>
455</xsd:simpleType>
456
457<xsd:complexType name="TCPU">
458 <xsd:sequence>
459 <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
460 <xsd:element name="HardwareVirtExNestedPaging" type="THWVirtExNestedPagingType" minOccurs="0"/>
461 <xsd:element name="HardwareVirtExVPID" type="THWVirtExVPIDType" minOccurs="0"/>
462 <xsd:element name="PAE" type="TPAEType" minOccurs="0"/>
463 </xsd:sequence>
464 <xsd:attribute name="count" type="TCPUCount" default="1"/>
465</xsd:complexType>
466
467<xsd:complexType name="TBoot">
468 <xsd:sequence>
469 <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
470 <xsd:complexType>
471 <xsd:attribute name="position" use="required">
472 <xsd:simpleType>
473 <xsd:restriction base="xsd:unsignedInt">
474 <xsd:minInclusive value="1"/>
475 <xsd:maxInclusive value="4"/>
476 </xsd:restriction>
477 </xsd:simpleType>
478 </xsd:attribute>
479 <xsd:attribute name="device" type="TDeviceType" use="required"/>
480 </xsd:complexType>
481 </xsd:element>
482 </xsd:sequence>
483</xsd:complexType>
484
485<xsd:complexType name="TDisplay">
486 <xsd:attribute name="VRAMSize" use="required">
487 <xsd:simpleType>
488 <xsd:restriction base="xsd:unsignedInt">
489 <xsd:minInclusive value="1"/>
490 <xsd:maxInclusive value="128"/>
491 </xsd:restriction>
492 </xsd:simpleType>
493 </xsd:attribute>
494 <xsd:attribute name="monitorCount" default="1">
495 <xsd:simpleType>
496 <xsd:restriction base="xsd:unsignedInt">
497 <xsd:maxInclusive value="8"/>
498 </xsd:restriction>
499 </xsd:simpleType>
500 </xsd:attribute>
501 <xsd:attribute name="accelerate3D" type="xsd:boolean" default="false"/>
502</xsd:complexType>
503
504<xsd:complexType name="TRemoteDisplay">
505 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
506 <xsd:attribute name="port" type="xsd:unsignedInt" default="0"/>
507 <xsd:attribute name="netAddress" type="xsd:token" default=""/>
508 <xsd:attribute name="authType" type="TVRDPAuthType" default="Null"/>
509 <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
510 <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
511 <xsd:attribute name="reuseSingleConnection" type="xsd:boolean" default="false"/>
512</xsd:complexType>
513
514<xsd:complexType name="TBIOS">
515 <xsd:all>
516 <xsd:element name="ACPI">
517 <xsd:complexType>
518 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
519 </xsd:complexType>
520 </xsd:element>
521 <xsd:element name="IOAPIC" minOccurs="0">
522 <xsd:complexType>
523 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
524 </xsd:complexType>
525 </xsd:element>
526 <xsd:element name="Logo" minOccurs="0">
527 <xsd:complexType>
528 <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
529 <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
530 <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
531 <xsd:attribute name="imagePath" type="TLocalFile"/>
532 </xsd:complexType>
533 </xsd:element>
534 <xsd:element name="BootMenu" minOccurs="0">
535 <xsd:complexType>
536 <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="MessageAndMenu"/>
537 </xsd:complexType>
538 </xsd:element>
539 <xsd:element name="TimeOffset" minOccurs="0">
540 <xsd:complexType>
541 <xsd:attribute name="value" type="xsd:integer" default="0"/>
542 </xsd:complexType>
543 </xsd:element>
544 <xsd:element name="PXEDebug" minOccurs="0">
545 <xsd:complexType>
546 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
547 </xsd:complexType>
548 </xsd:element>
549 </xsd:all>
550</xsd:complexType>
551
552<xsd:complexType name="TStorageControllerDevice">
553 <xsd:choice minOccurs="0">
554 <xsd:element name="Image" type="TImageRef"/>
555 <xsd:element name="HostDrive" type="THostDrive"/>
556 </xsd:choice>
557 <xsd:attribute name="type" use="required">
558 <xsd:simpleType>
559 <xsd:restriction base="xsd:token">
560 <xsd:enumeration value="HardDisk"/>
561 <xsd:enumeration value="CD/DVD"/>
562 </xsd:restriction>
563 </xsd:simpleType>
564 </xsd:attribute>
565 <xsd:attribute name="port" type="xsd:unsignedInt" use="required"/>
566 <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
567</xsd:complexType>
568
569<xsd:complexType name="TStorageController">
570 <xsd:sequence>
571 <xsd:element name="AttachedDevice" type="TStorageControllerDevice"
572 minOccurs="0" maxOccurs="unbounded"/>
573 </xsd:sequence>
574 <xsd:attribute name="name" type="xsd:string" use="required"/>
575 <xsd:attribute name="type" use="required">
576 <xsd:simpleType>
577 <xsd:restriction base="xsd:token">
578 <xsd:enumeration value="AHCI"/>
579 <xsd:enumeration value="LsiLogic"/>
580 <xsd:enumeration value="BusLogic"/>
581 <xsd:enumeration value="PIIX3"/>
582 <xsd:enumeration value="PIIX4"/>
583 <xsd:enumeration value="ICH6"/>
584 </xsd:restriction>
585 </xsd:simpleType>
586 </xsd:attribute>
587 <xsd:attribute name="PortCount" type="xsd:unsignedInt" use="required"/>
588 <xsd:attribute name="bootable" type="xsd:boolean" use="optional"/>
589 <xsd:attribute name="PCIBus" type="xsd:unsignedInt" use="optional"/>
590 <xsd:attribute name="PCIDevice" type="xsd:unsignedInt" use="optional"/>
591 <xsd:attribute name="PCIFunction" type="xsd:unsignedInt" use="optional"/>
592 <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
593 <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
594 <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
595 <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
596</xsd:complexType>
597
598<xsd:complexType name="TStorageControllers">
599 <xsd:sequence>
600 <xsd:element name="StorageController" type="TStorageController"
601 minOccurs="0" maxOccurs="unbounded"/>
602 </xsd:sequence>
603</xsd:complexType>
604
605<xsd:complexType name="TDVDDrive">
606 <xsd:choice minOccurs="0">
607 <xsd:element name="Image" type="TImageRef"/>
608 <xsd:element name="HostDrive" type="THostDrive"/>
609 </xsd:choice>
610 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
611</xsd:complexType>
612
613<xsd:complexType name="TFloppyDrive">
614 <xsd:choice minOccurs="0">
615 <xsd:element name="Image" type="TImageRef"/>
616 <xsd:element name="HostDrive" type="THostDrive"/>
617 </xsd:choice>
618 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
619</xsd:complexType>
620
621<xsd:complexType name="TUSBController">
622 <xsd:sequence>
623 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
624 minOccurs="0" maxOccurs="unbounded"/>
625 </xsd:sequence>
626 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
627 <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
628</xsd:complexType>
629
630<xsd:complexType name="TAudioAdapterBase">
631 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
632 <xsd:attribute name="controller" default="AC97">
633 <xsd:simpleType>
634 <xsd:restriction base="xsd:token">
635 <xsd:enumeration value="AC97"/>
636 <xsd:enumeration value="SB16"/>
637 </xsd:restriction>
638 </xsd:simpleType>
639 </xsd:attribute>
640</xsd:complexType>
641
642<xsd:complexType name="TNetworkAdapter">
643 <xsd:choice minOccurs="0">
644 <xsd:element name="NAT">
645 <xsd:complexType>
646 <xsd:attribute name="network" type="xsd:string"/>
647 </xsd:complexType>
648 </xsd:element>
649 <xsd:element name="HostInterface">
650 <xsd:complexType>
651 <xsd:attribute name="name" type="xsd:string" use="required"/>
652 </xsd:complexType>
653 </xsd:element>
654 <xsd:element name="BridgedInterface">
655 <xsd:complexType>
656 <xsd:attribute name="name" type="xsd:string" use="required"/>
657 </xsd:complexType>
658 </xsd:element>
659 <xsd:element name="InternalNetwork">
660 <xsd:complexType>
661 <xsd:attribute name="name" type="xsd:string" use="required"/>
662 </xsd:complexType>
663 </xsd:element>
664 <xsd:element name="HostOnlyInterface">
665 <xsd:complexType>
666 <xsd:attribute name="name" type="xsd:string" use="required"/>
667 </xsd:complexType>
668 </xsd:element>
669 </xsd:choice>
670 <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
671 <xsd:attribute name="slot" use="required">
672 <xsd:simpleType>
673 <xsd:restriction base="xsd:unsignedInt">
674 <xsd:minInclusive value="0"/>
675 <xsd:maxExclusive value="8"/>
676 </xsd:restriction>
677 </xsd:simpleType>
678 </xsd:attribute>
679 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
680 <xsd:attribute name="MACAddress">
681 <xsd:simpleType>
682 <xsd:restriction base="xsd:hexBinary">
683 <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
684 </xsd:restriction>
685 </xsd:simpleType>
686 </xsd:attribute>
687 <xsd:attribute name="cable" type="xsd:boolean" use="required"/>
688 <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
689 <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
690 <xsd:attribute name="tracefile" type="xsd:string"/>
691</xsd:complexType>
692
693<xsd:complexType name="TNetwork">
694 <xsd:sequence>
695 <xsd:element name="Adapter" type="TNetworkAdapter"
696 minOccurs="0" maxOccurs="unbounded"/>
697 </xsd:sequence>
698</xsd:complexType>
699
700<xsd:complexType name="TUARTPort">
701 <xsd:attribute name="slot" use="required">
702 <xsd:simpleType>
703 <xsd:restriction base="xsd:unsignedInt">
704 <xsd:minInclusive value="0"/>
705 <xsd:maxExclusive value="2"/>
706 </xsd:restriction>
707 </xsd:simpleType>
708 </xsd:attribute>
709 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
710 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
711 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
712 <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
713 <xsd:attribute name="path" type="TLocalFile"/>
714 <xsd:attribute name="server" type="xsd:boolean" default="false"/>
715</xsd:complexType>
716
717<xsd:complexType name="TUART">
718 <xsd:sequence>
719 <xsd:element name="Port" type="TUARTPort"
720 minOccurs="0" maxOccurs="unbounded"/>
721 </xsd:sequence>
722</xsd:complexType>
723
724<xsd:complexType name="TLPTPort">
725 <xsd:attribute name="slot" use="required">
726 <xsd:simpleType>
727 <xsd:restriction base="xsd:unsignedInt">
728 <xsd:minInclusive value="0"/>
729 <xsd:maxExclusive value="2"/>
730 </xsd:restriction>
731 </xsd:simpleType>
732 </xsd:attribute>
733 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
734 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
735 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
736 <xsd:attribute name="path" type="TLocalFile"/>
737</xsd:complexType>
738
739<xsd:complexType name="TLPT">
740 <xsd:sequence>
741 <xsd:element name="Port" type="TLPTPort"
742 minOccurs="0" maxOccurs="unbounded"/>
743 </xsd:sequence>
744</xsd:complexType>
745
746<xsd:complexType name="TSharedFolder">
747 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
748 <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
749 <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
750</xsd:complexType>
751
752<xsd:complexType name="TSharedFolders">
753 <xsd:sequence>
754 <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
755 </xsd:sequence>
756</xsd:complexType>
757
758<xsd:complexType name="TClipboard">
759 <xsd:attribute name="mode" type="TClipboardMode" use="required"/>
760</xsd:complexType>
761
762<xsd:complexType name="TGuest">
763 <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
764 <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
765</xsd:complexType>
766
767<xsd:complexType name="TGuestProperty">
768 <xsd:attribute name="name" type="xsd:string" use="required"/>
769 <xsd:attribute name="value" type="xsd:string" use="required"/>
770 <xsd:attribute name="timestamp" type="xsd:unsignedLong" default="0"/>
771 <xsd:attribute name="flags" type="xsd:string" default=""/>
772</xsd:complexType>
773
774<xsd:complexType name="TGuestProperties">
775 <xsd:sequence>
776 <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
777 </xsd:sequence>
778 <xsd:attribute name="notificationPatterns" type="xsd:string" default=""/>
779</xsd:complexType>
780
781<xsd:complexType name="TMemory">
782 <xsd:attribute name="RAMSize" use="required">
783 <xsd:simpleType>
784 <xsd:restriction base="xsd:unsignedInt">
785 <xsd:minInclusive value="4"/>
786 <xsd:maxInclusive value="16384"/>
787 </xsd:restriction>
788 </xsd:simpleType>
789 </xsd:attribute>
790</xsd:complexType>
791
792<xsd:complexType name="THardware">
793 <xsd:all>
794 <xsd:element name="CPU" type="TCPU" minOccurs="0"/>
795 <xsd:element name="Memory" type="TMemory"/>
796 <xsd:element name="Boot" type="TBoot">
797 <xsd:unique name="THardware-Boot-Order">
798 <xsd:selector xpath="vb:Order"/>
799 <xsd:field xpath="@position"/>
800 </xsd:unique>
801 </xsd:element>
802 <xsd:element name="Display" type="TDisplay"/>
803 <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
804 <xsd:element name="BIOS" type="TBIOS"/>
805 <xsd:element name="DVDDrive" type="TDVDDrive"/>
806 <xsd:element name="FloppyDrive" type="TFloppyDrive"/>
807 <xsd:element name="USBController" type="TUSBController"/>
808 <xsd:element name="Network" type="TNetwork">
809 <xsd:unique name="THardware-Network-Adapter">
810 <xsd:selector xpath="vb:Adapter"/>
811 <xsd:field xpath="@slot"/>
812 </xsd:unique>
813 </xsd:element>
814 <xsd:element name="UART" type="TUART">
815 <xsd:unique name="THardware-UART-Port">
816 <xsd:selector xpath="vb:Port"/>
817 <xsd:field xpath="@slot"/>
818 </xsd:unique>
819 </xsd:element>
820 <xsd:element name="LPT" type="TLPT">
821 <xsd:unique name="THardware-LPT-Port">
822 <xsd:selector xpath="vb:Port"/>
823 <xsd:field xpath="@slot"/>
824 </xsd:unique>
825 </xsd:element>
826 <xsd:element name="AudioAdapter" type="TAudioAdapter"/>
827 <xsd:element name="SharedFolders" type="TSharedFolders">
828 <xsd:unique name="THardware-SharedFolders-SharedFolder">
829 <xsd:selector xpath="vb:SharedFolder"/>
830 <xsd:field xpath="@name"/>
831 </xsd:unique>
832 </xsd:element>
833 <xsd:element name="Clipboard" type="TClipboard"/>
834 <xsd:element name="Guest" type="TGuest"/>
835 <xsd:element name="GuestProperties" type="TGuestProperties" minOccurs="0">
836 <xsd:unique name="THardware-GuestProperties-GuestProperty">
837 <xsd:selector xpath="vb:GuestProperty"/>
838 <xsd:field xpath="@name"/>
839 </xsd:unique>
840 </xsd:element>
841 </xsd:all>
842 <xsd:attribute name="version" type="xsd:string" default="2"/>
843</xsd:complexType>
844
845<xsd:complexType name="TMachine">
846 <xsd:all>
847 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
848 <xsd:element name="Hardware" type="THardware"/>
849 <xsd:element name="StorageControllers" type="TStorageControllers"/>
850 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
851 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
852 </xsd:all>
853 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
854 <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
855 <xsd:attribute name="OSType" type="TGuestOSType" use="required"/>
856 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
857 <xsd:attribute name="stateFile" type="TLocalFile"/>
858 <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
859 <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
860 <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
861 <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
862 <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
863</xsd:complexType>
864
865<xsd:complexType name="TSnapshot">
866 <xsd:all>
867 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
868 <xsd:element name="Hardware" type="THardware"/>
869 <xsd:element name="StorageControllers" type="TStorageControllers"/>
870 <xsd:element name="Snapshots" minOccurs="0">
871 <xsd:complexType>
872 <xsd:sequence>
873 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
874 </xsd:sequence>
875 </xsd:complexType>
876 </xsd:element>
877 </xsd:all>
878 <xsd:attribute name="name" type="xsd:token" use="required"/>
879 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
880 <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
881 <xsd:attribute name="stateFile" type="TLocalFile"/>
882</xsd:complexType>
883
884<xsd:complexType name="TVirtualBox" abstract="true">
885 <xsd:choice>
886 <xsd:element name="Global" type="TGlobal"/>
887 <xsd:element name="Machine" type="TMachine">
888 <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
889 <xsd:key name="snapshot">
890 <xsd:selector xpath=".//vb:Snapshot"/>
891 <xsd:field xpath="@uuid"/>
892 </xsd:key>
893 <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
894 <xsd:selector xpath="."/>
895 <xsd:field xpath="@currentSnapshot"/>
896 </xsd:keyref>
897 </xsd:element>
898 </xsd:choice>
899</xsd:complexType>
900
901</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