VirtualBox

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

Last change on this file since 8152 was 7991, checked in by vboxsync, 17 years ago

Fixed PAE setting

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 27.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * :tabSize=2:indentSize=2:noTabs=true:
4 * :folding=explicit:collapseFolds=1:
5 *
6 * innotek VirtualBox Settings Schema
7 * Common definitions
8
9 Copyright (C) 2004-2007 innotek GmbH
10
11 This file is part of VirtualBox Open Source Edition (OSE), as
12 available from http://www.virtualbox.org. This file is free software;
13 you can redistribute it and/or modify it under the terms of the GNU
14 General Public License (GPL) as published by the Free Software
15 Foundation, in version 2 as it comes in the "COPYING" file of the
16 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
17 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18-->
19
20<xsd:schema
21 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
22 xmlns="http://www.innotek.de/VirtualBox-settings"
23 xmlns:vb="http://www.innotek.de/VirtualBox-settings"
24 targetNamespace="http://www.innotek.de/VirtualBox-settings"
25 elementFormDefault="qualified"
26>
27
28<xsd:annotation>
29 <xsd:documentation xml:lang="en">
30 innotek VirtualBox Settings Schema (common definitions).
31 Copyright (c) 2004-2007 innotek GmbH.
32 </xsd:documentation>
33</xsd:annotation>
34
35<!--
36// Simple types
37/////////////////////////////////////////////////////////////////////////
38-->
39
40<xsd:simpleType name="TUUID">
41 <xsd:restriction base="xsd:token">
42 <xsd:pattern value="\{[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}\}"/>
43 </xsd:restriction>
44</xsd:simpleType>
45
46<xsd:simpleType name="TNonNullUUID">
47 <xsd:restriction base="TUUID">
48 <xsd:pattern value=".*[1-9A-Fa-f]+.*"/>
49 </xsd:restriction>
50</xsd:simpleType>
51
52<xsd:simpleType name="TUInt8">
53 <xsd:union>
54 <xsd:simpleType>
55 <xsd:restriction base="xsd:unsignedByte">
56 </xsd:restriction>
57 </xsd:simpleType>
58 <xsd:simpleType>
59 <xsd:restriction base="xsd:string">
60 <xsd:pattern value="0[xX][A-Fa-f0-9]{1,2}"/>
61 </xsd:restriction>
62 </xsd:simpleType>
63 </xsd:union>
64</xsd:simpleType>
65
66<xsd:simpleType name="TUInt16">
67 <xsd:union>
68 <xsd:simpleType>
69 <xsd:restriction base="xsd:unsignedShort">
70 </xsd:restriction>
71 </xsd:simpleType>
72 <xsd:simpleType>
73 <xsd:restriction base="xsd:string">
74 <xsd:pattern value="0[xX][A-Fa-f0-9]{1,4}"/>
75 </xsd:restriction>
76 </xsd:simpleType>
77 </xsd:union>
78</xsd:simpleType>
79
80<xsd:simpleType name="TUInt64Hex">
81 <xsd:restriction base="xsd:string">
82 <xsd:pattern value="0x[A-Fa-f0-9]{1,16}"/>
83 </xsd:restriction>
84</xsd:simpleType>
85
86<xsd:simpleType name="TLocalFile">
87 <xsd:restriction base="xsd:string">
88 <xsd:pattern value=".+"/>
89 </xsd:restriction>
90</xsd:simpleType>
91
92<xsd:simpleType name="TDiskType">
93 <xsd:restriction base="xsd:token">
94 <xsd:enumeration value="HD"/>
95 <xsd:enumeration value="DVD"/>
96 <xsd:enumeration value="FD"/>
97 </xsd:restriction>
98</xsd:simpleType>
99
100<xsd:simpleType name="TDeviceType">
101 <xsd:restriction base="xsd:token">
102 <xsd:enumeration value="None"/>
103 <xsd:enumeration value="Floppy"/>
104 <xsd:enumeration value="DVD"/>
105 <xsd:enumeration value="HardDisk"/>
106 <xsd:enumeration value="Network"/>
107 </xsd:restriction>
108</xsd:simpleType>
109
110<xsd:simpleType name="TUSBDeviceFilterAction">
111 <xsd:restriction base="xsd:token">
112 <xsd:enumeration value="Ignore"/>
113 <xsd:enumeration value="Hold"/>
114 </xsd:restriction>
115</xsd:simpleType>
116
117<xsd:simpleType name="TNonEmptyString">
118 <xsd:restriction base="xsd:string">
119 <xsd:pattern value=".+"/>
120 </xsd:restriction>
121</xsd:simpleType>
122
123<xsd:simpleType name="TPresentDateTimeUTC">
124 <xsd:restriction base="xsd:dateTime">
125 <xsd:minInclusive value="1900-01-01T00:00:00Z"/>
126 <xsd:maxInclusive value="199999999-12-31T23:59:59Z"/>
127 <xsd:pattern value=".+-.+-.+T.+:.+:[0-9]{2}Z"/>
128 </xsd:restriction>
129</xsd:simpleType>
130
131<xsd:simpleType name="TGuestOSType">
132 <xsd:restriction base="xsd:string">
133 <!-- @todo on next format change, rename dos to DOS, win2k3 to Win2003 and
134 so on. Possibly also use prefixes that determine the platform family:
135 Win_31, Win_Vista, Linux_ArchLinux, Unix_FreeBSD and so on. -->
136 <xsd:enumeration value="unknown"/>
137 <xsd:enumeration value="dos"/>
138 <xsd:enumeration value="win31"/>
139 <xsd:enumeration value="win95"/>
140 <xsd:enumeration value="win98"/>
141 <xsd:enumeration value="winme"/>
142 <xsd:enumeration value="winnt4"/>
143 <xsd:enumeration value="win2k"/>
144 <xsd:enumeration value="winxp"/>
145 <xsd:enumeration value="win2k3"/>
146 <xsd:enumeration value="winvista"/>
147 <xsd:enumeration value="win2k8"/>
148 <xsd:enumeration value="os2warp3"/>
149 <xsd:enumeration value="os2warp4"/>
150 <xsd:enumeration value="os2warp45"/>
151 <xsd:enumeration value="ecs"/>
152 <xsd:enumeration value="linux22"/>
153 <xsd:enumeration value="linux24"/>
154 <xsd:enumeration value="linux26"/>
155 <xsd:enumeration value="archlinux"/>
156 <xsd:enumeration value="debian"/>
157 <xsd:enumeration value="opensuse"/>
158 <xsd:enumeration value="fedoracore"/>
159 <xsd:enumeration value="gentoo"/>
160 <xsd:enumeration value="mandriva"/>
161 <xsd:enumeration value="redhat"/>
162 <xsd:enumeration value="ubuntu"/>
163 <xsd:enumeration value="xandros"/>
164 <xsd:enumeration value="freebsd"/>
165 <xsd:enumeration value="openbsd"/>
166 <xsd:enumeration value="netbsd"/>
167 <xsd:enumeration value="netware"/>
168 <xsd:enumeration value="solaris"/>
169 <xsd:enumeration value="l4"/>
170 </xsd:restriction>
171</xsd:simpleType>
172
173<xsd:simpleType name="TVRDPAuthType">
174 <xsd:restriction base="xsd:string">
175 <xsd:enumeration value="Null"/>
176 <xsd:enumeration value="Guest"/>
177 <xsd:enumeration value="External"/>
178 </xsd:restriction>
179</xsd:simpleType>
180
181<xsd:simpleType name="TNetworkAdapterType">
182 <xsd:restriction base="xsd:string">
183 <xsd:enumeration value="Am79C970A"/>
184 <xsd:enumeration value="Am79C973"/>
185 <xsd:enumeration value="82540EM"/>
186 </xsd:restriction>
187</xsd:simpleType>
188
189<xsd:simpleType name="TTriStateBoolType">
190 <xsd:restriction base="xsd:string">
191 <xsd:enumeration value="false"/>
192 <xsd:enumeration value="true"/>
193 <xsd:enumeration value="default"/>
194 </xsd:restriction>
195</xsd:simpleType>
196
197<xsd:simpleType name="TBIOSBootMenuModeType">
198 <xsd:restriction base="xsd:string">
199 <xsd:enumeration value="Disabled"/>
200 <xsd:enumeration value="MenuOnly"/>
201 <xsd:enumeration value="MessageAndMenu"/>
202 </xsd:restriction>
203</xsd:simpleType>
204
205<xsd:simpleType name="TIDEControllerType">
206 <xsd:restriction base="xsd:string">
207 <xsd:enumeration value="PIIX3"/>
208 <xsd:enumeration value="PIIX4"/>
209 </xsd:restriction>
210</xsd:simpleType>
211
212<xsd:simpleType name="TClipboardMode">
213 <xsd:restriction base="xsd:string">
214 <xsd:enumeration value="Disabled"/>
215 <xsd:enumeration value="HostToGuest"/>
216 <xsd:enumeration value="GuestToHost"/>
217 <xsd:enumeration value="Bidirectional"/>
218 </xsd:restriction>
219</xsd:simpleType>
220
221<xsd:simpleType name="TPortMode">
222 <xsd:restriction base="xsd:string">
223 <xsd:enumeration value="Disconnected"/>
224 <xsd:enumeration value="HostPipe"/>
225 <xsd:enumeration value="HostDevice"/>
226 </xsd:restriction>
227</xsd:simpleType>
228
229<!--
230// Complex types
231/////////////////////////////////////////////////////////////////////////
232-->
233
234<xsd:complexType name="TImage">
235 <xsd:attribute name="src" type="TLocalFile" use="required"/>
236 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
237</xsd:complexType>
238
239<xsd:complexType name="TVirtualDiskImage">
240 <xsd:attribute name="filePath" type="TLocalFile" use="required"/>
241</xsd:complexType>
242
243<xsd:complexType name="TDiffHardDisk">
244 <xsd:sequence>
245 <xsd:element name="VirtualDiskImage" type="TVirtualDiskImage"/>
246 <xsd:element name="DiffHardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
247 </xsd:sequence>
248 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
249</xsd:complexType>
250
251<xsd:complexType name="THardDisk">
252 <xsd:sequence>
253 <xsd:choice>
254 <xsd:element name="VirtualDiskImage" type="TVirtualDiskImage"/>
255 <xsd:element name="ISCSIHardDisk">
256 <xsd:complexType>
257 <xsd:attribute name="server" type="xsd:token" use="required"/>
258 <xsd:attribute name="port" type="xsd:unsignedShort" default="0"/>
259 <xsd:attribute name="target" type="xsd:token" use="required"/>
260 <xsd:attribute name="lun" type="TUInt64Hex" default="0x0"/>
261 <xsd:attribute name="userName" type="xsd:token"/>
262 <xsd:attribute name="password" type="xsd:token"/>
263 </xsd:complexType>
264 </xsd:element>
265 <xsd:element name="VMDKImage">
266 <xsd:complexType>
267 <xsd:attribute name="filePath" type="TLocalFile" use="required"/>
268 </xsd:complexType>
269 </xsd:element>
270 <xsd:element name="PhysicalVolume">
271 <xsd:complexType>
272 <xsd:attribute name="path" type="TLocalFile" use="required"/>
273 </xsd:complexType>
274 </xsd:element>
275 <xsd:element name="CustomHardDisk">
276 <xsd:complexType>
277 <xsd:attribute name="location" type="TLocalFile" use="required"/>
278 <xsd:attribute name="format" type="xsd:string" use="required"/>
279 </xsd:complexType>
280 </xsd:element>
281 <xsd:element name="VHDImage">
282 <xsd:complexType>
283 <xsd:attribute name="filePath" type="TLocalFile" use="required"/>
284 </xsd:complexType>
285 </xsd:element>
286 </xsd:choice>
287 <xsd:element name="DiffHardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
288 </xsd:sequence>
289 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
290 <xsd:attribute name="type" use="required">
291 <xsd:simpleType>
292 <xsd:restriction base="xsd:string">
293 <xsd:enumeration value="normal"/>
294 <xsd:enumeration value="immutable"/>
295 <xsd:enumeration value="writethrough"/>
296 </xsd:restriction>
297 </xsd:simpleType>
298 </xsd:attribute>
299</xsd:complexType>
300
301<xsd:complexType name="TImageRef">
302 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
303</xsd:complexType>
304
305<xsd:complexType name="THostDrive">
306 <xsd:attribute name="src" type="TLocalFile" use="required"/>
307</xsd:complexType>
308
309<xsd:complexType name="TUSBDeviceFilter">
310 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
311 <xsd:attribute name="active" type="xsd:boolean" use="required"/>
312 <xsd:attribute name="vendorId" type="xsd:token"/>
313 <xsd:attribute name="productId" type="xsd:token"/>
314 <xsd:attribute name="revision" type="xsd:token"/>
315 <xsd:attribute name="manufacturer" type="xsd:token"/>
316 <xsd:attribute name="product" type="xsd:token"/>
317 <xsd:attribute name="serialNumber" type="xsd:token"/>
318 <xsd:attribute name="port" type="xsd:token"/>
319 <xsd:attribute name="remote" type="xsd:token"/>
320 <xsd:attribute name="maskedInterfaces" type="xsd:unsignedInt" default="0"/>
321</xsd:complexType>
322
323<xsd:complexType name="THostUSBDeviceFilter">
324 <xsd:complexContent>
325 <xsd:extension base="TUSBDeviceFilter">
326 <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
327 </xsd:extension>
328 </xsd:complexContent>
329</xsd:complexType>
330
331<xsd:complexType name="TSystemProperties">
332 <xsd:attribute name="defaultVDIFolder" type="TLocalFile"/>
333 <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
334 <xsd:attribute name="remoteDisplayAuthLibrary" type="TLocalFile"/>
335 <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
336 <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
337 <xsd:attribute name="LogHistoryCount" type="xsd:unsignedInt" default="3"/>
338</xsd:complexType>
339
340<xsd:complexType name="TExtraData">
341 <xsd:sequence>
342 <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
343 <xsd:complexType>
344 <xsd:attribute name="name" type="xsd:token" use="required"/>
345 <xsd:attribute name="value" type="xsd:string" use="required"/>
346 </xsd:complexType>
347 </xsd:element>
348 </xsd:sequence>
349</xsd:complexType>
350
351<xsd:complexType name="TGlobal">
352 <xsd:all>
353 <xsd:element name="MachineRegistry">
354 <xsd:complexType>
355 <xsd:sequence>
356 <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
357 <xsd:complexType>
358 <xsd:attribute name="src" type="TLocalFile" use="required"/>
359 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
360 </xsd:complexType>
361 </xsd:element>
362 </xsd:sequence>
363 </xsd:complexType>
364 </xsd:element>
365 <xsd:element name="DiskRegistry">
366 <xsd:complexType>
367 <xsd:all>
368 <xsd:element name="HardDisks" minOccurs="0">
369 <xsd:complexType>
370 <xsd:sequence>
371 <xsd:element name="HardDisk" type="THardDisk" minOccurs="0" maxOccurs="unbounded"/>
372 </xsd:sequence>
373 </xsd:complexType>
374 </xsd:element>
375 <xsd:element name="DVDImages" minOccurs="0">
376 <xsd:complexType>
377 <xsd:sequence>
378 <xsd:element name="Image" type="TImage" minOccurs="0" maxOccurs="unbounded"/>
379 </xsd:sequence>
380 </xsd:complexType>
381 </xsd:element>
382 <xsd:element name="FloppyImages" minOccurs="0">
383 <xsd:complexType>
384 <xsd:sequence>
385 <xsd:element name="Image" type="TImage" minOccurs="0" maxOccurs="unbounded"/>
386 </xsd:sequence>
387 </xsd:complexType>
388 </xsd:element>
389 </xsd:all>
390 </xsd:complexType>
391 </xsd:element>
392 <xsd:element name="USBDeviceFilters">
393 <xsd:complexType>
394 <xsd:sequence>
395 <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
396 minOccurs="0" maxOccurs="unbounded"/>
397 </xsd:sequence>
398 </xsd:complexType>
399 </xsd:element>
400 <xsd:element name="SystemProperties" type="TSystemProperties"/>
401 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
402 </xsd:all>
403</xsd:complexType>
404
405<xsd:complexType name="THWVirtExType">
406 <xsd:attribute name="enabled" type="TTriStateBoolType" default="default"/>
407</xsd:complexType>
408
409<xsd:complexType name="TPAEType">
410 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
411</xsd:complexType>
412
413<xsd:complexType name="TCPU">
414 <xsd:sequence>
415 <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
416 <xsd:element name="PAE" type="TPAEType" minOccurs="0"/>
417 </xsd:sequence>
418</xsd:complexType>
419
420<xsd:complexType name="TBoot">
421 <xsd:sequence>
422 <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
423 <xsd:complexType>
424 <xsd:attribute name="position" use="required">
425 <xsd:simpleType>
426 <xsd:restriction base="xsd:unsignedInt">
427 <xsd:minInclusive value="1"/>
428 <xsd:maxInclusive value="4"/>
429 </xsd:restriction>
430 </xsd:simpleType>
431 </xsd:attribute>
432 <xsd:attribute name="device" type="TDeviceType" use="required"/>
433 </xsd:complexType>
434 </xsd:element>
435 </xsd:sequence>
436</xsd:complexType>
437
438<xsd:complexType name="TDisplay">
439 <xsd:attribute name="VRAMSize" use="required">
440 <xsd:simpleType>
441 <xsd:restriction base="xsd:unsignedInt">
442 <xsd:minInclusive value="1"/>
443 <xsd:maxInclusive value="128"/>
444 </xsd:restriction>
445 </xsd:simpleType>
446 </xsd:attribute>
447 <xsd:attribute name="MonitorCount" default="1">
448 <xsd:simpleType>
449 <xsd:restriction base="xsd:unsignedInt">
450 <xsd:maxInclusive value="8"/>
451 </xsd:restriction>
452 </xsd:simpleType>
453 </xsd:attribute>
454</xsd:complexType>
455
456<xsd:complexType name="TRemoteDisplay">
457 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
458 <xsd:attribute name="port" type="xsd:unsignedInt" default="0"/>
459 <xsd:attribute name="netAddress" type="xsd:token" default=""/>
460 <xsd:attribute name="authType" type="TVRDPAuthType" default="Null"/>
461 <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
462 <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
463</xsd:complexType>
464
465<xsd:complexType name="TBIOS">
466 <xsd:all>
467 <xsd:element name="ACPI">
468 <xsd:complexType>
469 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
470 </xsd:complexType>
471 </xsd:element>
472 <xsd:element name="IOAPIC" minOccurs="0">
473 <xsd:complexType>
474 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
475 </xsd:complexType>
476 </xsd:element>
477 <xsd:element name="Logo" minOccurs="0">
478 <xsd:complexType>
479 <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
480 <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
481 <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
482 <xsd:attribute name="imagePath" type="TLocalFile"/>
483 </xsd:complexType>
484 </xsd:element>
485 <xsd:element name="BootMenu" minOccurs="0">
486 <xsd:complexType>
487 <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="MessageAndMenu"/>
488 </xsd:complexType>
489 </xsd:element>
490 <xsd:element name="TimeOffset" minOccurs="0">
491 <xsd:complexType>
492 <xsd:attribute name="value" type="xsd:integer" default="0"/>
493 </xsd:complexType>
494 </xsd:element>
495 <xsd:element name="PXEDebug" minOccurs="0">
496 <xsd:complexType>
497 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
498 </xsd:complexType>
499 </xsd:element>
500 <xsd:element name="IDEController" minOccurs="0">
501 <xsd:complexType>
502 <xsd:attribute name="type" use="required" type="TIDEControllerType"/>
503 </xsd:complexType>
504 </xsd:element>
505 </xsd:all>
506</xsd:complexType>
507
508<xsd:complexType name="THardDiskAttachment">
509 <xsd:attribute name="hardDisk" type="TNonNullUUID" use="required"/>
510 <xsd:attribute name="bus" use="required">
511 <xsd:simpleType>
512 <xsd:restriction base="xsd:token">
513 <xsd:enumeration value="IDE"/>
514 <xsd:enumeration value="SATA"/>
515 </xsd:restriction>
516 </xsd:simpleType>
517 </xsd:attribute>
518 <xsd:attribute name="channel" type="xsd:unsignedInt" use="required"/>
519 <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
520</xsd:complexType>
521
522<xsd:complexType name="THardDiskAttachments">
523 <xsd:sequence>
524 <xsd:element name="HardDiskAttachment" type="THardDiskAttachment"
525 minOccurs="0" maxOccurs="unbounded"/>
526 </xsd:sequence>
527</xsd:complexType>
528
529<xsd:complexType name="TDVDDrive">
530 <xsd:choice minOccurs="0">
531 <xsd:element name="Image" type="TImageRef"/>
532 <xsd:element name="HostDrive" type="THostDrive"/>
533 </xsd:choice>
534 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
535</xsd:complexType>
536
537<xsd:complexType name="TFloppyDrive">
538 <xsd:choice minOccurs="0">
539 <xsd:element name="Image" type="TImageRef"/>
540 <xsd:element name="HostDrive" type="THostDrive"/>
541 </xsd:choice>
542 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
543</xsd:complexType>
544
545<xsd:complexType name="TUSBController">
546 <xsd:sequence>
547 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
548 minOccurs="0" maxOccurs="unbounded"/>
549 </xsd:sequence>
550 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
551 <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
552</xsd:complexType>
553
554<xsd:complexType name="TAudioAdapterBase">
555 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
556 <xsd:attribute name="controller" default="AC97">
557 <xsd:simpleType>
558 <xsd:restriction base="xsd:token">
559 <xsd:enumeration value="AC97"/>
560 <xsd:enumeration value="SB16"/>
561 </xsd:restriction>
562 </xsd:simpleType>
563 </xsd:attribute>
564</xsd:complexType>
565
566<xsd:complexType name="TNetworkAdapter">
567 <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
568 <xsd:attribute name="slot" use="required">
569 <xsd:simpleType>
570 <xsd:restriction base="xsd:unsignedInt">
571 <xsd:minInclusive value="0"/>
572 <xsd:maxExclusive value="4"/>
573 </xsd:restriction>
574 </xsd:simpleType>
575 </xsd:attribute>
576 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
577 <xsd:attribute name="MACAddress">
578 <xsd:simpleType>
579 <xsd:restriction base="xsd:hexBinary">
580 <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
581 </xsd:restriction>
582 </xsd:simpleType>
583 </xsd:attribute>
584 <xsd:attribute name="cable" type="xsd:boolean" use="required"/>
585 <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
586 <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
587 <xsd:attribute name="tracefile" type="xsd:string"/>
588</xsd:complexType>
589
590<xsd:complexType name="TUARTPort">
591 <xsd:attribute name="slot" use="required">
592 <xsd:simpleType>
593 <xsd:restriction base="xsd:unsignedInt">
594 <xsd:minInclusive value="0"/>
595 <xsd:maxExclusive value="2"/>
596 </xsd:restriction>
597 </xsd:simpleType>
598 </xsd:attribute>
599 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
600 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
601 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
602 <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
603 <xsd:attribute name="path" type="TLocalFile"/>
604 <xsd:attribute name="server" type="xsd:boolean" default="false"/>
605</xsd:complexType>
606
607<xsd:complexType name="TUART">
608 <xsd:sequence>
609 <xsd:element name="Port" minOccurs="0" maxOccurs="unbounded">
610 <xsd:complexType>
611 <xsd:complexContent>
612 <xsd:extension base="TUARTPort">
613 </xsd:extension>
614 </xsd:complexContent>
615 </xsd:complexType>
616 </xsd:element>
617 </xsd:sequence>
618</xsd:complexType>
619
620<xsd:complexType name="TLPTPort">
621 <xsd:attribute name="slot" use="required">
622 <xsd:simpleType>
623 <xsd:restriction base="xsd:unsignedInt">
624 <xsd:minInclusive value="0"/>
625 <xsd:maxExclusive value="2"/>
626 </xsd:restriction>
627 </xsd:simpleType>
628 </xsd:attribute>
629 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
630 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
631 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
632 <xsd:attribute name="path" type="TLocalFile"/>
633</xsd:complexType>
634
635<xsd:complexType name="TLPT">
636 <xsd:sequence>
637 <xsd:element name="Port" minOccurs="0" maxOccurs="unbounded">
638 <xsd:complexType>
639 <xsd:complexContent>
640 <xsd:extension base="TLPTPort">
641 </xsd:extension>
642 </xsd:complexContent>
643 </xsd:complexType>
644 </xsd:element>
645 </xsd:sequence>
646</xsd:complexType>
647
648<xsd:complexType name="TSharedFolder">
649 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
650 <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
651 <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
652</xsd:complexType>
653
654<xsd:complexType name="TSharedFolders">
655 <xsd:sequence>
656 <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
657 </xsd:sequence>
658</xsd:complexType>
659
660<xsd:complexType name="TClipboard">
661 <xsd:attribute name="mode" type="TClipboardMode" use="required"/>
662</xsd:complexType>
663
664<xsd:complexType name="TGuest">
665 <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
666 <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
667</xsd:complexType>
668
669<xsd:complexType name="TSATAController">
670 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
671 <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" default="0"/>
672 <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" default="1"/>
673 <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" default="2"/>
674 <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" default="3"/>
675 <xsd:attribute name="PortCount" type="xsd:unsignedInt" default="30"/>
676</xsd:complexType>
677
678<xsd:complexType name="THardware">
679 <xsd:all>
680 <xsd:element name="CPU" type="TCPU" minOccurs="0"/>
681 <xsd:element name="Memory" type="TMemory"/>
682 <xsd:element name="Boot" type="TBoot">
683 <xsd:unique name="THardware-Boot-Order">
684 <xsd:selector xpath="vb:Order"/>
685 <xsd:field xpath="@position"/>
686 </xsd:unique>
687 </xsd:element>
688 <xsd:element name="Display" type="TDisplay"/>
689 <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
690 <xsd:element name="BIOS" type="TBIOS"/>
691 <xsd:element name="DVDDrive" type="TDVDDrive"/>
692 <xsd:element name="FloppyDrive" type="TFloppyDrive"/>
693 <xsd:element name="USBController" type="TUSBController"/>
694 <xsd:element name="SATAController" type="TSATAController"/>
695 <xsd:element name="Network" type="TNetwork">
696 <xsd:unique name="THardware-Network-Adapter">
697 <xsd:selector xpath="vb:Adapter"/>
698 <xsd:field xpath="@slot"/>
699 </xsd:unique>
700 </xsd:element>
701 <xsd:element name="UART" type="TUART">
702 <xsd:unique name="THardware-UART-Port">
703 <xsd:selector xpath="vb:Port"/>
704 <xsd:field xpath="@slot"/>
705 </xsd:unique>
706 </xsd:element>
707 <xsd:element name="LPT" type="TLPT">
708 <xsd:unique name="THardware-LPT-Port">
709 <xsd:selector xpath="vb:Port"/>
710 <xsd:field xpath="@slot"/>
711 </xsd:unique>
712 </xsd:element>
713 <xsd:element name="AudioAdapter" type="TAudioAdapter"/>
714 <xsd:element name="SharedFolders" type="TSharedFolders">
715 <xsd:unique name="THardware-SharedFolders-SharedFolder">
716 <xsd:selector xpath="vb:SharedFolder"/>
717 <xsd:field xpath="@name"/>
718 </xsd:unique>
719 </xsd:element>
720 <xsd:element name="Clipboard" type="TClipboard"/>
721 <xsd:element name="Guest" type="TGuest"/>
722 </xsd:all>
723</xsd:complexType>
724
725<xsd:complexType name="TMachine">
726 <xsd:all>
727 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
728 <xsd:element name="Hardware" type="THardware"/>
729 <xsd:element name="HardDiskAttachments" type="THardDiskAttachments"/>
730 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
731 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
732 </xsd:all>
733 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
734 <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
735 <xsd:attribute name="OSType" type="TGuestOSType" use="required"/>
736 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
737 <xsd:attribute name="stateFile" type="TLocalFile"/>
738 <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
739 <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
740 <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
741 <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
742 <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
743</xsd:complexType>
744
745<xsd:complexType name="TSnapshot">
746 <xsd:all>
747 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
748 <xsd:element name="Hardware" type="THardware"/>
749 <xsd:element name="HardDiskAttachments" type="THardDiskAttachments"/>
750 <xsd:element name="Snapshots" minOccurs="0">
751 <xsd:complexType>
752 <xsd:sequence>
753 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
754 </xsd:sequence>
755 </xsd:complexType>
756 </xsd:element>
757 </xsd:all>
758 <xsd:attribute name="name" type="xsd:token" use="required"/>
759 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
760 <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
761 <xsd:attribute name="stateFile" type="TLocalFile"/>
762</xsd:complexType>
763
764<xsd:complexType name="TVirtualBox" abstract="true">
765 <xsd:choice>
766 <xsd:element name="Global" type="TGlobal"/>
767 <xsd:element name="Machine" type="TMachine">
768 <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
769 <xsd:key name="snapshot">
770 <xsd:selector xpath=".//vb:Snapshot"/>
771 <xsd:field xpath="@uuid"/>
772 </xsd:key>
773 <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
774 <xsd:selector xpath="."/>
775 <xsd:field xpath="@currentSnapshot"/>
776 </xsd:keyref>
777 </xsd:element>
778 </xsd:choice>
779</xsd:complexType>
780
781</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