VirtualBox

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

Last change on this file since 96311 was 96311, checked in by vboxsync, 2 years ago

Main/xml/VirtualBox-settings.xsd: comment fix

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 56.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 * Oracle VM VirtualBox Settings Schema
7 * Common definitions
8-->
9<!--
10 Copyright (C) 2004-2020 Oracle Corporation
11
12 This file is part of VirtualBox Open Source Edition (OSE), as
13 available from http://www.virtualbox.org. This file is free software;
14 you can redistribute it and/or modify it under the terms of the GNU
15 General Public License (GPL) as published by the Free Software
16 Foundation, in version 2 as it comes in the "COPYING" file of the
17 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
18 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
19-->
20
21<xsd:schema
22 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
23 xmlns="http://www.virtualbox.org/"
24 xmlns:vb="http://www.virtualbox.org/"
25 targetNamespace="http://www.virtualbox.org/"
26 elementFormDefault="qualified"
27>
28
29<xsd:annotation>
30 <xsd:documentation xml:lang="en">
31 Oracle VM VirtualBox Settings Schema (common definitions).
32 Copyright (c) 2004-2020 Oracle Corporation
33 </xsd:documentation>
34</xsd:annotation>
35
36<!--
37// Simple types
38/////////////////////////////////////////////////////////////////////////
39-->
40
41<xsd:simpleType name="TUUID">
42 <xsd:restriction base="xsd:token">
43 <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}\}"/>
44 </xsd:restriction>
45</xsd:simpleType>
46
47<xsd:simpleType name="TNonNullUUID">
48 <xsd:restriction base="TUUID">
49 <xsd:pattern value=".*[1-9A-Fa-f]+.*"/>
50 </xsd:restriction>
51</xsd:simpleType>
52
53<xsd:simpleType name="TUInt8">
54 <xsd:union>
55 <xsd:simpleType>
56 <xsd:restriction base="xsd:unsignedByte">
57 </xsd:restriction>
58 </xsd:simpleType>
59 <xsd:simpleType>
60 <xsd:restriction base="xsd:string">
61 <xsd:pattern value="0[xX][A-Fa-f0-9]{1,2}"/>
62 </xsd:restriction>
63 </xsd:simpleType>
64 </xsd:union>
65</xsd:simpleType>
66
67<xsd:simpleType name="TUInt16">
68 <xsd:union>
69 <xsd:simpleType>
70 <xsd:restriction base="xsd:unsignedShort">
71 </xsd:restriction>
72 </xsd:simpleType>
73 <xsd:simpleType>
74 <xsd:restriction base="xsd:string">
75 <xsd:pattern value="0[xX][A-Fa-f0-9]{1,4}"/>
76 </xsd:restriction>
77 </xsd:simpleType>
78 </xsd:union>
79</xsd:simpleType>
80
81<xsd:simpleType name="TUInt16Hex">
82 <xsd:restriction base="xsd:string">
83 <xsd:pattern value="0x[A-Fa-f0-9]{1,4}"/>
84 </xsd:restriction>
85</xsd:simpleType>
86
87<xsd:simpleType name="TUInt16HexNoBase">
88 <xsd:restriction base="xsd:string">
89 <xsd:pattern value="[A-Fa-f0-9]{1,4}"/>
90 </xsd:restriction>
91</xsd:simpleType>
92
93<xsd:simpleType name="TUInt32Hex">
94 <xsd:restriction base="xsd:string">
95 <xsd:pattern value="0x[A-Fa-f0-9]{1,8}"/>
96 </xsd:restriction>
97</xsd:simpleType>
98
99<xsd:simpleType name="TUInt64Hex">
100 <xsd:restriction base="xsd:string">
101 <xsd:pattern value="0x[A-Fa-f0-9]{1,16}"/>
102 </xsd:restriction>
103</xsd:simpleType>
104
105<xsd:simpleType name="TLocalFile">
106 <xsd:restriction base="xsd:string">
107 <xsd:pattern value=".+"/>
108 </xsd:restriction>
109</xsd:simpleType>
110
111<xsd:simpleType name="TDeviceType">
112 <xsd:restriction base="xsd:token">
113 <xsd:enumeration value="None"/>
114 <xsd:enumeration value="Floppy"/>
115 <xsd:enumeration value="DVD"/>
116 <xsd:enumeration value="HardDisk"/>
117 <xsd:enumeration value="Network"/>
118 </xsd:restriction>
119</xsd:simpleType>
120
121<xsd:simpleType name="TMediumDeviceType">
122 <xsd:restriction base="TDeviceType">
123 <xsd:enumeration value="Floppy"/>
124 <xsd:enumeration value="DVD"/>
125 <xsd:enumeration value="HardDisk"/>
126 </xsd:restriction>
127</xsd:simpleType>
128
129<xsd:simpleType name="TMediumType">
130 <xsd:restriction base="xsd:string">
131 <xsd:enumeration value="Normal"/>
132 <xsd:enumeration value="Immutable"/>
133 <xsd:enumeration value="Writethrough"/>
134 <xsd:enumeration value="Shareable"/>
135 <xsd:enumeration value="Readonly"/>
136 <xsd:enumeration value="MultiAttach"/>
137 </xsd:restriction>
138</xsd:simpleType>
139
140<xsd:simpleType name="TVMProcPriority">
141 <xsd:restriction base="xsd:string">
142 <xsd:enumeration value="Invalid"/>
143 <xsd:enumeration value="Default"/>
144 <xsd:enumeration value="Flat"/>
145 <xsd:enumeration value="Low"/>
146 <xsd:enumeration value="Normal"/>
147 <xsd:enumeration value="High"/>
148 </xsd:restriction>
149</xsd:simpleType>
150
151<xsd:simpleType name="TMonitorCount">
152 <xsd:restriction base="xsd:unsignedInt">
153 <xsd:minInclusive value="1"/>
154 <!-- This should be in sync with VBOX_VIDEO_MAX_SCREENS in VBoxVideo.h -->
155 <xsd:maxInclusive value="64"/>
156 </xsd:restriction>
157</xsd:simpleType>
158
159<xsd:simpleType name="TUSBDeviceFilterAction">
160 <xsd:restriction base="xsd:token">
161 <xsd:enumeration value="Ignore"/>
162 <xsd:enumeration value="Hold"/>
163 </xsd:restriction>
164</xsd:simpleType>
165
166<xsd:simpleType name="TNonEmptyString">
167 <xsd:restriction base="xsd:string">
168 <xsd:pattern value=".+"/>
169 </xsd:restriction>
170</xsd:simpleType>
171
172<xsd:simpleType name="TPresentDateTimeUTC">
173 <xsd:restriction base="xsd:dateTime">
174 <xsd:minInclusive value="1900-01-01T00:00:00Z"/>
175 <xsd:maxInclusive value="199999999-12-31T23:59:59Z"/>
176 <xsd:pattern value=".+-.+-.+T.+:.+:[0-9]{2}Z"/>
177 </xsd:restriction>
178</xsd:simpleType>
179
180
181<xsd:simpleType name="TAuthType">
182 <xsd:restriction base="xsd:string">
183 <xsd:enumeration value="null"/> <!-- deprecated -->
184 <xsd:enumeration value="Null"/>
185 <xsd:enumeration value="Guest"/>
186 <xsd:enumeration value="External"/>
187 </xsd:restriction>
188</xsd:simpleType>
189
190<xsd:simpleType name="TNetworkAdapterType">
191 <xsd:restriction base="xsd:string">
192 <xsd:enumeration value="Am79C970A"/>
193 <xsd:enumeration value="Am79C973"/>
194 <xsd:enumeration value="Am79C960"/>
195 <xsd:enumeration value="82540EM"/>
196 <xsd:enumeration value="82543GC"/>
197 <xsd:enumeration value="82545EM"/>
198 <xsd:enumeration value="virtio"/>
199 </xsd:restriction>
200</xsd:simpleType>
201
202<xsd:simpleType name="TTriStateBoolType">
203 <xsd:restriction base="xsd:string">
204 <xsd:enumeration value="false"/>
205 <xsd:enumeration value="true"/>
206 <xsd:enumeration value="default"/>
207 </xsd:restriction>
208</xsd:simpleType>
209
210<xsd:simpleType name="TBIOSBootMenuModeType">
211 <xsd:restriction base="xsd:string">
212 <xsd:enumeration value="Disabled"/>
213 <xsd:enumeration value="MenuOnly"/>
214 <xsd:enumeration value="MessageAndMenu"/>
215 <xsd:enumeration value="messageandmenu"/> <!-- deprecated -->
216 </xsd:restriction>
217</xsd:simpleType>
218
219<xsd:simpleType name="TLocalOrUTC">
220 <xsd:restriction base="xsd:token">
221 <xsd:enumeration value="local"/>
222 <xsd:enumeration value="UTC"/>
223 </xsd:restriction>
224</xsd:simpleType>
225
226<xsd:simpleType name="TClipboardMode">
227 <xsd:restriction base="xsd:string">
228 <xsd:enumeration value="Disabled"/>
229 <xsd:enumeration value="HostToGuest"/>
230 <xsd:enumeration value="GuestToHost"/>
231 <xsd:enumeration value="Bidirectional"/>
232 </xsd:restriction>
233</xsd:simpleType>
234
235<xsd:simpleType name="TDragAndDropMode">
236 <xsd:restriction base="xsd:string">
237 <xsd:enumeration value="Disabled"/>
238 <xsd:enumeration value="HostToGuest"/>
239 <xsd:enumeration value="GuestToHost"/>
240 <xsd:enumeration value="Bidirectional"/>
241 </xsd:restriction>
242</xsd:simpleType>
243
244<xsd:simpleType name="TBandwidthGroupType">
245 <xsd:restriction base="xsd:string">
246 <xsd:enumeration value="Disk"/>
247 <xsd:enumeration value="Network"/>
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="RawFile"/>
255 <xsd:enumeration value="HostPipe"/>
256 <xsd:enumeration value="HostDevice"/>
257 <xsd:enumeration value="TCP"/>
258 </xsd:restriction>
259</xsd:simpleType>
260
261<xsd:simpleType name="TStorageControllerType">
262 <xsd:restriction base="xsd:token">
263 <xsd:enumeration value="AHCI"/>
264 <xsd:enumeration value="LsiLogic"/>
265 <xsd:enumeration value="BusLogic"/>
266 <xsd:enumeration value="PIIX3"/>
267 <xsd:enumeration value="PIIX4"/>
268 <xsd:enumeration value="ICH6"/>
269 <xsd:enumeration value="LsiLogicSas"/>
270 <xsd:enumeration value="I82078"/>
271 <xsd:enumeration value="USB"/>
272 <xsd:enumeration value="NVMe"/>
273 <xsd:enumeration value="VirtioSCSI"/>
274 </xsd:restriction>
275</xsd:simpleType>
276
277<xsd:simpleType name="TDisplayControllerType">
278 <xsd:restriction base="xsd:token">
279 <xsd:enumeration value="VBoxVGA"/>
280 <xsd:enumeration value="VMSVGA"/>
281 <xsd:enumeration value="VBoxSVGA"/>
282 </xsd:restriction>
283</xsd:simpleType>
284
285<!--
286// Complex types
287/////////////////////////////////////////////////////////////////////////
288-->
289<xsd:complexType name="TDHCPServer">
290 <xsd:sequence>
291 <xsd:element name="Options" minOccurs="0">
292 <xsd:complexType>
293 <xsd:sequence>
294 <xsd:element name="Option" type="TDHCPOption" minOccurs="0" maxOccurs="unbounded"/>
295 </xsd:sequence>
296 </xsd:complexType>
297 </xsd:element>
298 </xsd:sequence>
299 <xsd:attribute name="networkName" type="xsd:string" use="required"/>
300 <xsd:attribute name="lowerIP" type="xsd:string" use="required"/>
301 <xsd:attribute name="upperIP" type="xsd:string" use="required"/>
302 <xsd:attribute name="IPAddress" type="xsd:string" use="required"/>
303 <xsd:attribute name="networkMask" type="xsd:string" use="required"/>
304 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
305</xsd:complexType>
306
307<xsd:complexType name="TDHCPOption">
308 <xsd:attribute name="name" type="xsd:string" use="required"/>
309 <xsd:attribute name="value" type="xsd:string" use="required"/>
310 <xsd:attribute name="encoding" type="xsd:integer" default="0"/>
311</xsd:complexType>
312
313<xsd:complexType name="TNATNetwork">
314 <xsd:sequence>
315 <xsd:element name="PortForwarding4" minOccurs="0">
316 <xsd:complexType>
317 <xsd:sequence>
318 <xsd:element name="Forwarding" type="TNATPortForwarding" minOccurs="0" maxOccurs="unbounded"/>
319 </xsd:sequence>
320 </xsd:complexType>
321 </xsd:element>
322 <xsd:element name="PortForwarding6" minOccurs="0">
323 <xsd:complexType>
324 <xsd:sequence>
325 <xsd:element name="Forwarding" type="TNATPortForwarding" minOccurs="0" maxOccurs="unbounded"/>
326 </xsd:sequence>
327 </xsd:complexType>
328 </xsd:element>
329 <xsd:element name="Mappings" minOccurs="0">
330 <xsd:complexType>
331 <xsd:sequence>
332 <xsd:element name="Loopback4" type="TNATLoopback4" minOccurs="0" maxOccurs="unbounded"/>
333 </xsd:sequence>
334 </xsd:complexType>
335 </xsd:element>
336 </xsd:sequence>
337 <xsd:attribute name="networkName" type="xsd:string" use="required"/>
338 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
339 <xsd:attribute name="network" type="xsd:string" use="required"/>
340 <xsd:attribute name="ipv6" type="xsd:boolean" use="required"/>
341 <xsd:attribute name="ipv6prefix" type="xsd:string" use="required"/>
342 <xsd:attribute name="advertiseDefaultIPv6Route" type="xsd:boolean" use="required"/>
343 <xsd:attribute name="needDhcp" type="xsd:boolean" use="required"/>
344 <xsd:attribute name="loopback6" type="xsd:integer" default="0"/>
345</xsd:complexType>
346
347<xsd:complexType name="TNATLoopback4">
348 <xsd:attribute name="address" type="xsd:string" use="required"/>
349 <xsd:attribute name="offset" type="xsd:integer" use="required"/>
350</xsd:complexType>
351
352<xsd:complexType name="TNATPortForwarding">
353 <xsd:attribute name="name" type="xsd:string" use="required"/>
354 <xsd:attribute name="proto" type="xsd:integer" use="required"/>
355 <xsd:attribute name="hostip" type="xsd:string" default=""/>
356 <xsd:attribute name="hostport" type="xsd:integer" use="required"/>
357 <xsd:attribute name="guestip" type="xsd:string" use="required"/>
358 <xsd:attribute name="guestport" type="xsd:integer" use="required"/>
359</xsd:complexType>
360
361<xsd:complexType name="TProperty">
362 <xsd:attribute name="name" type="xsd:token" use="required"/>
363 <xsd:attribute name="value" type="xsd:string" use="required"/>
364</xsd:complexType>
365
366<xsd:complexType name="THardDiskBase">
367 <xsd:sequence>
368 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
369 <xsd:element name="Property" type="TProperty" minOccurs="0" maxOccurs="unbounded"/>
370 <xsd:element name="HardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
371 </xsd:sequence>
372 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
373 <xsd:attribute name="location" type="TLocalFile" use="required"/>
374 <xsd:attribute name="format" type="TNonEmptyString" use="required"/>
375</xsd:complexType>
376
377<xsd:complexType name="TDiffHardDisk">
378 <xsd:complexContent>
379 <xsd:extension base="THardDiskBase">
380 <xsd:attribute name="autoReset" type="xsd:boolean" default="false"/>
381 </xsd:extension>
382 </xsd:complexContent>
383</xsd:complexType>
384
385<xsd:complexType name="THardDisk">
386 <xsd:complexContent>
387 <xsd:extension base="THardDiskBase">
388 <xsd:attribute name="type" type="TMediumType" use="required"/>
389 </xsd:extension>
390 </xsd:complexContent>
391</xsd:complexType>
392
393<xsd:complexType name="TImage2">
394 <xsd:sequence>
395 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
396 </xsd:sequence>
397 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
398 <xsd:attribute name="location" type="TLocalFile" use="required"/>
399 <xsd:attribute name="type" type="TMediumType"/>
400</xsd:complexType>
401
402<xsd:complexType name="TImageRef">
403 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
404</xsd:complexType>
405
406<xsd:complexType name="THostDrive">
407 <xsd:attribute name="src" type="TLocalFile" use="required"/>
408</xsd:complexType>
409
410<xsd:complexType name="TUSBDeviceFilter">
411 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
412 <xsd:attribute name="active" type="xsd:boolean" use="required"/>
413 <xsd:attribute name="vendorId" type="xsd:token"/>
414 <xsd:attribute name="productId" type="xsd:token"/>
415 <xsd:attribute name="revision" type="xsd:token"/>
416 <xsd:attribute name="manufacturer" type="xsd:token"/>
417 <xsd:attribute name="product" type="xsd:token"/>
418 <xsd:attribute name="serialNumber" type="xsd:token"/>
419 <xsd:attribute name="port" type="xsd:token"/>
420 <xsd:attribute name="remote" type="xsd:token"/>
421 <xsd:attribute name="maskedInterfaces" type="xsd:unsignedInt" default="0"/>
422</xsd:complexType>
423
424<xsd:complexType name="TUSBDeviceFilters">
425 <xsd:sequence>
426 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter" minOccurs="0"/>
427 </xsd:sequence>
428</xsd:complexType>
429
430<xsd:complexType name="THostUSBDeviceFilter">
431 <xsd:complexContent>
432 <xsd:extension base="TUSBDeviceFilter">
433 <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
434 </xsd:extension>
435 </xsd:complexContent>
436</xsd:complexType>
437
438<xsd:complexType name="TSystemProperties">
439 <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
440 <xsd:attribute name="defaultHardDiskFolder" type="TLocalFile"/>
441 <xsd:attribute name="defaultHardDiskFormat" type="TNonEmptyString"/>
442 <xsd:attribute name="VRDEAuthLibrary" type="TLocalFile"/>
443 <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
444 <xsd:attribute name="defaultVRDELibrary" type="TLocalFile"/>
445 <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
446 <xsd:attribute name="LogHistoryCount" type="xsd:unsignedInt" default="3"/>
447 <xsd:attribute name="defaultVRDEExtPack" type="xsd:string"/>
448 <xsd:attribute name="exclusiveHwVirt" type="xsd:boolean"/>
449 <xsd:attribute name="proxyMode" type="xsd:string"/>
450</xsd:complexType>
451
452<xsd:complexType name="TExtraData">
453 <xsd:sequence>
454 <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
455 <xsd:complexType>
456 <xsd:attribute name="name" type="xsd:token" use="required"/>
457 <xsd:attribute name="value" type="xsd:string" use="required"/>
458 </xsd:complexType>
459 </xsd:element>
460 </xsd:sequence>
461</xsd:complexType>
462
463<xsd:complexType name="TMediaRegistry">
464 <xsd:all>
465 <xsd:element name="HardDisks" minOccurs="0">
466 <xsd:complexType>
467 <xsd:sequence>
468 <xsd:element name="HardDisk" type="THardDisk" minOccurs="0" maxOccurs="unbounded"/>
469 </xsd:sequence>
470 </xsd:complexType>
471 </xsd:element>
472 <xsd:element name="DVDImages" minOccurs="0">
473 <xsd:complexType>
474 <xsd:sequence>
475 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
476 </xsd:sequence>
477 </xsd:complexType>
478 </xsd:element>
479 <xsd:element name="FloppyImages" minOccurs="0">
480 <xsd:complexType>
481 <xsd:sequence>
482 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
483 </xsd:sequence>
484 </xsd:complexType>
485 </xsd:element>
486 </xsd:all>
487</xsd:complexType>
488
489<xsd:complexType name="TGlobal">
490 <xsd:all>
491 <xsd:element name="MachineRegistry">
492 <xsd:complexType>
493 <xsd:sequence>
494 <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
495 <xsd:complexType>
496 <xsd:attribute name="src" type="TLocalFile" use="required"/>
497 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
498 </xsd:complexType>
499 </xsd:element>
500 </xsd:sequence>
501 </xsd:complexType>
502 </xsd:element>
503 <xsd:element name="MediaRegistry" type="TMediaRegistry" minOccurs="0"/>
504 <xsd:element name="NetserviceRegistry" minOccurs="0">
505 <xsd:complexType>
506 <xsd:all>
507 <xsd:element name="DHCPServers" minOccurs="0">
508 <xsd:complexType>
509 <xsd:sequence>
510 <xsd:element name="DHCPServer" type="TDHCPServer" minOccurs="0" maxOccurs="unbounded"/>
511 </xsd:sequence>
512 </xsd:complexType>
513 </xsd:element>
514 <xsd:element name="NATNetworks" minOccurs="0">
515 <xsd:complexType>
516 <xsd:sequence>
517 <xsd:element name="NATNetwork" type="TNATNetwork" minOccurs="0" maxOccurs="unbounded"/>
518 </xsd:sequence>
519 </xsd:complexType>
520 </xsd:element>
521 </xsd:all>
522 </xsd:complexType>
523 </xsd:element>
524 <xsd:element name="USBDeviceFilters">
525 <xsd:complexType>
526 <xsd:sequence>
527 <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
528 minOccurs="0" maxOccurs="unbounded"/>
529 </xsd:sequence>
530 </xsd:complexType>
531 </xsd:element>
532 <xsd:element name="SystemProperties" type="TSystemProperties"/>
533 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
534 </xsd:all>
535</xsd:complexType>
536
537<xsd:complexType name="THWVirtExType">
538 <xsd:attribute name="enabled" type="TTriStateBoolType"/>
539 <xsd:attribute name="exclusive" type="xsd:boolean"/>
540</xsd:complexType>
541
542<xsd:complexType name="THWVirtExNestedPagingType">
543 <xsd:attribute name="enabled" type="xsd:boolean"/>
544</xsd:complexType>
545
546<xsd:complexType name="THWVirtExVPIDType">
547 <xsd:attribute name="enabled" type="xsd:boolean"/>
548</xsd:complexType>
549
550<xsd:complexType name="THWVirtExUXType">
551 <xsd:attribute name="enabled" type="xsd:boolean"/>
552</xsd:complexType>
553
554<xsd:complexType name="TSyntheticCpuType">
555 <xsd:attribute name="enabled" type="xsd:boolean"/>
556</xsd:complexType>
557
558<xsd:complexType name="TPAEType">
559 <xsd:attribute name="enabled" type="xsd:boolean"/>
560</xsd:complexType>
561
562<xsd:complexType name="TLongModeType">
563 <xsd:attribute name="enabled" type="xsd:boolean"/>
564</xsd:complexType>
565
566<xsd:complexType name="THardwareVirtExLargePages">
567 <xsd:attribute name="enabled" type="xsd:boolean"/>
568</xsd:complexType>
569
570<xsd:complexType name="THardwareVirtForce">
571 <xsd:attribute name="enabled" type="xsd:boolean"/>
572</xsd:complexType>
573
574<xsd:simpleType name="TCPUCount">
575 <xsd:restriction base="xsd:unsignedInt">
576 <xsd:minInclusive value="1"/>
577 <xsd:maxInclusive value="64"/>
578 </xsd:restriction>
579</xsd:simpleType>
580
581<xsd:complexType name="TCpuIdLeaf">
582 <xsd:attribute name="id" type="xsd:unsignedInt" use="required"/>
583 <xsd:attribute name="eax" type="xsd:unsignedInt" use="required"/>
584 <xsd:attribute name="ebx" type="xsd:unsignedInt" use="required"/>
585 <xsd:attribute name="ecx" type="xsd:unsignedInt" use="required"/>
586 <xsd:attribute name="edx" type="xsd:unsignedInt" use="required"/>
587</xsd:complexType>
588
589<xsd:complexType name="TCpuIdTree">
590 <xsd:sequence>
591 <xsd:element name="CpuIdLeaf" type="TCpuIdLeaf"
592 minOccurs="0" maxOccurs="unbounded"/>
593 </xsd:sequence>
594</xsd:complexType>
595
596<xsd:complexType name="TCPU">
597 <xsd:sequence>
598 <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
599 <xsd:element name="HardwareVirtExNestedPaging" type="THWVirtExNestedPagingType" minOccurs="0"/>
600 <xsd:element name="HardwareVirtExVPID" type="THWVirtExVPIDType" minOccurs="0"/>
601 <xsd:element name="HardwareVirtExUX" type="THWVirtExUXType" minOccurs="0"/>
602 <xsd:element name="PAE" type="TPAEType" minOccurs="0"/>
603 <xsd:element name="LongMode" type="TLongModeType" minOccurs="0"/>
604 <xsd:element name="HardwareVirtExLargePages" type="THardwareVirtExLargePages" minOccurs="0"/>
605 <xsd:element name="HardwareVirtForce" type="THardwareVirtForce" minOccurs="0"/>
606 <xsd:element name="SyntheticCpu" type="TSyntheticCpuType" minOccurs="0"/>
607 <xsd:element name="CpuIdTree" type="TCpuIdTree" minOccurs="0">
608 <xsd:unique name="TCPU-CpuIdTree-CpuIdLeaf">
609 <xsd:selector xpath="vb:CpuIdLeaf"/>
610 <xsd:field xpath="@id"/>
611 </xsd:unique>
612 </xsd:element>
613 </xsd:sequence>
614 <xsd:attribute name="count" type="TCPUCount" default="1"/>
615 <xsd:attribute name="hotplug" type="xsd:boolean" default="false"/>
616</xsd:complexType>
617
618<xsd:complexType name="TBoot">
619 <xsd:sequence>
620 <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
621 <xsd:complexType>
622 <xsd:attribute name="position" use="required">
623 <xsd:simpleType>
624 <xsd:restriction base="xsd:unsignedInt">
625 <xsd:minInclusive value="1"/>
626 <xsd:maxInclusive value="4"/>
627 </xsd:restriction>
628 </xsd:simpleType>
629 </xsd:attribute>
630 <xsd:attribute name="device" type="TDeviceType" use="required"/>
631 </xsd:complexType>
632 </xsd:element>
633 </xsd:sequence>
634</xsd:complexType>
635
636<xsd:complexType name="TDisplay">
637 <xsd:attribute name="VRAMSize" default="8">
638 <xsd:simpleType>
639 <xsd:restriction base="xsd:unsignedInt">
640 <xsd:minInclusive value="0"/>
641 <xsd:maxInclusive value="256"/>
642 </xsd:restriction>
643 </xsd:simpleType>
644 </xsd:attribute>
645 <xsd:attribute name="monitorCount" type="TMonitorCount" default="1"/>
646 <xsd:attribute name="MonitorCount" type="TMonitorCount"/> <!-- deprecated -->
647 <xsd:attribute name="accelerate3D" type="xsd:boolean" default="false"/>
648 <xsd:attribute name="accelerate2DVideo" type="xsd:boolean" default="false"/>
649 <xsd:attribute name="controller" type="TDisplayControllerType" default="VBoxSVGA"/>
650</xsd:complexType>
651
652<xsd:complexType name="TVideoRecording">
653 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
654 <xsd:attribute name="file" type="xsd:string"/>
655 <xsd:attribute name="horzRes">
656 <xsd:simpleType>
657 <xsd:restriction base="xsd:unsignedInt">
658 <xsd:minInclusive value="4"/>
659 <xsd:maxInclusive value="2097152"/>
660 </xsd:restriction>
661 </xsd:simpleType>
662 </xsd:attribute>
663 <xsd:attribute name="vertRes" type="xsd:unsignedInt"/>
664</xsd:complexType>
665
666<xsd:complexType name="TVideoCapture">
667 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
668 <xsd:attribute name="file" type="xsd:string"/>
669 <xsd:attribute name="screens" type="xsd:unsignedLong"/> <!-- todo: fix writing of settings (writes -1) -->
670 <xsd:attribute name="horzRes">
671 <xsd:simpleType>
672 <xsd:restriction base="xsd:unsignedInt">
673 <xsd:minInclusive value="4"/>
674 <xsd:maxInclusive value="2097152"/>
675 </xsd:restriction>
676 </xsd:simpleType>
677 </xsd:attribute>
678 <xsd:attribute name="vertRes" type="xsd:unsignedInt"/>
679 <xsd:attribute name="rate" type="xsd:unsignedInt"/>
680 <xsd:attribute name="fps" type="xsd:unsignedInt"/>
681 <xsd:attribute name="maxTime" type="xsd:unsignedInt"/>
682 <xsd:attribute name="maxSize" type="xsd:unsignedInt"/>
683 <xsd:attribute name="options" type="xsd:string"/>
684</xsd:complexType>
685
686<xsd:complexType name="TVRDEProperties">
687 <xsd:sequence>
688 <xsd:element name="Property" type="TProperty" minOccurs="0" maxOccurs="unbounded"/>
689 </xsd:sequence>
690</xsd:complexType>
691
692<xsd:complexType name="TVideoChannel">
693 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
694 <xsd:attribute name="quality" type="xsd:unsignedByte" default="75"/>
695</xsd:complexType>
696
697<xsd:complexType name="TRemoteDisplay">
698 <xsd:sequence>
699 <xsd:element name="VideoChannel" type="TVideoChannel" minOccurs="0"/> <!-- deprecated -->
700 <xsd:choice minOccurs="0">
701 <xsd:element name="VRDEProperties" type="TVRDEProperties"/>
702 </xsd:choice>
703 </xsd:sequence>
704 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
705 <xsd:attribute name="port" type="xsd:string" default="3389"/> <!-- deprecated -->
706 <xsd:attribute name="authType" type="TAuthType" default="Null"/>
707 <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
708 <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
709 <xsd:attribute name="reuseSingleConnection" type="xsd:boolean" default="false"/>
710</xsd:complexType>
711
712<xsd:complexType name="TBIOS">
713 <xsd:all>
714 <xsd:element name="ACPI" minOccurs="0">
715 <xsd:complexType>
716 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
717 </xsd:complexType>
718 </xsd:element>
719 <xsd:element name="IOAPIC" minOccurs="0">
720 <xsd:complexType>
721 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
722 </xsd:complexType>
723 </xsd:element>
724 <xsd:element name="Logo" minOccurs="0">
725 <xsd:complexType>
726 <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
727 <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
728 <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
729 <xsd:attribute name="imagePath" type="TLocalFile"/>
730 </xsd:complexType>
731 </xsd:element>
732 <xsd:element name="BootMenu" minOccurs="0">
733 <xsd:complexType>
734 <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="MessageAndMenu"/>
735 </xsd:complexType>
736 </xsd:element>
737 <xsd:element name="TimeOffset" minOccurs="0">
738 <xsd:complexType>
739 <xsd:attribute name="value" type="xsd:integer" default="0"/>
740 </xsd:complexType>
741 </xsd:element>
742 <xsd:element name="PXEDebug" minOccurs="0">
743 <xsd:complexType>
744 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
745 </xsd:complexType>
746 </xsd:element>
747 <xsd:element name="NVRAM" minOccurs="0">
748 <xsd:complexType>
749 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
750 <xsd:attribute name="path" type="xsd:string"/>
751 </xsd:complexType>
752 </xsd:element>
753 <xsd:element name="SmbiosUuidLittleEndian" minOccurs="0">
754 <xsd:complexType>
755 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
756 </xsd:complexType>
757 </xsd:element>
758 <xsd:element name="IDEController" minOccurs="0"> <!-- deprecated -->
759 <xsd:complexType>
760 <xsd:attribute name="type">
761 <xsd:simpleType>
762 <xsd:restriction base="xsd:token">
763 <xsd:enumeration value="PIIX3"/>
764 <xsd:enumeration value="PIIX4"/>
765 <xsd:enumeration value="ICH6"/>
766 </xsd:restriction>
767 </xsd:simpleType>
768 </xsd:attribute>
769 </xsd:complexType>
770 </xsd:element>
771 </xsd:all>
772</xsd:complexType>
773
774<xsd:complexType name="TStorageControllerDevice">
775 <xsd:choice minOccurs="0">
776 <xsd:element name="Image" type="TImageRef"/>
777 <xsd:element name="HostDrive" type="THostDrive"/>
778 </xsd:choice>
779 <xsd:attribute name="type" type="TMediumDeviceType"/>
780 <xsd:attribute name="port" type="xsd:unsignedInt" default="0"/>
781 <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
782 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
783 <xsd:attribute name="tempeject" type="xsd:boolean" default="false"/>
784 <xsd:attribute name="nonrotational" type="xsd:boolean" default="false"/>
785 <xsd:attribute name="discard" type="xsd:boolean" default="false"/>
786 <xsd:attribute name="hotpluggable" type="xsd:boolean" default="false"/>
787</xsd:complexType>
788
789<xsd:complexType name="TStorageController">
790 <xsd:sequence>
791 <xsd:element name="AttachedDevice" type="TStorageControllerDevice"
792 minOccurs="0" maxOccurs="unbounded"/>
793 </xsd:sequence>
794 <xsd:attribute name="name" type="xsd:string" use="required"/>
795 <xsd:attribute name="type" type="TStorageControllerType" use="required"/>
796 <xsd:attribute name="PortCount" type="xsd:unsignedInt" use="required"/>
797 <xsd:attribute name="useHostIOCache" type="xsd:boolean" use="optional" default="true"/>
798 <xsd:attribute name="Bootable" type="xsd:boolean" use="optional"/>
799 <xsd:attribute name="PCIBus" type="xsd:unsignedInt" use="optional"/>
800 <xsd:attribute name="PCIDevice" type="xsd:unsignedInt" use="optional"/>
801 <xsd:attribute name="PCIFunction" type="xsd:unsignedInt" use="optional"/>
802 <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
803 <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
804 <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
805 <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
806</xsd:complexType>
807
808<xsd:complexType name="TSATAController"> <!-- deprecated -->
809 <xsd:sequence>
810 <xsd:element name="AttachedDevice" type="TStorageControllerDevice"
811 minOccurs="0" maxOccurs="unbounded"/>
812 </xsd:sequence>
813 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
814 <xsd:attribute name="PortCount" type="xsd:unsignedInt" use="required"/>
815 <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
816 <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
817 <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
818 <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
819</xsd:complexType>
820
821<xsd:complexType name="TStorageControllers">
822 <xsd:sequence>
823 <xsd:element name="StorageController" type="TStorageController"
824 minOccurs="0" maxOccurs="unbounded"/>
825 </xsd:sequence>
826</xsd:complexType>
827
828<xsd:complexType name="THardDiskAttachment">
829 <xsd:attribute name="hardDisk" type="TNonNullUUID"/>
830 <xsd:attribute name="bus" default="IDE">
831 <xsd:simpleType>
832 <xsd:restriction base="xsd:token">
833 <xsd:enumeration value="IDE"/>
834 <xsd:enumeration value="SATA"/>
835 </xsd:restriction>
836 </xsd:simpleType>
837 </xsd:attribute>
838 <xsd:attribute name="channel" type="xsd:unsignedInt" default="0"/>
839 <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
840</xsd:complexType>
841
842<xsd:complexType name="THardDiskAttachments"> <!-- deprecated -->
843 <xsd:sequence>
844 <xsd:element name="HardDiskAttachment" type="THardDiskAttachment"
845 minOccurs="0" maxOccurs="unbounded"/>
846 </xsd:sequence>
847</xsd:complexType>
848
849<xsd:complexType name="TDVDDrive">
850 <xsd:choice minOccurs="0">
851 <xsd:element name="Image" type="TImageRef"/>
852 <xsd:element name="HostDrive" type="THostDrive"/>
853 </xsd:choice>
854 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
855</xsd:complexType>
856
857<xsd:complexType name="TFloppyDrive">
858 <xsd:choice minOccurs="0">
859 <xsd:element name="Image" type="TImageRef"/>
860 <xsd:element name="HostDrive" type="THostDrive"/>
861 </xsd:choice>
862 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
863</xsd:complexType>
864
865<xsd:complexType name="TUSBController">
866 <xsd:sequence>
867 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
868 minOccurs="0" maxOccurs="unbounded"/>
869 </xsd:sequence>
870 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
871 <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
872</xsd:complexType>
873
874<xsd:complexType name="TUSBController2">
875 <xsd:attribute name="name" type="xsd:string" use="required"/>
876 <xsd:attribute name="type" use="required">
877 <xsd:simpleType>
878 <xsd:restriction base="xsd:token">
879 <xsd:enumeration value="OHCI"/>
880 <xsd:enumeration value="EHCI"/>
881 <xsd:enumeration value="XHCI"/>
882 </xsd:restriction>
883 </xsd:simpleType>
884 </xsd:attribute>
885</xsd:complexType>
886
887<xsd:complexType name="TUSBControllers">
888 <xsd:sequence>
889 <xsd:element name="Controller" type="TUSBController2"
890 minOccurs="0" maxOccurs="unbounded"/>
891 </xsd:sequence>
892</xsd:complexType>
893
894<xsd:complexType name="TUSB">
895 <xsd:sequence>
896 <xsd:element name="Controllers" type="TUSBControllers" minOccurs="0"/>
897 <xsd:element name="DeviceFilters" type="TUSBDeviceFilters" minOccurs="0"/>
898 </xsd:sequence>
899</xsd:complexType>
900
901
902<xsd:complexType name="TAudioAdapter">
903 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
904 <xsd:attribute name="enabledIn" type="xsd:boolean" default="false"/>
905 <xsd:attribute name="enabledOut" type="xsd:boolean" default="false"/>
906 <xsd:attribute name="controller" default="AC97">
907 <xsd:simpleType>
908 <xsd:restriction base="xsd:token">
909 <xsd:enumeration value="AC97"/>
910 <xsd:enumeration value="SB16"/>
911 <xsd:enumeration value="HDA"/>
912 </xsd:restriction>
913 </xsd:simpleType>
914 </xsd:attribute>
915 <xsd:attribute name="driver" use="required">
916 <xsd:simpleType>
917 <xsd:restriction base="xsd:token">
918 <xsd:enumeration value="null"/> <!-- deprecated -->
919 <xsd:enumeration value="Null"/> <!-- all platforms -->
920 <xsd:enumeration value="OSS"/> <!-- Linux, Solaris, FreeBSD -->
921 <xsd:enumeration value="ALSA"/> <!-- Linux, FreeBSD -->
922 <xsd:enumeration value="Pulse"/> <!-- Linux -->
923 <xsd:enumeration value="CoreAudio"/> <!-- Mac OS X -->
924 <xsd:enumeration value="MMPM"/> <!-- OS/2 -->
925 <xsd:enumeration value="SolAudio"/> <!-- Solaris -->
926 <xsd:enumeration value="WinMM"/> <!-- Windows -->
927 <xsd:enumeration value="DirectSound"/> <!-- Windows -->
928 </xsd:restriction>
929 </xsd:simpleType>
930 </xsd:attribute>
931</xsd:complexType>
932
933<xsd:complexType name="TNetNAT">
934 <xsd:choice minOccurs="0" maxOccurs="unbounded">
935 <xsd:element name="DNS" minOccurs="0">
936 <xsd:complexType>
937 <xsd:attribute name="pass-domain" type="xsd:boolean" default="true"/>
938 <xsd:attribute name="use-proxy" type="xsd:boolean" default="false"/>
939 <xsd:attribute name="use-host-resolver" type="xsd:boolean" default="false"/>
940 </xsd:complexType>
941 </xsd:element>
942 <xsd:element name="Alias" minOccurs="0">
943 <xsd:complexType>
944 <xsd:attribute name="logging" type="xsd:boolean" default="false"/>
945 <xsd:attribute name="proxy-only" type="xsd:boolean" default="false"/>
946 <xsd:attribute name="use-same-ports" type="xsd:boolean" default="false"/>
947 </xsd:complexType>
948 </xsd:element>
949 <xsd:element name="TFTP" minOccurs="0">
950 <xsd:complexType>
951 <xsd:attribute name="prefix" type="xsd:string"/>
952 <xsd:attribute name="boot-file" type="xsd:string"/>
953 <xsd:attribute name="next-server" type="xsd:string"/>
954 </xsd:complexType>
955 </xsd:element>
956 <xsd:element name="Forwarding" minOccurs="0" maxOccurs="unbounded">
957 <xsd:complexType>
958 <xsd:attribute name="name" type="xsd:string"/>
959 <xsd:attribute name="proto" type="xsd:unsignedInt"/>
960 <xsd:attribute name="hostip" type="xsd:string"/>
961 <xsd:attribute name="hostport" type="xsd:unsignedInt"/>
962 <xsd:attribute name="guestip" type="xsd:string"/>
963 <xsd:attribute name="guestport" type="xsd:unsignedInt"/>
964 </xsd:complexType>
965 </xsd:element>
966 </xsd:choice>
967 <xsd:attribute name="network" type="xsd:string"/>
968 <xsd:attribute name="hostip" type="xsd:string"/>
969 <xsd:attribute name="mtu" type="xsd:unsignedInt"/>
970 <xsd:attribute name="sockrcv" type="xsd:unsignedInt"/>
971 <xsd:attribute name="socksnd" type="xsd:unsignedInt"/>
972 <xsd:attribute name="tcprcv" type="xsd:unsignedInt"/>
973 <xsd:attribute name="tcpsnd" type="xsd:unsignedInt"/>
974</xsd:complexType>
975
976<xsd:complexType name="TNetNATNetwork">
977 <xsd:attribute name="name" type="xsd:string"/>
978</xsd:complexType>
979
980<xsd:complexType name="TNetBridged">
981 <xsd:attribute name="name" type="xsd:string"/>
982</xsd:complexType>
983
984<xsd:complexType name="TNetInternal">
985 <xsd:attribute name="name" type="xsd:string"/>
986</xsd:complexType>
987
988<xsd:complexType name="TNetHostOnly">
989 <xsd:attribute name="name" type="xsd:string"/>
990</xsd:complexType>
991
992<xsd:complexType name="TNetGeneric">
993 <xsd:sequence>
994 <xsd:element name="Property" type="TProperty" minOccurs="0" maxOccurs="unbounded"/>
995 </xsd:sequence>
996 <xsd:attribute name="driver" type="xsd:string" use="required"/>
997</xsd:complexType>
998
999<xsd:complexType name="TNetworkConfig">
1000 <xsd:choice maxOccurs="2">
1001 <xsd:choice minOccurs="0">
1002 <xsd:element name="NAT" type="TNetNAT"/>
1003 <xsd:element name="NATNetwork" type="TNetNATNetwork"/>
1004 <xsd:element name="HostInterface" type="TNetBridged"/>
1005 <xsd:element name="BridgedInterface" type="TNetBridged"/>
1006 <xsd:element name="InternalNetwork" type="TNetInternal"/>
1007 <xsd:element name="HostOnlyInterface" type="TNetHostOnly"/>
1008 <xsd:element name="GenericInterface" type="TNetGeneric"/>
1009 </xsd:choice>
1010 <xsd:element name="DisabledModes">
1011 <xsd:complexType>
1012 <xsd:all>
1013 <xsd:element name="NAT" type="TNetNAT" minOccurs="0"/>
1014 <xsd:element name="NATNetwork" type="TNetNATNetwork" minOccurs="0"/>
1015 <xsd:element name="HostInterface" type="TNetBridged" minOccurs="0"/>
1016 <xsd:element name="BridgedInterface" type="TNetBridged" minOccurs="0"/>
1017 <xsd:element name="InternalNetwork" type="TNetInternal" minOccurs="0"/>
1018 <xsd:element name="HostOnlyInterface" type="TNetHostOnly" minOccurs="0"/>
1019 <xsd:element name="GenericInterface" type="TNetGeneric" minOccurs="0"/>
1020 </xsd:all>
1021 </xsd:complexType>
1022 </xsd:element>
1023 </xsd:choice>
1024</xsd:complexType>
1025
1026<xsd:complexType name="TNetworkAdapter">
1027 <xsd:complexContent>
1028 <xsd:extension base="TNetworkConfig">
1029 <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C973"/>
1030 <xsd:attribute name="slot" type="xsd:unsignedInt" use="required"/>
1031 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
1032 <xsd:attribute name="MACAddress">
1033 <xsd:simpleType>
1034 <xsd:restriction base="xsd:hexBinary">
1035 <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
1036 </xsd:restriction>
1037 </xsd:simpleType>
1038 </xsd:attribute>
1039 <xsd:attribute name="cable" type="xsd:boolean" default="true"/>
1040 <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
1041 <xsd:attribute name="bootPriority" type="xsd:unsignedInt"/>
1042 <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
1043 <xsd:attribute name="tracefile" type="xsd:string"/>
1044 <xsd:attribute name="bandwidthGroup" type="xsd:string"/>
1045 <xsd:attribute name="promiscuousModePolicy" default="Deny">
1046 <xsd:simpleType>
1047 <xsd:restriction base="xsd:token">
1048 <xsd:enumeration value="Deny"/>
1049 <xsd:enumeration value="AllowNetwork"/>
1050 <xsd:enumeration value="AllowAll"/>
1051 </xsd:restriction>
1052 </xsd:simpleType>
1053 </xsd:attribute>
1054 </xsd:extension>
1055 </xsd:complexContent>
1056</xsd:complexType>
1057
1058<xsd:complexType name="TNetwork">
1059 <xsd:sequence>
1060 <xsd:element name="Adapter" type="TNetworkAdapter"
1061 minOccurs="0" maxOccurs="unbounded"/>
1062 </xsd:sequence>
1063</xsd:complexType>
1064
1065<xsd:complexType name="TUARTPort">
1066 <xsd:attribute name="slot" use="required">
1067 <xsd:simpleType>
1068 <xsd:restriction base="xsd:unsignedInt">
1069 <xsd:minInclusive value="0"/>
1070 <xsd:maxExclusive value="4"/>
1071 </xsd:restriction>
1072 </xsd:simpleType>
1073 </xsd:attribute>
1074 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
1075 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
1076 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
1077 <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
1078 <xsd:attribute name="path" type="TLocalFile"/>
1079 <xsd:attribute name="server" type="xsd:boolean" default="false"/>
1080</xsd:complexType>
1081
1082<xsd:complexType name="TUART">
1083 <xsd:sequence>
1084 <xsd:element name="Port" type="TUARTPort"
1085 minOccurs="0" maxOccurs="unbounded"/>
1086 </xsd:sequence>
1087</xsd:complexType>
1088
1089<xsd:complexType name="TUartPort"> <!-- deprecated -->
1090 <xsd:attribute name="slot" use="required">
1091 <xsd:simpleType>
1092 <xsd:restriction base="xsd:unsignedInt">
1093 <xsd:minInclusive value="0"/>
1094 <xsd:maxExclusive value="4"/>
1095 </xsd:restriction>
1096 </xsd:simpleType>
1097 </xsd:attribute>
1098 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
1099 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
1100 <xsd:attribute name="IOBase" type="TUInt16HexNoBase" use="required"/>
1101 <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
1102 <xsd:attribute name="path" type="TLocalFile"/>
1103 <xsd:attribute name="server" type="xsd:boolean" default="false"/>
1104</xsd:complexType>
1105
1106<xsd:complexType name="TUart"> <!-- deprecated -->
1107 <xsd:sequence>
1108 <xsd:element name="Port" type="TUartPort"
1109 minOccurs="0" maxOccurs="unbounded"/>
1110 </xsd:sequence>
1111</xsd:complexType>
1112
1113<xsd:complexType name="TLPTPort">
1114 <xsd:attribute name="slot" use="required">
1115 <xsd:simpleType>
1116 <xsd:restriction base="xsd:unsignedInt">
1117 <xsd:minInclusive value="0"/>
1118 <xsd:maxExclusive value="2"/>
1119 </xsd:restriction>
1120 </xsd:simpleType>
1121 </xsd:attribute>
1122 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
1123 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
1124 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
1125 <xsd:attribute name="path" type="TLocalFile"/>
1126</xsd:complexType>
1127
1128<xsd:complexType name="TLPT">
1129 <xsd:sequence>
1130 <xsd:element name="Port" type="TLPTPort"
1131 minOccurs="0" maxOccurs="unbounded"/>
1132 </xsd:sequence>
1133</xsd:complexType>
1134
1135<xsd:complexType name="TLptPort"> <!-- deprecated -->
1136 <xsd:attribute name="slot" use="required">
1137 <xsd:simpleType>
1138 <xsd:restriction base="xsd:unsignedInt">
1139 <xsd:minInclusive value="0"/>
1140 <xsd:maxExclusive value="2"/>
1141 </xsd:restriction>
1142 </xsd:simpleType>
1143 </xsd:attribute>
1144 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
1145 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
1146 <xsd:attribute name="IOBase" type="TUInt16HexNoBase" use="required"/>
1147 <xsd:attribute name="path" type="TLocalFile"/>
1148</xsd:complexType>
1149
1150<xsd:complexType name="TLpt">
1151 <xsd:sequence>
1152 <xsd:element name="Port" type="TLptPort"
1153 minOccurs="0" maxOccurs="unbounded"/>
1154 </xsd:sequence>
1155</xsd:complexType>
1156
1157<xsd:complexType name="TRTC">
1158 <xsd:attribute name="localOrUTC" type="TLocalOrUTC" use="required"/>
1159</xsd:complexType>
1160
1161<xsd:complexType name="TSharedFolder">
1162 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
1163 <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
1164 <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
1165 <xsd:attribute name="autoMount" type="xsd:boolean" default="false"/>
1166</xsd:complexType>
1167
1168<xsd:complexType name="TSharedFolders">
1169 <xsd:sequence>
1170 <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
1171 </xsd:sequence>
1172</xsd:complexType>
1173
1174<xsd:complexType name="TClipboard">
1175 <xsd:attribute name="mode" type="TClipboardMode" default="Disabled"/>
1176</xsd:complexType>
1177
1178<xsd:complexType name="TDragAndDrop">
1179 <xsd:attribute name="mode" type="TDragAndDropMode" use="required"/>
1180</xsd:complexType>
1181
1182<xsd:complexType name="TIoCache">
1183 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
1184 <xsd:attribute name="size" type="xsd:unsignedLong"/>
1185</xsd:complexType>
1186
1187<xsd:complexType name="TBandwidthGroup">
1188 <xsd:attribute name="name" type="xsd:token" use="required"/>
1189 <xsd:attribute name="type" type="TBandwidthGroupType" use="required"/>
1190 <xsd:attribute name="maxBytesPerSec" type="xsd:unsignedLong"/>
1191 <xsd:attribute name="maxMbPerSec" type="xsd:unsignedLong"/>
1192</xsd:complexType>
1193
1194<xsd:complexType name="TBandwidthGroups">
1195 <xsd:sequence>
1196 <xsd:element name="BandwidthGroup" type="TBandwidthGroup" minOccurs="0" maxOccurs="unbounded"/>
1197 </xsd:sequence>
1198</xsd:complexType>
1199
1200<xsd:complexType name="TIO">
1201 <xsd:sequence>
1202 <xsd:element name="IoCache" type="TIoCache" minOccurs="0"/>
1203 <xsd:element name="BandwidthGroups" type="TBandwidthGroups" minOccurs="0"/>
1204 </xsd:sequence>
1205</xsd:complexType>
1206
1207<xsd:complexType name="THostPciDevice">
1208 <xsd:attribute name="host" type="xsd:unsignedInt" use="required"/>
1209 <xsd:attribute name="guest" type="xsd:unsignedInt" use="required"/>
1210 <xsd:attribute name="name" type="xsd:token"/>
1211</xsd:complexType>
1212
1213<xsd:complexType name="THostPciDevices">
1214 <xsd:sequence>
1215 <xsd:element name="Device" type="THostPciDevice" minOccurs="0" maxOccurs="unbounded"/>
1216 </xsd:sequence>
1217</xsd:complexType>
1218
1219<xsd:complexType name="THostPci">
1220 <xsd:sequence>
1221 <xsd:element name="Devices" type="THostPciDevices" minOccurs="0"/>
1222 </xsd:sequence>
1223</xsd:complexType>
1224
1225<xsd:complexType name="TCardReader">
1226 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
1227</xsd:complexType>
1228
1229<xsd:complexType name="TWebcam">
1230 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
1231</xsd:complexType>
1232
1233<xsd:complexType name="TEmulatedUSB">
1234 <xsd:sequence>
1235 <xsd:element name="CardReader" type="TCardReader" minOccurs="0"/>
1236 <xsd:element name="Webcam" type="TWebcam" minOccurs="0"/>
1237 </xsd:sequence>
1238</xsd:complexType>
1239
1240<xsd:complexType name="TGuest">
1241 <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
1242 <xsd:attribute name="MemoryBalloonSize" type="xsd:unsignedInt" default="0"/> <!-- deprecated -->
1243 <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
1244 <xsd:attribute name="StatisticsUpdateInterval" type="xsd:unsignedInt" default="0"/> <!-- deprecated -->
1245</xsd:complexType>
1246
1247<xsd:complexType name="TGuestProperty">
1248 <xsd:attribute name="name" type="xsd:string" use="required"/>
1249 <xsd:attribute name="value" type="xsd:string" use="required"/>
1250 <xsd:attribute name="timestamp" type="xsd:unsignedLong" default="0"/>
1251 <xsd:attribute name="flags" type="xsd:string" default=""/>
1252</xsd:complexType>
1253
1254<xsd:complexType name="TGuestProperties">
1255 <xsd:sequence>
1256 <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
1257 </xsd:sequence>
1258 <xsd:attribute name="notificationPatterns" type="xsd:string" default=""/>
1259</xsd:complexType>
1260
1261<xsd:complexType name="TMemory">
1262 <xsd:attribute name="RAMSize" use="required">
1263 <xsd:simpleType>
1264 <xsd:restriction base="xsd:unsignedInt">
1265 <xsd:minInclusive value="4"/>
1266 <xsd:maxInclusive value="2097152"/>
1267 </xsd:restriction>
1268 </xsd:simpleType>
1269 </xsd:attribute>
1270 <xsd:attribute name="PageFusion" type="xsd:boolean" default="false"/>
1271</xsd:complexType>
1272
1273<xsd:complexType name="TFirmware">
1274 <xsd:attribute name="type" use="required">
1275 <xsd:simpleType>
1276 <xsd:restriction base="xsd:token">
1277 <xsd:enumeration value="BIOS"/>
1278 <xsd:enumeration value="EFI"/>
1279 <xsd:enumeration value="EFI32"/>
1280 <xsd:enumeration value="EFI64"/>
1281 <xsd:enumeration value="EFIDUAL"/>
1282 </xsd:restriction>
1283 </xsd:simpleType>
1284 </xsd:attribute>
1285</xsd:complexType>
1286
1287<xsd:complexType name="THID">
1288 <xsd:attribute name="Pointing" default="PS2Mouse">
1289 <xsd:simpleType>
1290 <xsd:restriction base="xsd:token">
1291 <xsd:enumeration value="USBMouse"/>
1292 <xsd:enumeration value="USBTablet"/>
1293 <xsd:enumeration value="PS2Mouse"/>
1294 <xsd:enumeration value="ComboMouse"/>
1295 </xsd:restriction>
1296 </xsd:simpleType>
1297 </xsd:attribute>
1298 <xsd:attribute name="Keyboard" default="PS2Keyboard">
1299 <xsd:simpleType>
1300 <xsd:restriction base="xsd:token">
1301 <xsd:enumeration value="USBKeyboard"/>
1302 <xsd:enumeration value="PS2Keyboard"/>
1303 <xsd:enumeration value="ComboKeyboard"/>
1304 </xsd:restriction>
1305 </xsd:simpleType>
1306 </xsd:attribute>
1307</xsd:complexType>
1308
1309<xsd:complexType name="THPET">
1310 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
1311</xsd:complexType>
1312
1313<xsd:complexType name="TChipset">
1314 <xsd:attribute name="type" use="required">
1315 <xsd:simpleType>
1316 <xsd:restriction base="xsd:token">
1317 <xsd:enumeration value="PIIX3"/>
1318 <xsd:enumeration value="ICH9"/>
1319 </xsd:restriction>
1320 </xsd:simpleType>
1321 </xsd:attribute>
1322</xsd:complexType>
1323
1324<xsd:complexType name="TParavirt">
1325 <xsd:attribute name="provider" use="required">
1326 <xsd:simpleType>
1327 <xsd:restriction base="xsd:token">
1328 <xsd:enumeration value="None"/>
1329 <xsd:enumeration value="Default"/>
1330 <xsd:enumeration value="Legacy"/>
1331 <xsd:enumeration value="Minimal"/>
1332 <xsd:enumeration value="HyperV"/>
1333 <xsd:enumeration value="KVM"/>
1334 </xsd:restriction>
1335 </xsd:simpleType>
1336 </xsd:attribute>
1337 <xsd:attribute name="debug" type="xsd:string"/>
1338</xsd:complexType>
1339
1340<xsd:complexType name="TTeleporter">
1341 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
1342 <xsd:attribute name="port" type="xsd:unsignedShort"/>
1343 <xsd:attribute name="address" type="xsd:string"/>
1344 <xsd:attribute name="password" type="xsd:string"/>
1345</xsd:complexType>
1346
1347<xsd:complexType name="THardware">
1348 <xsd:all>
1349 <xsd:element name="CPU" type="TCPU" minOccurs="0"/>
1350 <xsd:element name="Memory" type="TMemory"/>
1351 <xsd:element name="Firmware" type="TFirmware" minOccurs="0"/>
1352 <xsd:element name="HID" type="THID" minOccurs="0"/>
1353 <xsd:element name="HPET" type="THPET" minOccurs="0"/>
1354 <xsd:element name="Chipset" type="TChipset" minOccurs="0"/>
1355 <xsd:element name="Paravirt" type="TParavirt" minOccurs="0"/>
1356 <xsd:element name="Boot" type="TBoot" minOccurs="0">
1357 <xsd:unique name="THardware-Boot-Order">
1358 <xsd:selector xpath="vb:Order"/>
1359 <xsd:field xpath="@position"/>
1360 </xsd:unique>
1361 </xsd:element>
1362 <xsd:element name="Display" type="TDisplay" minOccurs="0"/>
1363 <xsd:element name="VideoRecording" type="TVideoRecording" minOccurs="0"/>
1364 <xsd:element name="VideoCapture" type="TVideoCapture" minOccurs="0"/>
1365 <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
1366 <xsd:element name="BIOS" type="TBIOS" minOccurs="0"/>
1367 <xsd:element name="DVDDrive" type="TDVDDrive" minOccurs="0"/>
1368 <xsd:element name="FloppyDrive" type="TFloppyDrive" minOccurs="0"/>
1369 <xsd:element name="USBController" type="TUSBController" minOccurs="0"/>
1370 <xsd:element name="USB" type="TUSB" minOccurs="0"/>
1371 <xsd:element name="SATAController" type="TSATAController" minOccurs="0"/> <!-- deprecated -->
1372 <xsd:element name="Network" type="TNetwork" minOccurs="0">
1373 <xsd:unique name="THardware-Network-Adapter">
1374 <xsd:selector xpath="vb:Adapter"/>
1375 <xsd:field xpath="@slot"/>
1376 </xsd:unique>
1377 </xsd:element>
1378 <xsd:element name="UART" type="TUART" minOccurs="0">
1379 <xsd:unique name="THardware-UART-Port">
1380 <xsd:selector xpath="vb:Port"/>
1381 <xsd:field xpath="@slot"/>
1382 </xsd:unique>
1383 </xsd:element>
1384 <xsd:element name="Uart" type="TUart" minOccurs="0"> <!-- deprecated -->
1385 <xsd:unique name="THardware-Uart-Port">
1386 <xsd:selector xpath="vb:Port"/>
1387 <xsd:field xpath="@slot"/>
1388 </xsd:unique>
1389 </xsd:element>
1390 <xsd:element name="LPT" type="TLPT" minOccurs="0">
1391 <xsd:unique name="THardware-LPT-Port">
1392 <xsd:selector xpath="vb:Port"/>
1393 <xsd:field xpath="@slot"/>
1394 </xsd:unique>
1395 </xsd:element>
1396 <xsd:element name="Lpt" type="TLpt" minOccurs="0"> <!-- deprecated -->
1397 <xsd:unique name="THardware-Lpt-Port">
1398 <xsd:selector xpath="vb:Port"/>
1399 <xsd:field xpath="@slot"/>
1400 </xsd:unique>
1401 </xsd:element>
1402 <xsd:element name="AudioAdapter" type="TAudioAdapter" minOccurs="0"/>
1403 <xsd:element name="RTC" type="TRTC" minOccurs="0"/>
1404 <xsd:element name="SharedFolders" type="TSharedFolders" minOccurs="0">
1405 <xsd:unique name="THardware-SharedFolders-SharedFolder">
1406 <xsd:selector xpath="vb:SharedFolder"/>
1407 <xsd:field xpath="@name"/>
1408 </xsd:unique>
1409 </xsd:element>
1410 <xsd:element name="Clipboard" type="TClipboard" minOccurs="0"/>
1411 <xsd:element name="DragAndDrop" type="TDragAndDrop" minOccurs="0"/>
1412 <xsd:element name="IO" type="TIO" minOccurs="0"/>
1413 <xsd:element name="HostPci" type="THostPci" minOccurs="0"/>
1414 <xsd:element name="EmulatedUSB" type="TEmulatedUSB" minOccurs="0"/>
1415 <xsd:element name="Guest" type="TGuest" minOccurs="0"/>
1416 <xsd:element name="GuestProperties" type="TGuestProperties" minOccurs="0">
1417 <xsd:unique name="THardware-GuestProperties-GuestProperty">
1418 <xsd:selector xpath="vb:GuestProperty"/>
1419 <xsd:field xpath="@name"/>
1420 </xsd:unique>
1421 </xsd:element>
1422 <xsd:element name="StorageControllers" type="TStorageControllers" minOccurs="0"/>
1423 </xsd:all>
1424 <xsd:attribute name="version" type="xsd:string" default="2"/>
1425</xsd:complexType>
1426
1427<xsd:complexType name="TGroup">
1428 <xsd:attribute name="name" type="xsd:string" use="required"/>
1429</xsd:complexType>
1430
1431<xsd:complexType name="TGroups">
1432 <xsd:sequence>
1433 <xsd:element name="Group" type="TGroup" minOccurs="0" maxOccurs="unbounded"/>
1434 </xsd:sequence>
1435</xsd:complexType>
1436
1437<xsd:complexType name="TMachine">
1438 <xsd:all>
1439 <xsd:element name="MediaRegistry" type="TMediaRegistry" minOccurs="0"/>
1440 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
1441 <xsd:element name="Teleporter" type="TTeleporter" minOccurs="0"/>
1442 <xsd:element name="Hardware" type="THardware"/>
1443 <xsd:element name="StorageControllers" type="TStorageControllers" minOccurs="0"/>
1444 <xsd:element name="HardDiskAttachments" type="THardDiskAttachments" minOccurs="0"/> <!-- deprecated -->
1445 <xsd:element name="Groups" type="TGroups" minOccurs="0"/>
1446 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
1447 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
1448 </xsd:all>
1449 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
1450 <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
1451 <xsd:attribute name="directoryIncludesUUID" type="xsd:boolean" default="false"/>
1452 <xsd:attribute name="OSType" type="TNonEmptyString" use="required"/>
1453 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
1454 <xsd:attribute name="stateFile" type="TLocalFile"/>
1455 <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
1456 <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
1457 <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
1458 <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
1459 <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
1460 <xsd:attribute name="version" type="xsd:string" default="1.15"/> <!-- Used for OVF files only, must not be present in normal settings files. The default corresponds to settings created by 5.0, which covers many older versions but not newer ones. -->
1461 <xsd:attribute name="VMProcessPriority" type="TVMProcPriority"/>
1462</xsd:complexType>
1463
1464<xsd:complexType name="TSnapshot">
1465 <xsd:all>
1466 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
1467 <xsd:element name="Hardware" type="THardware"/>
1468 <xsd:element name="StorageControllers" type="TStorageControllers" minOccurs="0"/>
1469 <xsd:element name="Snapshots" minOccurs="0">
1470 <xsd:complexType>
1471 <xsd:sequence>
1472 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
1473 </xsd:sequence>
1474 </xsd:complexType>
1475 </xsd:element>
1476 </xsd:all>
1477 <xsd:attribute name="name" type="xsd:token" use="required"/>
1478 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
1479 <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
1480 <xsd:attribute name="stateFile" type="TLocalFile"/>
1481</xsd:complexType>
1482
1483<xsd:complexType name="TVirtualBox">
1484 <xsd:choice>
1485 <xsd:element name="Global" type="TGlobal"/>
1486 <xsd:element name="Machine" type="TMachine">
1487 <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
1488 <xsd:key name="snapshot">
1489 <xsd:selector xpath=".//vb:Snapshot"/>
1490 <xsd:field xpath="@uuid"/>
1491 </xsd:key>
1492 <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
1493 <xsd:selector xpath="."/>
1494 <xsd:field xpath="@currentSnapshot"/>
1495 </xsd:keyref>
1496 </xsd:element>
1497 </xsd:choice>
1498 <xsd:attribute name="version" type="xsd:string" use="required"/>
1499</xsd:complexType>
1500
1501<!-- Root element for all VirtualBox config files -->
1502<xsd:element name="VirtualBox" type="TVirtualBox"/>
1503
1504</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