VirtualBox

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

Last change on this file since 16188 was 15968, checked in by vboxsync, 16 years ago

Added Windows 7 to OS types list.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 30.0 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 xVM VirtualBox Settings Schema
7 * Common definitions
8
9 Copyright (C) 2004-2008 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 xVM 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="Ubuntu"/>
183 <xsd:enumeration value="Ubuntu_64"/>
184 <xsd:enumeration value="Xandros"/>
185 <xsd:enumeration value="Xandros_64"/>
186 <xsd:enumeration value="Linux"/>
187 <xsd:enumeration value="FreeBSD"/>
188 <xsd:enumeration value="FreeBSD_64"/>
189 <xsd:enumeration value="OpenBSD"/>
190 <xsd:enumeration value="OpenBSD_64"/>
191 <xsd:enumeration value="NetBSD"/>
192 <xsd:enumeration value="NetBSD_64"/>
193 <xsd:enumeration value="Solaris"/>
194 <xsd:enumeration value="Solaris_64"/>
195 <xsd:enumeration value="OpenSolaris"/>
196 <xsd:enumeration value="OpenSolaris_64"/>
197 <xsd:enumeration value="QNX"/>
198 </xsd:restriction>
199</xsd:simpleType>
200
201
202<xsd:simpleType name="TVRDPAuthType">
203 <xsd:restriction base="xsd:string">
204 <xsd:enumeration value="Null"/>
205 <xsd:enumeration value="Guest"/>
206 <xsd:enumeration value="External"/>
207 </xsd:restriction>
208</xsd:simpleType>
209
210<xsd:simpleType name="TNetworkAdapterType">
211 <xsd:restriction base="xsd:string">
212 <xsd:enumeration value="Am79C970A"/>
213 <xsd:enumeration value="Am79C973"/>
214 <xsd:enumeration value="82540EM"/>
215 <xsd:enumeration value="82543GC"/>
216 </xsd:restriction>
217</xsd:simpleType>
218
219<xsd:simpleType name="TTriStateBoolType">
220 <xsd:restriction base="xsd:string">
221 <xsd:enumeration value="false"/>
222 <xsd:enumeration value="true"/>
223 <xsd:enumeration value="default"/>
224 </xsd:restriction>
225</xsd:simpleType>
226
227<xsd:simpleType name="TBIOSBootMenuModeType">
228 <xsd:restriction base="xsd:string">
229 <xsd:enumeration value="Disabled"/>
230 <xsd:enumeration value="MenuOnly"/>
231 <xsd:enumeration value="MessageAndMenu"/>
232 </xsd:restriction>
233</xsd:simpleType>
234
235<xsd:simpleType name="TIDEControllerType">
236 <xsd:restriction base="xsd:string">
237 <xsd:enumeration value="PIIX3"/>
238 <xsd:enumeration value="PIIX4"/>
239 </xsd:restriction>
240</xsd:simpleType>
241
242<xsd:simpleType name="TClipboardMode">
243 <xsd:restriction base="xsd:string">
244 <xsd:enumeration value="Disabled"/>
245 <xsd:enumeration value="HostToGuest"/>
246 <xsd:enumeration value="GuestToHost"/>
247 <xsd:enumeration value="Bidirectional"/>
248 </xsd:restriction>
249</xsd:simpleType>
250
251<xsd:simpleType name="TPortMode">
252 <xsd:restriction base="xsd:string">
253 <xsd:enumeration value="Disconnected"/>
254 <xsd:enumeration value="HostPipe"/>
255 <xsd:enumeration value="HostDevice"/>
256 </xsd:restriction>
257</xsd:simpleType>
258
259<!--
260// Complex types
261/////////////////////////////////////////////////////////////////////////
262-->
263
264<xsd:complexType name="TDiffHardDisk2">
265 <xsd:sequence>
266 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
267 <xsd:element name="Property" minOccurs="0" maxOccurs="unbounded">
268 <xsd:complexType>
269 <xsd:attribute name="name" type="xsd:token" use="required"/>
270 <xsd:attribute name="value" type="xsd:string" use="required"/>
271 </xsd:complexType>
272 </xsd:element>
273 <xsd:element name="HardDisk" type="TDiffHardDisk2" minOccurs="0" maxOccurs="unbounded"/>
274 </xsd:sequence>
275 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
276 <xsd:attribute name="location" type="TLocalFile" use="required"/>
277 <xsd:attribute name="format" type="TNonEmptyString" use="required"/>
278</xsd:complexType>
279
280<xsd:complexType name="THardDisk2">
281 <xsd:complexContent>
282 <xsd:extension base="TDiffHardDisk2">
283 <xsd:attribute name="type" use="required">
284 <xsd:simpleType>
285 <xsd:restriction base="xsd:string">
286 <xsd:enumeration value="Normal"/>
287 <xsd:enumeration value="Immutable"/>
288 <xsd:enumeration value="Writethrough"/>
289 </xsd:restriction>
290 </xsd:simpleType>
291 </xsd:attribute>
292 </xsd:extension>
293 </xsd:complexContent>
294</xsd:complexType>
295
296<xsd:complexType name="TImage2">
297 <xsd:sequence>
298 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
299 </xsd:sequence>
300 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
301 <xsd:attribute name="location" type="TLocalFile" use="required"/>
302</xsd:complexType>
303
304<xsd:complexType name="TImageRef">
305 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
306</xsd:complexType>
307
308<xsd:complexType name="THostDrive">
309 <xsd:attribute name="src" type="TLocalFile" use="required"/>
310</xsd:complexType>
311
312<xsd:complexType name="TUSBDeviceFilter">
313 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
314 <xsd:attribute name="active" type="xsd:boolean" use="required"/>
315 <xsd:attribute name="vendorId" type="xsd:token"/>
316 <xsd:attribute name="productId" type="xsd:token"/>
317 <xsd:attribute name="revision" type="xsd:token"/>
318 <xsd:attribute name="manufacturer" type="xsd:token"/>
319 <xsd:attribute name="product" type="xsd:token"/>
320 <xsd:attribute name="serialNumber" type="xsd:token"/>
321 <xsd:attribute name="port" type="xsd:token"/>
322 <xsd:attribute name="remote" type="xsd:token"/>
323 <xsd:attribute name="maskedInterfaces" type="xsd:unsignedInt" default="0"/>
324</xsd:complexType>
325
326<xsd:complexType name="THostUSBDeviceFilter">
327 <xsd:complexContent>
328 <xsd:extension base="TUSBDeviceFilter">
329 <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
330 </xsd:extension>
331 </xsd:complexContent>
332</xsd:complexType>
333
334<xsd:complexType name="TSystemProperties">
335 <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
336 <xsd:attribute name="defaultHardDiskFolder" type="TLocalFile"/>
337 <xsd:attribute name="defaultHardDiskFormat" type="TNonEmptyString"/>
338 <xsd:attribute name="remoteDisplayAuthLibrary" type="TLocalFile"/>
339 <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
340 <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
341 <xsd:attribute name="LogHistoryCount" type="xsd:unsignedInt" default="3"/>
342</xsd:complexType>
343
344<xsd:complexType name="TExtraData">
345 <xsd:sequence>
346 <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
347 <xsd:complexType>
348 <xsd:attribute name="name" type="xsd:token" use="required"/>
349 <xsd:attribute name="value" type="xsd:string" use="required"/>
350 </xsd:complexType>
351 </xsd:element>
352 </xsd:sequence>
353</xsd:complexType>
354
355<xsd:complexType name="TGlobal">
356 <xsd:all>
357 <xsd:element name="MachineRegistry">
358 <xsd:complexType>
359 <xsd:sequence>
360 <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
361 <xsd:complexType>
362 <xsd:attribute name="src" type="TLocalFile" use="required"/>
363 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
364 </xsd:complexType>
365 </xsd:element>
366 </xsd:sequence>
367 </xsd:complexType>
368 </xsd:element>
369 <xsd:element name="MediaRegistry">
370 <xsd:complexType>
371 <xsd:all>
372 <xsd:element name="HardDisks" minOccurs="0">
373 <xsd:complexType>
374 <xsd:sequence>
375 <xsd:element name="HardDisk" type="THardDisk2" minOccurs="0" maxOccurs="unbounded"/>
376 </xsd:sequence>
377 </xsd:complexType>
378 </xsd:element>
379 <xsd:element name="DVDImages" minOccurs="0">
380 <xsd:complexType>
381 <xsd:sequence>
382 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
383 </xsd:sequence>
384 </xsd:complexType>
385 </xsd:element>
386 <xsd:element name="FloppyImages" minOccurs="0">
387 <xsd:complexType>
388 <xsd:sequence>
389 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
390 </xsd:sequence>
391 </xsd:complexType>
392 </xsd:element>
393 </xsd:all>
394 </xsd:complexType>
395 </xsd:element>
396 <xsd:element name="USBDeviceFilters">
397 <xsd:complexType>
398 <xsd:sequence>
399 <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
400 minOccurs="0" maxOccurs="unbounded"/>
401 </xsd:sequence>
402 </xsd:complexType>
403 </xsd:element>
404 <xsd:element name="SystemProperties" type="TSystemProperties"/>
405 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
406 </xsd:all>
407</xsd:complexType>
408
409<xsd:complexType name="THWVirtExType">
410 <xsd:attribute name="enabled" type="TTriStateBoolType" default="default"/>
411</xsd:complexType>
412
413<xsd:complexType name="THWVirtExNestedPagingType">
414 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
415</xsd:complexType>
416
417<xsd:complexType name="THWVirtExVPIDType">
418 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
419</xsd:complexType>
420
421<xsd:complexType name="TPAEType">
422 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
423</xsd:complexType>
424
425<xsd:simpleType name="TCPUCount">
426 <xsd:restriction base="xsd:unsignedInt">
427 <xsd:minInclusive value="1"/>
428 <xsd:maxInclusive value="255"/>
429 </xsd:restriction>
430</xsd:simpleType>
431
432<xsd:complexType name="TCPU">
433 <xsd:sequence>
434 <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
435 <xsd:element name="HardwareVirtExNestedPaging" type="THWVirtExNestedPagingType" minOccurs="0"/>
436 <xsd:element name="HardwareVirtExVPID" type="THWVirtExVPIDType" minOccurs="0"/>
437 <xsd:element name="PAE" type="TPAEType" minOccurs="0"/>
438 </xsd:sequence>
439 <xsd:attribute name="count" type="TCPUCount" default="1"/>
440</xsd:complexType>
441
442<xsd:complexType name="TBoot">
443 <xsd:sequence>
444 <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
445 <xsd:complexType>
446 <xsd:attribute name="position" use="required">
447 <xsd:simpleType>
448 <xsd:restriction base="xsd:unsignedInt">
449 <xsd:minInclusive value="1"/>
450 <xsd:maxInclusive value="4"/>
451 </xsd:restriction>
452 </xsd:simpleType>
453 </xsd:attribute>
454 <xsd:attribute name="device" type="TDeviceType" use="required"/>
455 </xsd:complexType>
456 </xsd:element>
457 </xsd:sequence>
458</xsd:complexType>
459
460<xsd:complexType name="TDisplay">
461 <xsd:attribute name="VRAMSize" use="required">
462 <xsd:simpleType>
463 <xsd:restriction base="xsd:unsignedInt">
464 <xsd:minInclusive value="1"/>
465 <xsd:maxInclusive value="128"/>
466 </xsd:restriction>
467 </xsd:simpleType>
468 </xsd:attribute>
469 <xsd:attribute name="monitorCount" default="1">
470 <xsd:simpleType>
471 <xsd:restriction base="xsd:unsignedInt">
472 <xsd:maxInclusive value="8"/>
473 </xsd:restriction>
474 </xsd:simpleType>
475 </xsd:attribute>
476 <xsd:attribute name="accelerate3D" type="xsd:boolean" default="false"/>
477</xsd:complexType>
478
479<xsd:complexType name="TRemoteDisplay">
480 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
481 <xsd:attribute name="port" type="xsd:unsignedInt" default="0"/>
482 <xsd:attribute name="netAddress" type="xsd:token" default=""/>
483 <xsd:attribute name="authType" type="TVRDPAuthType" default="Null"/>
484 <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
485 <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
486 <xsd:attribute name="reuseSingleConnection" type="xsd:boolean" default="false"/>
487</xsd:complexType>
488
489<xsd:complexType name="TBIOS">
490 <xsd:all>
491 <xsd:element name="ACPI">
492 <xsd:complexType>
493 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
494 </xsd:complexType>
495 </xsd:element>
496 <xsd:element name="IOAPIC" minOccurs="0">
497 <xsd:complexType>
498 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
499 </xsd:complexType>
500 </xsd:element>
501 <xsd:element name="Logo" minOccurs="0">
502 <xsd:complexType>
503 <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
504 <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
505 <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
506 <xsd:attribute name="imagePath" type="TLocalFile"/>
507 </xsd:complexType>
508 </xsd:element>
509 <xsd:element name="BootMenu" minOccurs="0">
510 <xsd:complexType>
511 <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="MessageAndMenu"/>
512 </xsd:complexType>
513 </xsd:element>
514 <xsd:element name="TimeOffset" minOccurs="0">
515 <xsd:complexType>
516 <xsd:attribute name="value" type="xsd:integer" default="0"/>
517 </xsd:complexType>
518 </xsd:element>
519 <xsd:element name="PXEDebug" minOccurs="0">
520 <xsd:complexType>
521 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
522 </xsd:complexType>
523 </xsd:element>
524 <xsd:element name="IDEController" minOccurs="0">
525 <xsd:complexType>
526 <xsd:attribute name="type" use="required" type="TIDEControllerType"/>
527 </xsd:complexType>
528 </xsd:element>
529 </xsd:all>
530</xsd:complexType>
531
532<xsd:complexType name="THardDiskAttachment">
533 <xsd:attribute name="hardDisk" type="TNonNullUUID" use="required"/>
534 <xsd:attribute name="bus" use="required">
535 <xsd:simpleType>
536 <xsd:restriction base="xsd:token">
537 <xsd:enumeration value="IDE"/>
538 <xsd:enumeration value="SATA"/>
539 </xsd:restriction>
540 </xsd:simpleType>
541 </xsd:attribute>
542 <xsd:attribute name="channel" type="xsd:unsignedInt" use="required"/>
543 <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
544</xsd:complexType>
545
546<xsd:complexType name="THardDiskAttachments">
547 <xsd:sequence>
548 <xsd:element name="HardDiskAttachment" type="THardDiskAttachment"
549 minOccurs="0" maxOccurs="unbounded"/>
550 </xsd:sequence>
551</xsd:complexType>
552
553<xsd:complexType name="TDVDDrive">
554 <xsd:choice minOccurs="0">
555 <xsd:element name="Image" type="TImageRef"/>
556 <xsd:element name="HostDrive" type="THostDrive"/>
557 </xsd:choice>
558 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
559</xsd:complexType>
560
561<xsd:complexType name="TFloppyDrive">
562 <xsd:choice minOccurs="0">
563 <xsd:element name="Image" type="TImageRef"/>
564 <xsd:element name="HostDrive" type="THostDrive"/>
565 </xsd:choice>
566 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
567</xsd:complexType>
568
569<xsd:complexType name="TUSBController">
570 <xsd:sequence>
571 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
572 minOccurs="0" maxOccurs="unbounded"/>
573 </xsd:sequence>
574 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
575 <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
576</xsd:complexType>
577
578<xsd:complexType name="TAudioAdapterBase">
579 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
580 <xsd:attribute name="controller" default="AC97">
581 <xsd:simpleType>
582 <xsd:restriction base="xsd:token">
583 <xsd:enumeration value="AC97"/>
584 <xsd:enumeration value="SB16"/>
585 </xsd:restriction>
586 </xsd:simpleType>
587 </xsd:attribute>
588</xsd:complexType>
589
590<xsd:complexType name="TNetworkAdapter">
591 <xsd:choice minOccurs="0">
592 <xsd:element name="NAT">
593 <xsd:complexType>
594 <xsd:attribute name="network" type="xsd:string"/>
595 </xsd:complexType>
596 </xsd:element>
597 <xsd:element name="HostInterface">
598 <xsd:complexType>
599 <xsd:attribute name="name" type="xsd:string" use="required"/>
600 </xsd:complexType>
601 </xsd:element>
602 <xsd:element name="InternalNetwork">
603 <xsd:complexType>
604 <xsd:attribute name="name" type="xsd:string" use="required"/>
605 </xsd:complexType>
606 </xsd:element>
607 </xsd:choice>
608 <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
609 <xsd:attribute name="slot" use="required">
610 <xsd:simpleType>
611 <xsd:restriction base="xsd:unsignedInt">
612 <xsd:minInclusive value="0"/>
613 <xsd:maxExclusive value="8"/>
614 </xsd:restriction>
615 </xsd:simpleType>
616 </xsd:attribute>
617 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
618 <xsd:attribute name="MACAddress">
619 <xsd:simpleType>
620 <xsd:restriction base="xsd:hexBinary">
621 <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
622 </xsd:restriction>
623 </xsd:simpleType>
624 </xsd:attribute>
625 <xsd:attribute name="cable" type="xsd:boolean" use="required"/>
626 <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
627 <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
628 <xsd:attribute name="tracefile" type="xsd:string"/>
629</xsd:complexType>
630
631<xsd:complexType name="TNetwork">
632 <xsd:sequence>
633 <xsd:element name="Adapter" type="TNetworkAdapter"
634 minOccurs="0" maxOccurs="unbounded"/>
635 </xsd:sequence>
636</xsd:complexType>
637
638<xsd:complexType name="TUARTPort">
639 <xsd:attribute name="slot" use="required">
640 <xsd:simpleType>
641 <xsd:restriction base="xsd:unsignedInt">
642 <xsd:minInclusive value="0"/>
643 <xsd:maxExclusive value="2"/>
644 </xsd:restriction>
645 </xsd:simpleType>
646 </xsd:attribute>
647 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
648 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
649 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
650 <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
651 <xsd:attribute name="path" type="TLocalFile"/>
652 <xsd:attribute name="server" type="xsd:boolean" default="false"/>
653</xsd:complexType>
654
655<xsd:complexType name="TUART">
656 <xsd:sequence>
657 <xsd:element name="Port" type="TUARTPort"
658 minOccurs="0" maxOccurs="unbounded"/>
659 </xsd:sequence>
660</xsd:complexType>
661
662<xsd:complexType name="TLPTPort">
663 <xsd:attribute name="slot" use="required">
664 <xsd:simpleType>
665 <xsd:restriction base="xsd:unsignedInt">
666 <xsd:minInclusive value="0"/>
667 <xsd:maxExclusive value="2"/>
668 </xsd:restriction>
669 </xsd:simpleType>
670 </xsd:attribute>
671 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
672 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
673 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
674 <xsd:attribute name="path" type="TLocalFile"/>
675</xsd:complexType>
676
677<xsd:complexType name="TLPT">
678 <xsd:sequence>
679 <xsd:element name="Port" type="TLPTPort"
680 minOccurs="0" maxOccurs="unbounded"/>
681 </xsd:sequence>
682</xsd:complexType>
683
684<xsd:complexType name="TSharedFolder">
685 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
686 <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
687 <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
688</xsd:complexType>
689
690<xsd:complexType name="TSharedFolders">
691 <xsd:sequence>
692 <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
693 </xsd:sequence>
694</xsd:complexType>
695
696<xsd:complexType name="TClipboard">
697 <xsd:attribute name="mode" type="TClipboardMode" use="required"/>
698</xsd:complexType>
699
700<xsd:complexType name="TGuest">
701 <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
702 <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
703</xsd:complexType>
704
705<xsd:complexType name="TSATAController">
706 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
707 <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" default="0"/>
708 <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" default="1"/>
709 <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" default="2"/>
710 <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" default="3"/>
711 <xsd:attribute name="PortCount" type="xsd:unsignedInt" default="30"/>
712</xsd:complexType>
713
714<xsd:complexType name="TGuestProperty">
715 <xsd:attribute name="name" type="xsd:string" use="required"/>
716 <xsd:attribute name="value" type="xsd:string" use="required"/>
717 <xsd:attribute name="timestamp" type="xsd:unsignedLong" default="0"/>
718 <xsd:attribute name="flags" type="xsd:string" default=""/>
719</xsd:complexType>
720
721<xsd:complexType name="TGuestProperties">
722 <xsd:sequence>
723 <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
724 </xsd:sequence>
725 <xsd:attribute name="notificationPatterns" type="xsd:string" default=""/>
726</xsd:complexType>
727
728<xsd:complexType name="THardware">
729 <xsd:all>
730 <xsd:element name="CPU" type="TCPU" minOccurs="0"/>
731 <xsd:element name="Memory" type="TMemory"/>
732 <xsd:element name="Boot" type="TBoot">
733 <xsd:unique name="THardware-Boot-Order">
734 <xsd:selector xpath="vb:Order"/>
735 <xsd:field xpath="@position"/>
736 </xsd:unique>
737 </xsd:element>
738 <xsd:element name="Display" type="TDisplay"/>
739 <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
740 <xsd:element name="BIOS" type="TBIOS"/>
741 <xsd:element name="DVDDrive" type="TDVDDrive"/>
742 <xsd:element name="FloppyDrive" type="TFloppyDrive"/>
743 <xsd:element name="USBController" type="TUSBController"/>
744 <xsd:element name="SATAController" type="TSATAController"/>
745 <xsd:element name="Network" type="TNetwork">
746 <xsd:unique name="THardware-Network-Adapter">
747 <xsd:selector xpath="vb:Adapter"/>
748 <xsd:field xpath="@slot"/>
749 </xsd:unique>
750 </xsd:element>
751 <xsd:element name="UART" type="TUART">
752 <xsd:unique name="THardware-UART-Port">
753 <xsd:selector xpath="vb:Port"/>
754 <xsd:field xpath="@slot"/>
755 </xsd:unique>
756 </xsd:element>
757 <xsd:element name="LPT" type="TLPT">
758 <xsd:unique name="THardware-LPT-Port">
759 <xsd:selector xpath="vb:Port"/>
760 <xsd:field xpath="@slot"/>
761 </xsd:unique>
762 </xsd:element>
763 <xsd:element name="AudioAdapter" type="TAudioAdapter"/>
764 <xsd:element name="SharedFolders" type="TSharedFolders">
765 <xsd:unique name="THardware-SharedFolders-SharedFolder">
766 <xsd:selector xpath="vb:SharedFolder"/>
767 <xsd:field xpath="@name"/>
768 </xsd:unique>
769 </xsd:element>
770 <xsd:element name="Clipboard" type="TClipboard"/>
771 <xsd:element name="Guest" type="TGuest"/>
772 <xsd:element name="GuestProperties" type="TGuestProperties" minOccurs="0">
773 <xsd:unique name="THardware-GuestProperties-GuestProperty">
774 <xsd:selector xpath="vb:GuestProperty"/>
775 <xsd:field xpath="@name"/>
776 </xsd:unique>
777 </xsd:element>
778 </xsd:all>
779 <xsd:attribute name="version" type="xsd:string" default="2"/>
780</xsd:complexType>
781
782<xsd:complexType name="TMachine">
783 <xsd:all>
784 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
785 <xsd:element name="Hardware" type="THardware"/>
786 <xsd:element name="HardDiskAttachments" type="THardDiskAttachments"/>
787 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
788 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
789 </xsd:all>
790 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
791 <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
792 <xsd:attribute name="OSType" type="TGuestOSType" use="required"/>
793 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
794 <xsd:attribute name="stateFile" type="TLocalFile"/>
795 <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
796 <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
797 <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
798 <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
799 <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
800</xsd:complexType>
801
802<xsd:complexType name="TSnapshot">
803 <xsd:all>
804 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
805 <xsd:element name="Hardware" type="THardware"/>
806 <xsd:element name="HardDiskAttachments" type="THardDiskAttachments"/>
807 <xsd:element name="Snapshots" minOccurs="0">
808 <xsd:complexType>
809 <xsd:sequence>
810 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
811 </xsd:sequence>
812 </xsd:complexType>
813 </xsd:element>
814 </xsd:all>
815 <xsd:attribute name="name" type="xsd:token" use="required"/>
816 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
817 <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
818 <xsd:attribute name="stateFile" type="TLocalFile"/>
819</xsd:complexType>
820
821<xsd:complexType name="TVirtualBox" abstract="true">
822 <xsd:choice>
823 <xsd:element name="Global" type="TGlobal"/>
824 <xsd:element name="Machine" type="TMachine">
825 <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
826 <xsd:key name="snapshot">
827 <xsd:selector xpath=".//vb:Snapshot"/>
828 <xsd:field xpath="@uuid"/>
829 </xsd:key>
830 <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
831 <xsd:selector xpath="."/>
832 <xsd:field xpath="@currentSnapshot"/>
833 </xsd:keyref>
834 </xsd:element>
835 </xsd:choice>
836</xsd:complexType>
837
838</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