VirtualBox

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

Last change on this file since 103288 was 103085, checked in by vboxsync, 10 months ago

Main,FE/VBoxManage,FE/VirtualBox,ValidationKit: Allow setting the primary VM execution engine to make it easier to force particular engine for testing, bugref:10583

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 62.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-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 VM 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<!--
307// Complex types
308/////////////////////////////////////////////////////////////////////////
309-->
310<xsd:complexType name="TDHCPServer">
311 <xsd:sequence>
312 <xsd:element name="Options" minOccurs="0">
313 <xsd:complexType>
314 <xsd:sequence>
315 <xsd:element name="Option" type="TDHCPOption" minOccurs="0" maxOccurs="unbounded"/>
316 </xsd:sequence>
317 </xsd:complexType>
318 </xsd:element>
319 </xsd:sequence>
320 <xsd:attribute name="networkName" type="xsd:string" use="required"/>
321 <xsd:attribute name="lowerIP" type="xsd:string" use="required"/>
322 <xsd:attribute name="upperIP" type="xsd:string" use="required"/>
323 <xsd:attribute name="IPAddress" type="xsd:string" use="required"/>
324 <xsd:attribute name="networkMask" type="xsd:string" use="required"/>
325 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
326</xsd:complexType>
327
328<xsd:complexType name="TDHCPOption">
329 <xsd:attribute name="name" type="xsd:string" use="required"/>
330 <xsd:attribute name="value" type="xsd:string" use="required"/>
331 <xsd:attribute name="encoding" type="xsd:integer" default="0"/>
332</xsd:complexType>
333
334<xsd:complexType name="TNATNetwork">
335 <xsd:sequence>
336 <xsd:element name="PortForwarding4" minOccurs="0">
337 <xsd:complexType>
338 <xsd:sequence>
339 <xsd:element name="Forwarding" type="TNATPortForwarding" minOccurs="0" maxOccurs="unbounded"/>
340 </xsd:sequence>
341 </xsd:complexType>
342 </xsd:element>
343 <xsd:element name="PortForwarding6" minOccurs="0">
344 <xsd:complexType>
345 <xsd:sequence>
346 <xsd:element name="Forwarding" type="TNATPortForwarding" minOccurs="0" maxOccurs="unbounded"/>
347 </xsd:sequence>
348 </xsd:complexType>
349 </xsd:element>
350 <xsd:element name="Mappings" minOccurs="0">
351 <xsd:complexType>
352 <xsd:sequence>
353 <xsd:element name="Loopback4" type="TNATLoopback4" minOccurs="0" maxOccurs="unbounded"/>
354 </xsd:sequence>
355 </xsd:complexType>
356 </xsd:element>
357 </xsd:sequence>
358 <xsd:attribute name="networkName" type="xsd:string" use="required"/>
359 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
360 <xsd:attribute name="network" type="xsd:string" use="required"/>
361 <xsd:attribute name="ipv6" type="xsd:boolean" use="required"/>
362 <xsd:attribute name="ipv6prefix" type="xsd:string" use="required"/>
363 <xsd:attribute name="advertiseDefaultIPv6Route" type="xsd:boolean" use="required"/>
364 <xsd:attribute name="needDhcp" type="xsd:boolean" use="required"/>
365 <xsd:attribute name="loopback6" type="xsd:integer" default="0"/>
366</xsd:complexType>
367
368<xsd:complexType name="TNATLoopback4">
369 <xsd:attribute name="address" type="xsd:string" use="required"/>
370 <xsd:attribute name="offset" type="xsd:integer" use="required"/>
371</xsd:complexType>
372
373<xsd:complexType name="TNATPortForwarding">
374 <xsd:attribute name="name" type="xsd:string" use="required"/>
375 <xsd:attribute name="proto" type="xsd:integer" use="required"/>
376 <xsd:attribute name="hostip" type="xsd:string" default=""/>
377 <xsd:attribute name="hostport" type="xsd:integer" use="required"/>
378 <xsd:attribute name="guestip" type="xsd:string" use="required"/>
379 <xsd:attribute name="guestport" type="xsd:integer" use="required"/>
380</xsd:complexType>
381
382<xsd:complexType name="TProperty">
383 <xsd:attribute name="name" type="xsd:token" use="required"/>
384 <xsd:attribute name="value" type="xsd:string" use="required"/>
385</xsd:complexType>
386
387<xsd:complexType name="THardDiskBase">
388 <xsd:sequence>
389 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
390 <xsd:element name="Property" type="TProperty" minOccurs="0" maxOccurs="unbounded"/>
391 <xsd:element name="HardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
392 </xsd:sequence>
393 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
394 <xsd:attribute name="location" type="TLocalFile" use="required"/>
395 <xsd:attribute name="format" type="TNonEmptyString" use="required"/>
396</xsd:complexType>
397
398<xsd:complexType name="TDiffHardDisk">
399 <xsd:complexContent>
400 <xsd:extension base="THardDiskBase">
401 <xsd:attribute name="autoReset" type="xsd:boolean" default="false"/>
402 </xsd:extension>
403 </xsd:complexContent>
404</xsd:complexType>
405
406<xsd:complexType name="THardDisk">
407 <xsd:complexContent>
408 <xsd:extension base="THardDiskBase">
409 <xsd:attribute name="type" type="TMediumType" use="required"/>
410 </xsd:extension>
411 </xsd:complexContent>
412</xsd:complexType>
413
414<xsd:complexType name="TImage2">
415 <xsd:sequence>
416 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
417 </xsd:sequence>
418 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
419 <xsd:attribute name="location" type="TLocalFile" use="required"/>
420 <xsd:attribute name="type" type="TMediumType"/>
421</xsd:complexType>
422
423<xsd:complexType name="TImageRef">
424 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
425</xsd:complexType>
426
427<xsd:complexType name="THostDrive">
428 <xsd:attribute name="src" type="TLocalFile" use="required"/>
429</xsd:complexType>
430
431<xsd:complexType name="TUSBDeviceFilter">
432 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
433 <xsd:attribute name="active" type="xsd:boolean" use="required"/>
434 <xsd:attribute name="vendorId" type="xsd:token"/>
435 <xsd:attribute name="productId" type="xsd:token"/>
436 <xsd:attribute name="revision" type="xsd:token"/>
437 <xsd:attribute name="manufacturer" type="xsd:token"/>
438 <xsd:attribute name="product" type="xsd:token"/>
439 <xsd:attribute name="serialNumber" type="xsd:token"/>
440 <xsd:attribute name="port" type="xsd:token"/>
441 <xsd:attribute name="remote" type="xsd:token"/>
442 <xsd:attribute name="maskedInterfaces" type="xsd:unsignedInt" default="0"/>
443</xsd:complexType>
444
445<xsd:complexType name="TUSBDeviceFilters">
446 <xsd:sequence>
447 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter" minOccurs="0"/>
448 </xsd:sequence>
449</xsd:complexType>
450
451<xsd:complexType name="THostUSBDeviceFilter">
452 <xsd:complexContent>
453 <xsd:extension base="TUSBDeviceFilter">
454 <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
455 </xsd:extension>
456 </xsd:complexContent>
457</xsd:complexType>
458
459<xsd:complexType name="TSystemProperties">
460 <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
461 <xsd:attribute name="defaultHardDiskFolder" type="TLocalFile"/>
462 <xsd:attribute name="defaultHardDiskFormat" type="TNonEmptyString"/>
463 <xsd:attribute name="VRDEAuthLibrary" type="TLocalFile"/>
464 <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
465 <xsd:attribute name="defaultVRDELibrary" type="TLocalFile"/>
466 <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
467 <xsd:attribute name="LogHistoryCount" type="xsd:unsignedInt" default="3"/>
468 <xsd:attribute name="defaultVRDEExtPack" type="xsd:string"/>
469 <xsd:attribute name="exclusiveHwVirt" type="xsd:boolean"/> <!-- deprecated since v1.20 -->
470 <xsd:attribute name="proxyMode" type="xsd:string"/>
471</xsd:complexType>
472
473<xsd:complexType name="TExtraData">
474 <xsd:sequence>
475 <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
476 <xsd:complexType>
477 <xsd:attribute name="name" type="xsd:token" use="required"/>
478 <xsd:attribute name="value" type="xsd:string" use="required"/>
479 </xsd:complexType>
480 </xsd:element>
481 </xsd:sequence>
482</xsd:complexType>
483
484<xsd:complexType name="TMediaRegistry">
485 <xsd:all>
486 <xsd:element name="HardDisks" minOccurs="0">
487 <xsd:complexType>
488 <xsd:sequence>
489 <xsd:element name="HardDisk" type="THardDisk" minOccurs="0" maxOccurs="unbounded"/>
490 </xsd:sequence>
491 </xsd:complexType>
492 </xsd:element>
493 <xsd:element name="DVDImages" minOccurs="0">
494 <xsd:complexType>
495 <xsd:sequence>
496 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
497 </xsd:sequence>
498 </xsd:complexType>
499 </xsd:element>
500 <xsd:element name="FloppyImages" minOccurs="0">
501 <xsd:complexType>
502 <xsd:sequence>
503 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
504 </xsd:sequence>
505 </xsd:complexType>
506 </xsd:element>
507 </xsd:all>
508</xsd:complexType>
509
510<xsd:complexType name="TGlobal">
511 <xsd:all>
512 <xsd:element name="MachineRegistry">
513 <xsd:complexType>
514 <xsd:sequence>
515 <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
516 <xsd:complexType>
517 <xsd:attribute name="src" type="TLocalFile" use="required"/>
518 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
519 </xsd:complexType>
520 </xsd:element>
521 </xsd:sequence>
522 </xsd:complexType>
523 </xsd:element>
524 <xsd:element name="MediaRegistry" type="TMediaRegistry" minOccurs="0"/>
525 <xsd:element name="NetserviceRegistry" minOccurs="0">
526 <xsd:complexType>
527 <xsd:all>
528 <xsd:element name="DHCPServers" minOccurs="0">
529 <xsd:complexType>
530 <xsd:sequence>
531 <xsd:element name="DHCPServer" type="TDHCPServer" minOccurs="0" maxOccurs="unbounded"/>
532 </xsd:sequence>
533 </xsd:complexType>
534 </xsd:element>
535 <xsd:element name="NATNetworks" minOccurs="0">
536 <xsd:complexType>
537 <xsd:sequence>
538 <xsd:element name="NATNetwork" type="TNATNetwork" minOccurs="0" maxOccurs="unbounded"/>
539 </xsd:sequence>
540 </xsd:complexType>
541 </xsd:element>
542 </xsd:all>
543 </xsd:complexType>
544 </xsd:element>
545 <xsd:element name="USBDeviceFilters">
546 <xsd:complexType>
547 <xsd:sequence>
548 <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
549 minOccurs="0" maxOccurs="unbounded"/>
550 </xsd:sequence>
551 </xsd:complexType>
552 </xsd:element>
553 <xsd:element name="SystemProperties" type="TSystemProperties"/>
554 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
555 </xsd:all>
556</xsd:complexType>
557
558<xsd:complexType name="THWVirtExType">
559 <xsd:attribute name="enabled" type="TTriStateBoolType"/>
560 <xsd:attribute name="exclusive" type="xsd:boolean"/>
561</xsd:complexType>
562
563<xsd:complexType name="THWVirtExNestedPagingType">
564 <xsd:attribute name="enabled" type="xsd:boolean"/>
565</xsd:complexType>
566
567<xsd:complexType name="THWVirtExVPIDType">
568 <xsd:attribute name="enabled" type="xsd:boolean"/>
569</xsd:complexType>
570
571<xsd:complexType name="THWVirtExUXType">
572 <xsd:attribute name="enabled" type="xsd:boolean"/>
573</xsd:complexType>
574
575<xsd:complexType name="TSyntheticCpuType">
576 <xsd:attribute name="enabled" type="xsd:boolean"/>
577</xsd:complexType>
578
579<xsd:complexType name="TPAEType">
580 <xsd:attribute name="enabled" type="xsd:boolean"/>
581</xsd:complexType>
582
583<xsd:complexType name="TLongModeType">
584 <xsd:attribute name="enabled" type="xsd:boolean"/>
585</xsd:complexType>
586
587<xsd:complexType name="THardwareVirtExLargePages">
588 <xsd:attribute name="enabled" type="xsd:boolean"/>
589</xsd:complexType>
590
591<xsd:complexType name="THardwareVirtForce">
592 <xsd:attribute name="enabled" type="xsd:boolean"/>
593</xsd:complexType>
594
595<xsd:complexType name="THardwareVirtExUseNativeApi">
596 <xsd:attribute name="enabled" type="xsd:boolean"/>
597</xsd:complexType>
598
599<xsd:complexType name="TIBPBOn">
600 <xsd:attribute name="vmexit" type="xsd:boolean"/>
601 <xsd:attribute name="vmentry" type="xsd:boolean"/>
602</xsd:complexType>
603
604<xsd:complexType name="TSpecCtrl">
605 <xsd:attribute name="enabled" type="xsd:boolean"/>
606</xsd:complexType>
607
608<xsd:complexType name="TSpecCtrlByHost">
609 <xsd:attribute name="enabled" type="xsd:boolean"/>
610</xsd:complexType>
611
612<xsd:complexType name="TL1DFlushOn">
613 <xsd:attribute name="scheduling" type="xsd:boolean"/>
614 <xsd:attribute name="vmentry" type="xsd:boolean"/>
615</xsd:complexType>
616
617<xsd:complexType name="TMDSClearOn">
618 <xsd:attribute name="scheduling" type="xsd:boolean"/>
619 <xsd:attribute name="vmentry" type="xsd:boolean"/>
620</xsd:complexType>
621
622<xsd:complexType name="TNestedHWVirt">
623 <xsd:attribute name="enabled" type="xsd:boolean"/>
624</xsd:complexType>
625
626<xsd:complexType name="THardwareVirtExVirtVmsaveVmload">
627 <xsd:attribute name="enabled" type="xsd:boolean"/>
628</xsd:complexType>
629
630<xsd:complexType name="TTripleFaultReset">
631 <xsd:attribute name="enabled" type="xsd:boolean"/>
632</xsd:complexType>
633
634<xsd:complexType name="TX2APIC">
635 <xsd:attribute name="enabled" type="xsd:boolean"/>
636</xsd:complexType>
637
638<xsd:complexType name="TAPIC">
639 <xsd:attribute name="enabled" type="xsd:boolean"/>
640</xsd:complexType>
641
642<xsd:simpleType name="TCPUCount">
643 <xsd:restriction base="xsd:unsignedInt">
644 <xsd:minInclusive value="1"/>
645 <xsd:maxInclusive value="64"/>
646 </xsd:restriction>
647</xsd:simpleType>
648
649<xsd:complexType name="TCpuIdLeafX86">
650 <xsd:attribute name="id" type="xsd:unsignedInt" use="required"/>
651 <xsd:attribute name="eax" type="xsd:unsignedInt" use="required"/>
652 <xsd:attribute name="ebx" type="xsd:unsignedInt" use="required"/>
653 <xsd:attribute name="ecx" type="xsd:unsignedInt" use="required"/>
654 <xsd:attribute name="edx" type="xsd:unsignedInt" use="required"/>
655</xsd:complexType>
656
657<xsd:complexType name="TCpuIdTreeX86">
658 <xsd:sequence>
659 <xsd:element name="CpuIdLeaf" type="TCpuIdLeafX86"
660 minOccurs="0" maxOccurs="unbounded"/>
661 </xsd:sequence>
662</xsd:complexType>
663
664<xsd:complexType name="TCPUX86"> <!-- Contains the "x86" sub element of the CPU element. New since v1.20. -->
665 <xsd:sequence>
666 <xsd:element name="HPET" type="THPET" minOccurs="0"/>
667 <xsd:element name="HardwareVirtExLargePages" type="THardwareVirtExLargePages" minOccurs="0"/>
668 <xsd:element name="HardwareVirtForce" type="THardwareVirtForce" minOccurs="0"/>
669 <xsd:element name="HardwareVirtExUseNativeApi" type="THardwareVirtExUseNativeApi" minOccurs="0"/>
670 <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
671 <xsd:element name="HardwareVirtExNestedPaging" type="THWVirtExNestedPagingType" minOccurs="0"/>
672 <xsd:element name="HardwareVirtExVPID" type="THWVirtExVPIDType" minOccurs="0"/>
673 <xsd:element name="HardwareVirtExUX" type="THWVirtExUXType" minOccurs="0"/>
674 <xsd:element name="PAE" type="TPAEType" minOccurs="0"/>
675 <xsd:element name="IBPBOn" type="TIBPBOn" minOccurs="0"/>
676 <xsd:element name="SpecCtrl" type="TSpecCtrl" minOccurs="0"/>
677 <xsd:element name="SpecCtrlByHost" type="TSpecCtrlByHost" minOccurs="0"/>
678 <xsd:element name="L1DFlushOn" type="TL1DFlushOn" minOccurs="0"/>
679 <xsd:element name="MDSClearOn" type="TMDSClearOn" minOccurs="0"/>
680 <xsd:element name="NestedHWVirt" type="TNestedHWVirt" minOccurs="0"/>
681 <xsd:element name="HardwareVirtExVirtVmsaveVmload" type="THardwareVirtExVirtVmsaveVmload" minOccurs="0"/>
682 <xsd:element name="LongMode" type="TLongModeType" minOccurs="0"/>
683 <xsd:element name="TripleFaultReset" type="TTripleFaultReset" minOccurs="0"/>
684 <xsd:element name="X2APIC" type="TX2APIC" minOccurs="0"/>
685 <xsd:element name="APIC" type="TAPIC" minOccurs="0"/>
686 <xsd:element name="CpuIdTree" type="TCpuIdTreeX86" minOccurs="0">
687 <xsd:unique name="TCPUX86-CpuIdTree-CpuIdLeaf">
688 <xsd:selector xpath="vb:CpuIdLeaf"/>
689 <xsd:field xpath="@id"/>
690 </xsd:unique>
691 </xsd:element>
692 </xsd:sequence>
693</xsd:complexType>
694
695<xsd:complexType name="TCPU">
696 <xsd:sequence>
697 <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/> <!-- deprecated since v1.20. -->
698 <xsd:element name="HardwareVirtExNestedPaging" type="THWVirtExNestedPagingType" minOccurs="0"/> <!-- deprecated since v1.20. -->
699 <xsd:element name="HardwareVirtExVPID" type="THWVirtExVPIDType" minOccurs="0"/> <!-- deprecated since v1.20. -->
700 <xsd:element name="HardwareVirtExUX" type="THWVirtExUXType" minOccurs="0"/> <!-- deprecated since v1.20. -->
701 <xsd:element name="PAE" type="TPAEType" minOccurs="0"/> <!-- deprecated since v1.20. -->
702 <xsd:element name="LongMode" type="TLongModeType" minOccurs="0"/> <!-- deprecated since v1.20. -->
703 <xsd:element name="HardwareVirtExLargePages" type="THardwareVirtExLargePages" minOccurs="0"/> <!-- deprecated since v1.20. -->
704 <xsd:element name="HardwareVirtForce" type="THardwareVirtForce" minOccurs="0"/> <!-- deprecated since v1.20. -->
705 <xsd:element name="SyntheticCpu" type="TSyntheticCpuType" minOccurs="0"/>
706 <xsd:element name="CpuIdTree" type="TCpuIdTreeX86" minOccurs="0"> <!-- deprecated since v1.20. -->
707 <xsd:unique name="TCPU-CpuIdTree-CpuIdLeaf">
708 <xsd:selector xpath="vb:CpuIdLeaf"/>
709 <xsd:field xpath="@id"/>
710 </xsd:unique>
711 </xsd:element>
712 </xsd:sequence>
713 <xsd:attribute name="count" type="TCPUCount" default="1"/>
714 <xsd:attribute name="hotplug" type="xsd:boolean" default="false"/>
715</xsd:complexType>
716
717<xsd:complexType name="TBoot">
718 <xsd:sequence>
719 <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
720 <xsd:complexType>
721 <xsd:attribute name="position" use="required">
722 <xsd:simpleType>
723 <xsd:restriction base="xsd:unsignedInt">
724 <xsd:minInclusive value="1"/>
725 <xsd:maxInclusive value="4"/>
726 </xsd:restriction>
727 </xsd:simpleType>
728 </xsd:attribute>
729 <xsd:attribute name="device" type="TDeviceType" use="required"/>
730 </xsd:complexType>
731 </xsd:element>
732 </xsd:sequence>
733</xsd:complexType>
734
735<xsd:complexType name="TDisplay">
736 <xsd:attribute name="VRAMSize" default="8">
737 <xsd:simpleType>
738 <xsd:restriction base="xsd:unsignedInt">
739 <xsd:minInclusive value="0"/>
740 <xsd:maxInclusive value="256"/>
741 </xsd:restriction>
742 </xsd:simpleType>
743 </xsd:attribute>
744 <xsd:attribute name="monitorCount" type="TMonitorCount" default="1"/>
745 <xsd:attribute name="MonitorCount" type="TMonitorCount"/> <!-- deprecated -->
746 <xsd:attribute name="accelerate3D" type="xsd:boolean" default="false"/>
747 <xsd:attribute name="accelerate2DVideo" type="xsd:boolean" default="false"/>
748 <xsd:attribute name="controller" type="TDisplayControllerType" default="VBoxSVGA"/>
749</xsd:complexType>
750
751<xsd:complexType name="TVideoRecording">
752 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
753 <xsd:attribute name="file" type="xsd:string"/>
754 <xsd:attribute name="horzRes">
755 <xsd:simpleType>
756 <xsd:restriction base="xsd:unsignedInt">
757 <xsd:minInclusive value="4"/>
758 <xsd:maxInclusive value="2097152"/>
759 </xsd:restriction>
760 </xsd:simpleType>
761 </xsd:attribute>
762 <xsd:attribute name="vertRes" type="xsd:unsignedInt"/>
763</xsd:complexType>
764
765<xsd:complexType name="TVideoCapture">
766 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
767 <xsd:attribute name="file" type="xsd:string"/>
768 <xsd:attribute name="screens" type="xsd:unsignedLong"/> <!-- todo: fix writing of settings (writes -1) -->
769 <xsd:attribute name="horzRes">
770 <xsd:simpleType>
771 <xsd:restriction base="xsd:unsignedInt">
772 <xsd:minInclusive value="4"/>
773 <xsd:maxInclusive value="2097152"/>
774 </xsd:restriction>
775 </xsd:simpleType>
776 </xsd:attribute>
777 <xsd:attribute name="vertRes" type="xsd:unsignedInt"/>
778 <xsd:attribute name="rate" type="xsd:unsignedInt"/>
779 <xsd:attribute name="fps" type="xsd:unsignedInt"/>
780 <xsd:attribute name="maxTime" type="xsd:unsignedInt"/>
781 <xsd:attribute name="maxSize" type="xsd:unsignedInt"/>
782 <xsd:attribute name="options" type="xsd:string"/>
783</xsd:complexType>
784
785<xsd:complexType name="TVRDEProperties">
786 <xsd:sequence>
787 <xsd:element name="Property" type="TProperty" minOccurs="0" maxOccurs="unbounded"/>
788 </xsd:sequence>
789</xsd:complexType>
790
791<xsd:complexType name="TVideoChannel">
792 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
793 <xsd:attribute name="quality" type="xsd:unsignedByte" default="75"/>
794</xsd:complexType>
795
796<xsd:complexType name="TRemoteDisplay">
797 <xsd:sequence>
798 <xsd:element name="VideoChannel" type="TVideoChannel" minOccurs="0"/> <!-- deprecated -->
799 <xsd:choice minOccurs="0">
800 <xsd:element name="VRDEProperties" type="TVRDEProperties"/>
801 </xsd:choice>
802 </xsd:sequence>
803 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
804 <xsd:attribute name="port" type="xsd:string" default="3389"/> <!-- deprecated -->
805 <xsd:attribute name="authType" type="TAuthType" default="Null"/>
806 <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
807 <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
808 <xsd:attribute name="reuseSingleConnection" type="xsd:boolean" default="false"/>
809</xsd:complexType>
810
811<xsd:complexType name="TFirmware"> <!-- Note: Is named as element "BIOS" for settings < v1.20. -->
812 <xsd:all>
813 <xsd:element name="ACPI" minOccurs="0">
814 <xsd:complexType>
815 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
816 </xsd:complexType>
817 </xsd:element>
818 <xsd:element name="IOAPIC" minOccurs="0">
819 <xsd:complexType>
820 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
821 </xsd:complexType>
822 </xsd:element>
823 <xsd:element name="Logo" minOccurs="0">
824 <xsd:complexType>
825 <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
826 <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
827 <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
828 <xsd:attribute name="imagePath" type="TLocalFile"/>
829 </xsd:complexType>
830 </xsd:element>
831 <xsd:element name="BootMenu" minOccurs="0">
832 <xsd:complexType>
833 <xsd:attribute name="mode" type="TFirmwareBootMenuModeType" default="MessageAndMenu"/>
834 </xsd:complexType>
835 </xsd:element>
836 <xsd:element name="TimeOffset" minOccurs="0">
837 <xsd:complexType>
838 <xsd:attribute name="value" type="xsd:integer" default="0"/>
839 </xsd:complexType>
840 </xsd:element>
841 <xsd:element name="PXEDebug" minOccurs="0">
842 <xsd:complexType>
843 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
844 </xsd:complexType>
845 </xsd:element>
846 <xsd:element name="NVRAM" minOccurs="0">
847 <xsd:complexType>
848 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
849 <xsd:attribute name="path" type="xsd:string"/>
850 </xsd:complexType>
851 </xsd:element>
852 <xsd:element name="SmbiosUuidLittleEndian" minOccurs="0">
853 <xsd:complexType>
854 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
855 </xsd:complexType>
856 </xsd:element>
857 <xsd:element name="IDEController" minOccurs="0"> <!-- deprecated -->
858 <xsd:complexType>
859 <xsd:attribute name="type">
860 <xsd:simpleType>
861 <xsd:restriction base="xsd:token">
862 <xsd:enumeration value="PIIX3"/>
863 <xsd:enumeration value="PIIX4"/>
864 <xsd:enumeration value="ICH6"/>
865 </xsd:restriction>
866 </xsd:simpleType>
867 </xsd:attribute>
868 </xsd:complexType>
869 </xsd:element>
870 </xsd:all>
871 <xsd:attribute name="type" type="TFirmwareType" use="required"/> <!-- new since v1.20. -->
872</xsd:complexType>
873
874<xsd:complexType name="TStorageControllerDevice">
875 <xsd:choice minOccurs="0">
876 <xsd:element name="Image" type="TImageRef"/>
877 <xsd:element name="HostDrive" type="THostDrive"/>
878 </xsd:choice>
879 <xsd:attribute name="type" type="TMediumDeviceType"/>
880 <xsd:attribute name="port" type="xsd:unsignedInt" default="0"/>
881 <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
882 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
883 <xsd:attribute name="tempeject" type="xsd:boolean" default="false"/>
884 <xsd:attribute name="nonrotational" type="xsd:boolean" default="false"/>
885 <xsd:attribute name="discard" type="xsd:boolean" default="false"/>
886 <xsd:attribute name="hotpluggable" type="xsd:boolean" default="false"/>
887</xsd:complexType>
888
889<xsd:complexType name="TStorageController">
890 <xsd:sequence>
891 <xsd:element name="AttachedDevice" type="TStorageControllerDevice"
892 minOccurs="0" maxOccurs="unbounded"/>
893 </xsd:sequence>
894 <xsd:attribute name="name" type="xsd:string" use="required"/>
895 <xsd:attribute name="type" type="TStorageControllerType" use="required"/>
896 <xsd:attribute name="PortCount" type="xsd:unsignedInt" use="required"/>
897 <xsd:attribute name="useHostIOCache" type="xsd:boolean" use="optional" default="true"/>
898 <xsd:attribute name="Bootable" type="xsd:boolean" use="optional"/>
899 <xsd:attribute name="PCIBus" type="xsd:unsignedInt" use="optional"/>
900 <xsd:attribute name="PCIDevice" type="xsd:unsignedInt" use="optional"/>
901 <xsd:attribute name="PCIFunction" type="xsd:unsignedInt" use="optional"/>
902 <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
903 <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
904 <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
905 <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
906</xsd:complexType>
907
908<xsd:complexType name="TSATAController"> <!-- deprecated -->
909 <xsd:sequence>
910 <xsd:element name="AttachedDevice" type="TStorageControllerDevice"
911 minOccurs="0" maxOccurs="unbounded"/>
912 </xsd:sequence>
913 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
914 <xsd:attribute name="PortCount" type="xsd:unsignedInt" use="required"/>
915 <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
916 <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
917 <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
918 <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
919</xsd:complexType>
920
921<xsd:complexType name="TStorageControllers">
922 <xsd:sequence>
923 <xsd:element name="StorageController" type="TStorageController"
924 minOccurs="0" maxOccurs="unbounded"/>
925 </xsd:sequence>
926</xsd:complexType>
927
928<xsd:complexType name="THardDiskAttachment">
929 <xsd:attribute name="hardDisk" type="TNonNullUUID"/>
930 <xsd:attribute name="bus" default="IDE">
931 <xsd:simpleType>
932 <xsd:restriction base="xsd:token">
933 <xsd:enumeration value="IDE"/>
934 <xsd:enumeration value="SATA"/>
935 </xsd:restriction>
936 </xsd:simpleType>
937 </xsd:attribute>
938 <xsd:attribute name="channel" type="xsd:unsignedInt" default="0"/>
939 <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
940</xsd:complexType>
941
942<xsd:complexType name="THardDiskAttachments"> <!-- deprecated -->
943 <xsd:sequence>
944 <xsd:element name="HardDiskAttachment" type="THardDiskAttachment"
945 minOccurs="0" maxOccurs="unbounded"/>
946 </xsd:sequence>
947</xsd:complexType>
948
949<xsd:complexType name="TDVDDrive">
950 <xsd:choice minOccurs="0">
951 <xsd:element name="Image" type="TImageRef"/>
952 <xsd:element name="HostDrive" type="THostDrive"/>
953 </xsd:choice>
954 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
955</xsd:complexType>
956
957<xsd:complexType name="TFloppyDrive">
958 <xsd:choice minOccurs="0">
959 <xsd:element name="Image" type="TImageRef"/>
960 <xsd:element name="HostDrive" type="THostDrive"/>
961 </xsd:choice>
962 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
963</xsd:complexType>
964
965<xsd:complexType name="TUSBController">
966 <xsd:sequence>
967 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
968 minOccurs="0" maxOccurs="unbounded"/>
969 </xsd:sequence>
970 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
971 <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
972</xsd:complexType>
973
974<xsd:complexType name="TUSBController2">
975 <xsd:attribute name="name" type="xsd:string" use="required"/>
976 <xsd:attribute name="type" use="required">
977 <xsd:simpleType>
978 <xsd:restriction base="xsd:token">
979 <xsd:enumeration value="OHCI"/>
980 <xsd:enumeration value="EHCI"/>
981 <xsd:enumeration value="XHCI"/>
982 </xsd:restriction>
983 </xsd:simpleType>
984 </xsd:attribute>
985</xsd:complexType>
986
987<xsd:complexType name="TUSBControllers">
988 <xsd:sequence>
989 <xsd:element name="Controller" type="TUSBController2"
990 minOccurs="0" maxOccurs="unbounded"/>
991 </xsd:sequence>
992</xsd:complexType>
993
994<xsd:complexType name="TUSB">
995 <xsd:sequence>
996 <xsd:element name="Controllers" type="TUSBControllers" minOccurs="0"/>
997 <xsd:element name="DeviceFilters" type="TUSBDeviceFilters" minOccurs="0"/>
998 </xsd:sequence>
999</xsd:complexType>
1000
1001
1002<xsd:complexType name="TAudioAdapter">
1003 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
1004 <xsd:attribute name="enabledIn" type="xsd:boolean" default="false"/>
1005 <xsd:attribute name="enabledOut" type="xsd:boolean" default="false"/>
1006 <xsd:attribute name="controller" default="AC97">
1007 <xsd:simpleType>
1008 <xsd:restriction base="xsd:token">
1009 <xsd:enumeration value="AC97"/>
1010 <xsd:enumeration value="SB16"/>
1011 <xsd:enumeration value="HDA"/>
1012 </xsd:restriction>
1013 </xsd:simpleType>
1014 </xsd:attribute>
1015 <xsd:attribute name="driver" use="required">
1016 <xsd:simpleType>
1017 <xsd:restriction base="xsd:token">
1018 <xsd:enumeration value="null"/> <!-- deprecated -->
1019 <xsd:enumeration value="Null"/> <!-- all platforms -->
1020 <xsd:enumeration value="OSS"/> <!-- Linux, Solaris, FreeBSD -->
1021 <xsd:enumeration value="ALSA"/> <!-- Linux, FreeBSD -->
1022 <xsd:enumeration value="Pulse"/> <!-- Linux -->
1023 <xsd:enumeration value="CoreAudio"/> <!-- Mac OS X -->
1024 <xsd:enumeration value="MMPM"/> <!-- OS/2 -->
1025 <xsd:enumeration value="SolAudio"/> <!-- Solaris -->
1026 <xsd:enumeration value="WinMM"/> <!-- Windows -->
1027 <xsd:enumeration value="DirectSound"/> <!-- Windows -->
1028 </xsd:restriction>
1029 </xsd:simpleType>
1030 </xsd:attribute>
1031</xsd:complexType>
1032
1033<xsd:complexType name="TNetNAT">
1034 <xsd:choice minOccurs="0" maxOccurs="unbounded">
1035 <xsd:element name="DNS" minOccurs="0">
1036 <xsd:complexType>
1037 <xsd:attribute name="pass-domain" type="xsd:boolean" default="true"/>
1038 <xsd:attribute name="use-proxy" type="xsd:boolean" default="false"/>
1039 <xsd:attribute name="use-host-resolver" type="xsd:boolean" default="false"/>
1040 </xsd:complexType>
1041 </xsd:element>
1042 <xsd:element name="Alias" minOccurs="0">
1043 <xsd:complexType>
1044 <xsd:attribute name="logging" type="xsd:boolean" default="false"/>
1045 <xsd:attribute name="proxy-only" type="xsd:boolean" default="false"/>
1046 <xsd:attribute name="use-same-ports" type="xsd:boolean" default="false"/>
1047 </xsd:complexType>
1048 </xsd:element>
1049 <xsd:element name="TFTP" minOccurs="0">
1050 <xsd:complexType>
1051 <xsd:attribute name="prefix" type="xsd:string"/>
1052 <xsd:attribute name="boot-file" type="xsd:string"/>
1053 <xsd:attribute name="next-server" type="xsd:string"/>
1054 </xsd:complexType>
1055 </xsd:element>
1056 <xsd:element name="Forwarding" minOccurs="0" maxOccurs="unbounded">
1057 <xsd:complexType>
1058 <xsd:attribute name="name" type="xsd:string"/>
1059 <xsd:attribute name="proto" type="xsd:unsignedInt"/>
1060 <xsd:attribute name="hostip" type="xsd:string"/>
1061 <xsd:attribute name="hostport" type="xsd:unsignedInt"/>
1062 <xsd:attribute name="guestip" type="xsd:string"/>
1063 <xsd:attribute name="guestport" type="xsd:unsignedInt"/>
1064 </xsd:complexType>
1065 </xsd:element>
1066 </xsd:choice>
1067 <xsd:attribute name="network" type="xsd:string"/>
1068 <xsd:attribute name="hostip" type="xsd:string"/>
1069 <xsd:attribute name="mtu" type="xsd:unsignedInt"/>
1070 <xsd:attribute name="sockrcv" type="xsd:unsignedInt"/>
1071 <xsd:attribute name="socksnd" type="xsd:unsignedInt"/>
1072 <xsd:attribute name="tcprcv" type="xsd:unsignedInt"/>
1073 <xsd:attribute name="tcpsnd" type="xsd:unsignedInt"/>
1074</xsd:complexType>
1075
1076<xsd:complexType name="TNetNATNetwork">
1077 <xsd:attribute name="name" type="xsd:string"/>
1078</xsd:complexType>
1079
1080<xsd:complexType name="TNetBridged">
1081 <xsd:attribute name="name" type="xsd:string"/>
1082</xsd:complexType>
1083
1084<xsd:complexType name="TNetInternal">
1085 <xsd:attribute name="name" type="xsd:string"/>
1086</xsd:complexType>
1087
1088<xsd:complexType name="TNetHostOnly">
1089 <xsd:attribute name="name" type="xsd:string"/>
1090</xsd:complexType>
1091
1092<xsd:complexType name="TNetGeneric">
1093 <xsd:sequence>
1094 <xsd:element name="Property" type="TProperty" minOccurs="0" maxOccurs="unbounded"/>
1095 </xsd:sequence>
1096 <xsd:attribute name="driver" type="xsd:string" use="required"/>
1097</xsd:complexType>
1098
1099<xsd:complexType name="TNetworkConfig">
1100 <xsd:choice maxOccurs="2">
1101 <xsd:choice minOccurs="0">
1102 <xsd:element name="NAT" type="TNetNAT"/>
1103 <xsd:element name="NATNetwork" type="TNetNATNetwork"/>
1104 <xsd:element name="HostInterface" type="TNetBridged"/>
1105 <xsd:element name="BridgedInterface" type="TNetBridged"/>
1106 <xsd:element name="InternalNetwork" type="TNetInternal"/>
1107 <xsd:element name="HostOnlyInterface" type="TNetHostOnly"/>
1108 <xsd:element name="GenericInterface" type="TNetGeneric"/>
1109 </xsd:choice>
1110 <xsd:element name="DisabledModes">
1111 <xsd:complexType>
1112 <xsd:all>
1113 <xsd:element name="NAT" type="TNetNAT" minOccurs="0"/>
1114 <xsd:element name="NATNetwork" type="TNetNATNetwork" minOccurs="0"/>
1115 <xsd:element name="HostInterface" type="TNetBridged" minOccurs="0"/>
1116 <xsd:element name="BridgedInterface" type="TNetBridged" minOccurs="0"/>
1117 <xsd:element name="InternalNetwork" type="TNetInternal" minOccurs="0"/>
1118 <xsd:element name="HostOnlyInterface" type="TNetHostOnly" minOccurs="0"/>
1119 <xsd:element name="GenericInterface" type="TNetGeneric" minOccurs="0"/>
1120 </xsd:all>
1121 </xsd:complexType>
1122 </xsd:element>
1123 </xsd:choice>
1124</xsd:complexType>
1125
1126<xsd:complexType name="TNetworkAdapter">
1127 <xsd:complexContent>
1128 <xsd:extension base="TNetworkConfig">
1129 <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C973"/>
1130 <xsd:attribute name="slot" type="xsd:unsignedInt" use="required"/>
1131 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
1132 <xsd:attribute name="MACAddress">
1133 <xsd:simpleType>
1134 <xsd:restriction base="xsd:hexBinary">
1135 <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
1136 </xsd:restriction>
1137 </xsd:simpleType>
1138 </xsd:attribute>
1139 <xsd:attribute name="cable" type="xsd:boolean" default="true"/>
1140 <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
1141 <xsd:attribute name="bootPriority" type="xsd:unsignedInt"/>
1142 <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
1143 <xsd:attribute name="tracefile" type="xsd:string"/>
1144 <xsd:attribute name="bandwidthGroup" type="xsd:string"/>
1145 <xsd:attribute name="promiscuousModePolicy" default="Deny">
1146 <xsd:simpleType>
1147 <xsd:restriction base="xsd:token">
1148 <xsd:enumeration value="Deny"/>
1149 <xsd:enumeration value="AllowNetwork"/>
1150 <xsd:enumeration value="AllowAll"/>
1151 </xsd:restriction>
1152 </xsd:simpleType>
1153 </xsd:attribute>
1154 </xsd:extension>
1155 </xsd:complexContent>
1156</xsd:complexType>
1157
1158<xsd:complexType name="TNetwork">
1159 <xsd:sequence>
1160 <xsd:element name="Adapter" type="TNetworkAdapter"
1161 minOccurs="0" maxOccurs="unbounded"/>
1162 </xsd:sequence>
1163</xsd:complexType>
1164
1165<xsd:complexType name="TUARTPort">
1166 <xsd:attribute name="slot" use="required">
1167 <xsd:simpleType>
1168 <xsd:restriction base="xsd:unsignedInt">
1169 <xsd:minInclusive value="0"/>
1170 <xsd:maxExclusive value="4"/>
1171 </xsd:restriction>
1172 </xsd:simpleType>
1173 </xsd:attribute>
1174 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
1175 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
1176 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
1177 <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
1178 <xsd:attribute name="path" type="TLocalFile"/>
1179 <xsd:attribute name="server" type="xsd:boolean" default="false"/>
1180</xsd:complexType>
1181
1182<xsd:complexType name="TUART">
1183 <xsd:sequence>
1184 <xsd:element name="Port" type="TUARTPort"
1185 minOccurs="0" maxOccurs="unbounded"/>
1186 </xsd:sequence>
1187</xsd:complexType>
1188
1189<xsd:complexType name="TUartPort"> <!-- deprecated -->
1190 <xsd:attribute name="slot" use="required">
1191 <xsd:simpleType>
1192 <xsd:restriction base="xsd:unsignedInt">
1193 <xsd:minInclusive value="0"/>
1194 <xsd:maxExclusive value="4"/>
1195 </xsd:restriction>
1196 </xsd:simpleType>
1197 </xsd:attribute>
1198 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
1199 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
1200 <xsd:attribute name="IOBase" type="TUInt16HexNoBase" use="required"/>
1201 <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
1202 <xsd:attribute name="path" type="TLocalFile"/>
1203 <xsd:attribute name="server" type="xsd:boolean" default="false"/>
1204</xsd:complexType>
1205
1206<xsd:complexType name="TUart"> <!-- deprecated -->
1207 <xsd:sequence>
1208 <xsd:element name="Port" type="TUartPort"
1209 minOccurs="0" maxOccurs="unbounded"/>
1210 </xsd:sequence>
1211</xsd:complexType>
1212
1213<xsd:complexType name="TLPTPort">
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="2"/>
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="required"/>
1225 <xsd:attribute name="path" type="TLocalFile"/>
1226</xsd:complexType>
1227
1228<xsd:complexType name="TLPT">
1229 <xsd:sequence>
1230 <xsd:element name="Port" type="TLPTPort"
1231 minOccurs="0" maxOccurs="unbounded"/>
1232 </xsd:sequence>
1233</xsd:complexType>
1234
1235<xsd:complexType name="TLptPort"> <!-- deprecated -->
1236 <xsd:attribute name="slot" use="required">
1237 <xsd:simpleType>
1238 <xsd:restriction base="xsd:unsignedInt">
1239 <xsd:minInclusive value="0"/>
1240 <xsd:maxExclusive value="2"/>
1241 </xsd:restriction>
1242 </xsd:simpleType>
1243 </xsd:attribute>
1244 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
1245 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
1246 <xsd:attribute name="IOBase" type="TUInt16HexNoBase" use="required"/>
1247 <xsd:attribute name="path" type="TLocalFile"/>
1248</xsd:complexType>
1249
1250<xsd:complexType name="TLpt">
1251 <xsd:sequence>
1252 <xsd:element name="Port" type="TLptPort"
1253 minOccurs="0" maxOccurs="unbounded"/>
1254 </xsd:sequence>
1255</xsd:complexType>
1256
1257<xsd:complexType name="TRTC">
1258 <xsd:attribute name="localOrUTC" type="TLocalOrUTC" use="required"/>
1259</xsd:complexType>
1260
1261<xsd:complexType name="TSharedFolder">
1262 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
1263 <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
1264 <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
1265 <xsd:attribute name="autoMount" type="xsd:boolean" default="false"/>
1266</xsd:complexType>
1267
1268<xsd:complexType name="TSharedFolders">
1269 <xsd:sequence>
1270 <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
1271 </xsd:sequence>
1272</xsd:complexType>
1273
1274<xsd:complexType name="TClipboard">
1275 <xsd:attribute name="mode" type="TClipboardMode" default="Disabled"/>
1276</xsd:complexType>
1277
1278<xsd:complexType name="TDragAndDrop">
1279 <xsd:attribute name="mode" type="TDragAndDropMode" use="required"/>
1280</xsd:complexType>
1281
1282<xsd:complexType name="TIoCache">
1283 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
1284 <xsd:attribute name="size" type="xsd:unsignedLong"/>
1285</xsd:complexType>
1286
1287<xsd:complexType name="TBandwidthGroup">
1288 <xsd:attribute name="name" type="xsd:token" use="required"/>
1289 <xsd:attribute name="type" type="TBandwidthGroupType" use="required"/>
1290 <xsd:attribute name="maxBytesPerSec" type="xsd:unsignedLong"/>
1291 <xsd:attribute name="maxMbPerSec" type="xsd:unsignedLong"/>
1292</xsd:complexType>
1293
1294<xsd:complexType name="TBandwidthGroups">
1295 <xsd:sequence>
1296 <xsd:element name="BandwidthGroup" type="TBandwidthGroup" minOccurs="0" maxOccurs="unbounded"/>
1297 </xsd:sequence>
1298</xsd:complexType>
1299
1300<xsd:complexType name="TIO">
1301 <xsd:sequence>
1302 <xsd:element name="IoCache" type="TIoCache" minOccurs="0"/>
1303 <xsd:element name="BandwidthGroups" type="TBandwidthGroups" minOccurs="0"/>
1304 </xsd:sequence>
1305</xsd:complexType>
1306
1307<xsd:complexType name="THostPciDevice">
1308 <xsd:attribute name="host" type="xsd:unsignedInt" use="required"/>
1309 <xsd:attribute name="guest" type="xsd:unsignedInt" use="required"/>
1310 <xsd:attribute name="name" type="xsd:token"/>
1311</xsd:complexType>
1312
1313<xsd:complexType name="THostPciDevices">
1314 <xsd:sequence>
1315 <xsd:element name="Device" type="THostPciDevice" minOccurs="0" maxOccurs="unbounded"/>
1316 </xsd:sequence>
1317</xsd:complexType>
1318
1319<xsd:complexType name="THostPci">
1320 <xsd:sequence>
1321 <xsd:element name="Devices" type="THostPciDevices" minOccurs="0"/>
1322 </xsd:sequence>
1323</xsd:complexType>
1324
1325<xsd:complexType name="TCardReader">
1326 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
1327</xsd:complexType>
1328
1329<xsd:complexType name="TWebcam">
1330 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
1331</xsd:complexType>
1332
1333<xsd:complexType name="TEmulatedUSB">
1334 <xsd:sequence>
1335 <xsd:element name="CardReader" type="TCardReader" minOccurs="0"/>
1336 <xsd:element name="Webcam" type="TWebcam" minOccurs="0"/>
1337 </xsd:sequence>
1338</xsd:complexType>
1339
1340<xsd:complexType name="TGuest">
1341 <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
1342 <xsd:attribute name="MemoryBalloonSize" type="xsd:unsignedInt" default="0"/> <!-- deprecated -->
1343 <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
1344 <xsd:attribute name="StatisticsUpdateInterval" type="xsd:unsignedInt" default="0"/> <!-- deprecated -->
1345</xsd:complexType>
1346
1347<xsd:complexType name="TGuestProperty">
1348 <xsd:attribute name="name" type="xsd:string" use="required"/>
1349 <xsd:attribute name="value" type="xsd:string" use="required"/>
1350 <xsd:attribute name="timestamp" type="xsd:unsignedLong" default="0"/>
1351 <xsd:attribute name="flags" type="xsd:string" default=""/>
1352</xsd:complexType>
1353
1354<xsd:complexType name="TGuestProperties">
1355 <xsd:sequence>
1356 <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
1357 </xsd:sequence>
1358 <xsd:attribute name="notificationPatterns" type="xsd:string" default=""/>
1359</xsd:complexType>
1360
1361<xsd:complexType name="TMemory">
1362 <xsd:attribute name="RAMSize" use="required">
1363 <xsd:simpleType>
1364 <xsd:restriction base="xsd:unsignedInt">
1365 <xsd:minInclusive value="4"/>
1366 <xsd:maxInclusive value="2097152"/>
1367 </xsd:restriction>
1368 </xsd:simpleType>
1369 </xsd:attribute>
1370 <xsd:attribute name="PageFusion" type="xsd:boolean" default="false"/>
1371</xsd:complexType>
1372
1373<xsd:simpleType name="TFirmwareType">
1374 <xsd:restriction base="xsd:token">
1375 <xsd:enumeration value="BIOS"/>
1376 <xsd:enumeration value="EFI"/>
1377 <xsd:enumeration value="EFI32"/>
1378 <xsd:enumeration value="EFI64"/>
1379 <xsd:enumeration value="EFIDUAL"/>
1380 </xsd:restriction>
1381</xsd:simpleType>
1382
1383<xsd:complexType name="THID">
1384 <xsd:attribute name="Pointing" default="PS2Mouse">
1385 <xsd:simpleType>
1386 <xsd:restriction base="xsd:token">
1387 <xsd:enumeration value="USBMouse"/>
1388 <xsd:enumeration value="USBTablet"/>
1389 <xsd:enumeration value="PS2Mouse"/>
1390 <xsd:enumeration value="ComboMouse"/>
1391 </xsd:restriction>
1392 </xsd:simpleType>
1393 </xsd:attribute>
1394 <xsd:attribute name="Keyboard" default="PS2Keyboard">
1395 <xsd:simpleType>
1396 <xsd:restriction base="xsd:token">
1397 <xsd:enumeration value="USBKeyboard"/>
1398 <xsd:enumeration value="PS2Keyboard"/>
1399 <xsd:enumeration value="ComboKeyboard"/>
1400 </xsd:restriction>
1401 </xsd:simpleType>
1402 </xsd:attribute>
1403</xsd:complexType>
1404
1405<xsd:complexType name="THPET">
1406 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
1407</xsd:complexType>
1408
1409<xsd:complexType name="TChipset">
1410 <xsd:attribute name="type" use="required">
1411 <xsd:simpleType>
1412 <xsd:restriction base="xsd:token">
1413 <xsd:enumeration value="PIIX3"/>
1414 <xsd:enumeration value="ICH9"/>
1415 </xsd:restriction>
1416 </xsd:simpleType>
1417 </xsd:attribute>
1418</xsd:complexType>
1419
1420<xsd:complexType name="TIommu"> <!-- new since v1.19. -->
1421 <xsd:attribute name="type" use="required">
1422 <xsd:simpleType>
1423 <xsd:restriction base="xsd:token">
1424 <xsd:enumeration value="None"/>
1425 <xsd:enumeration value="Automatic"/>
1426 <xsd:enumeration value="AMD"/>
1427 <xsd:enumeration value="Intel"/>
1428 </xsd:restriction>
1429 </xsd:simpleType>
1430 </xsd:attribute>
1431</xsd:complexType>
1432
1433<xsd:complexType name="TParavirt">
1434 <xsd:attribute name="provider" use="required">
1435 <xsd:simpleType>
1436 <xsd:restriction base="xsd:token">
1437 <xsd:enumeration value="None"/>
1438 <xsd:enumeration value="Default"/>
1439 <xsd:enumeration value="Legacy"/>
1440 <xsd:enumeration value="Minimal"/>
1441 <xsd:enumeration value="HyperV"/>
1442 <xsd:enumeration value="KVM"/>
1443 </xsd:restriction>
1444 </xsd:simpleType>
1445 </xsd:attribute>
1446 <xsd:attribute name="debug" type="xsd:string"/>
1447</xsd:complexType>
1448
1449<xsd:complexType name="TTeleporter">
1450 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
1451 <xsd:attribute name="port" type="xsd:unsignedShort"/>
1452 <xsd:attribute name="address" type="xsd:string"/>
1453 <xsd:attribute name="password" type="xsd:string"/>
1454</xsd:complexType>
1455
1456<xsd:simpleType name="TPlatformArchitecture"> <!-- new since v1.20. -->
1457 <xsd:restriction base="xsd:token">
1458 <xsd:enumeration value="None"/>
1459 <xsd:enumeration value="x86"/>
1460 <xsd:enumeration value="ARM"/>
1461 </xsd:restriction>
1462</xsd:simpleType>
1463
1464<xsd:complexType name="TPlatformProperties"> <!-- new since v1.20. -->
1465 <xsd:attribute name="exclusiveHwVirt" type="xsd:boolean"/>
1466</xsd:complexType>
1467
1468<xsd:complexType name="TPlatformX86"> <!-- new since v1.20. -->
1469</xsd:complexType>
1470
1471<xsd:complexType name="TPlatformARM"> <!-- new since v1.20. -->
1472</xsd:complexType>
1473
1474<xsd:complexType name="TPlatform"> <!-- new since v1.20. -->
1475 <xsd:all>
1476 <xsd:element name="Chipset" type="TChipset" minOccurs="0"/>
1477 <xsd:element name="Iommu" type="TIommu" minOccurs="0"/>
1478 <xsd:element name="RTC" type="TRTC" minOccurs="0"/>
1479 <xsd:element name="CPU" type="TCPU"/>
1480 <xsd:element name="x86" type="TPlatformX86" minOccurs="0"/>
1481 </xsd:all>
1482 <xsd:attribute name="architecture" type="TPlatformArchitecture" use="required"/>
1483</xsd:complexType>
1484
1485<xsd:complexType name="THardware">
1486 <xsd:all>
1487 <xsd:element name="CPU" type="TCPU" minOccurs="0"/> <!-- deprecated since v1.20. -->
1488 <xsd:element name="Memory" type="TMemory"/>
1489 <xsd:element name="Firmware" type="TFirmware" minOccurs="0"/>
1490 <xsd:element name="HID" type="THID" minOccurs="0"/>
1491 <xsd:element name="HPET" type="THPET" minOccurs="0"/> <!-- deprecated since v1.20. -->
1492 <xsd:element name="Chipset" type="TChipset" minOccurs="0"/> <!-- deprecated since v1.20. -->
1493 <xsd:element name="Paravirt" type="TParavirt" minOccurs="0"/>
1494 <xsd:element name="Boot" type="TBoot" minOccurs="0">
1495 <xsd:unique name="THardware-Boot-Order">
1496 <xsd:selector xpath="vb:Order"/>
1497 <xsd:field xpath="@position"/>
1498 </xsd:unique>
1499 </xsd:element>
1500 <xsd:element name="Display" type="TDisplay" minOccurs="0"/>
1501 <xsd:element name="VideoRecording" type="TVideoRecording" minOccurs="0"/>
1502 <xsd:element name="VideoCapture" type="TVideoCapture" minOccurs="0"/>
1503 <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
1504 <xsd:element name="BIOS" type="TFirmware" minOccurs="0"/> <!-- deprecated since v1.20. -->
1505 <xsd:element name="DVDDrive" type="TDVDDrive" minOccurs="0"/>
1506 <xsd:element name="FloppyDrive" type="TFloppyDrive" minOccurs="0"/>
1507 <xsd:element name="USBController" type="TUSBController" minOccurs="0"/>
1508 <xsd:element name="USB" type="TUSB" minOccurs="0"/>
1509 <xsd:element name="SATAController" type="TSATAController" minOccurs="0"/> <!-- deprecated -->
1510 <xsd:element name="Network" type="TNetwork" minOccurs="0">
1511 <xsd:unique name="THardware-Network-Adapter">
1512 <xsd:selector xpath="vb:Adapter"/>
1513 <xsd:field xpath="@slot"/>
1514 </xsd:unique>
1515 </xsd:element>
1516 <xsd:element name="UART" type="TUART" minOccurs="0">
1517 <xsd:unique name="THardware-UART-Port">
1518 <xsd:selector xpath="vb:Port"/>
1519 <xsd:field xpath="@slot"/>
1520 </xsd:unique>
1521 </xsd:element>
1522 <xsd:element name="Uart" type="TUart" minOccurs="0"> <!-- deprecated -->
1523 <xsd:unique name="THardware-Uart-Port">
1524 <xsd:selector xpath="vb:Port"/>
1525 <xsd:field xpath="@slot"/>
1526 </xsd:unique>
1527 </xsd:element>
1528 <xsd:element name="LPT" type="TLPT" minOccurs="0">
1529 <xsd:unique name="THardware-LPT-Port">
1530 <xsd:selector xpath="vb:Port"/>
1531 <xsd:field xpath="@slot"/>
1532 </xsd:unique>
1533 </xsd:element>
1534 <xsd:element name="Lpt" type="TLpt" minOccurs="0"> <!-- deprecated -->
1535 <xsd:unique name="THardware-Lpt-Port">
1536 <xsd:selector xpath="vb:Port"/>
1537 <xsd:field xpath="@slot"/>
1538 </xsd:unique>
1539 </xsd:element>
1540 <xsd:element name="AudioAdapter" type="TAudioAdapter" minOccurs="0"/>
1541 <xsd:element name="RTC" type="TRTC" minOccurs="0"/> <!-- deprecated since v1.20. -->
1542 <xsd:element name="SharedFolders" type="TSharedFolders" minOccurs="0">
1543 <xsd:unique name="THardware-SharedFolders-SharedFolder">
1544 <xsd:selector xpath="vb:SharedFolder"/>
1545 <xsd:field xpath="@name"/>
1546 </xsd:unique>
1547 </xsd:element>
1548 <xsd:element name="Clipboard" type="TClipboard" minOccurs="0"/>
1549 <xsd:element name="DragAndDrop" type="TDragAndDrop" minOccurs="0"/>
1550 <xsd:element name="IO" type="TIO" minOccurs="0"/>
1551 <xsd:element name="HostPci" type="THostPci" minOccurs="0"/>
1552 <xsd:element name="EmulatedUSB" type="TEmulatedUSB" minOccurs="0"/>
1553 <xsd:element name="Guest" type="TGuest" minOccurs="0"/>
1554 <xsd:element name="GuestProperties" type="TGuestProperties" minOccurs="0">
1555 <xsd:unique name="THardware-GuestProperties-GuestProperty">
1556 <xsd:selector xpath="vb:GuestProperty"/>
1557 <xsd:field xpath="@name"/>
1558 </xsd:unique>
1559 </xsd:element>
1560 <xsd:element name="StorageControllers" type="TStorageControllers" minOccurs="0"/>
1561 </xsd:all>
1562 <xsd:attribute name="version" type="xsd:string" default="2"/>
1563</xsd:complexType>
1564
1565<xsd:complexType name="TGroup">
1566 <xsd:attribute name="name" type="xsd:string" use="required"/>
1567</xsd:complexType>
1568
1569<xsd:complexType name="TGroups">
1570 <xsd:sequence>
1571 <xsd:element name="Group" type="TGroup" minOccurs="0" maxOccurs="unbounded"/>
1572 </xsd:sequence>
1573</xsd:complexType>
1574
1575<xsd:complexType name="TMachine">
1576 <xsd:all>
1577 <xsd:element name="MediaRegistry" type="TMediaRegistry" minOccurs="0"/>
1578 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
1579 <xsd:element name="Teleporter" type="TTeleporter" minOccurs="0"/>
1580 <xsd:element name="Hardware" type="THardware"/>
1581 <xsd:element name="Platform" type="TPlatform" minOccurs="0"/> <!-- new since v1.20. -->
1582 <xsd:element name="StorageControllers" type="TStorageControllers" minOccurs="0"/>
1583 <xsd:element name="HardDiskAttachments" type="THardDiskAttachments" minOccurs="0"/> <!-- deprecated -->
1584 <xsd:element name="Groups" type="TGroups" minOccurs="0"/>
1585 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
1586 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
1587 </xsd:all>
1588 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
1589 <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
1590 <xsd:attribute name="directoryIncludesUUID" type="xsd:boolean" default="false"/>
1591 <xsd:attribute name="OSType" type="TNonEmptyString" use="required"/>
1592 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
1593 <xsd:attribute name="stateFile" type="TLocalFile"/>
1594 <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
1595 <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
1596 <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
1597 <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
1598 <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
1599 <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. -->
1600 <xsd:attribute name="VMProcessPriority" type="TVMProcPriority"/>
1601 <xsd:attribute name="executionEngine" type="TVMExecEngine"/> <!-- new since v1.20. -->
1602</xsd:complexType>
1603
1604<xsd:complexType name="TSnapshot">
1605 <xsd:all>
1606 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
1607 <xsd:element name="Hardware" type="THardware"/>
1608 <xsd:element name="StorageControllers" type="TStorageControllers" minOccurs="0"/>
1609 <xsd:element name="Snapshots" minOccurs="0">
1610 <xsd:complexType>
1611 <xsd:sequence>
1612 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
1613 </xsd:sequence>
1614 </xsd:complexType>
1615 </xsd:element>
1616 </xsd:all>
1617 <xsd:attribute name="name" type="xsd:token" use="required"/>
1618 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
1619 <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
1620 <xsd:attribute name="stateFile" type="TLocalFile"/>
1621</xsd:complexType>
1622
1623<xsd:complexType name="TVirtualBox">
1624 <xsd:choice>
1625 <xsd:element name="Global" type="TGlobal"/>
1626 <xsd:element name="Machine" type="TMachine">
1627 <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
1628 <xsd:key name="snapshot">
1629 <xsd:selector xpath=".//vb:Snapshot"/>
1630 <xsd:field xpath="@uuid"/>
1631 </xsd:key>
1632 <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
1633 <xsd:selector xpath="."/>
1634 <xsd:field xpath="@currentSnapshot"/>
1635 </xsd:keyref>
1636 </xsd:element>
1637 </xsd:choice>
1638 <xsd:attribute name="version" type="xsd:string" use="required"/>
1639</xsd:complexType>
1640
1641<!-- Root element for all VirtualBox config files -->
1642<xsd:element name="VirtualBox" type="TVirtualBox"/>
1643
1644</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