VirtualBox

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

Last change on this file since 105353 was 105087, checked in by vboxsync, 4 months ago

doc/manual,include/VBox,Frontends/VBoxManage,HostServices/SharedFolders,
Main/{include,SharedFolder,Console,Machine,VirtualBox.xidl}: Add a
new attribute to ISharedFolder for specifying a symbolic link creation
policy to restrict the source pathname when creating symbolic links
within a guest. The symbolic link policies are represented by a new
enumeration of type SymlinkPolicy_T which includes values for no
restrictions ('any'), symlink sources only within the subtree of the
share ('subtree'), symlink sources as any relative path ('relative'),
and no symlinks allowed ('forbidden'). The symlink policy can only be
applied to permanent shared folders at this stage. bugref:10619

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