VirtualBox

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

Last change on this file since 101505 was 101200, checked in by vboxsync, 15 months ago

Main,FE/Qt: Add the QEMU RAM based framebuffer device as a possible graphics controller for ARM platforms. Allows getting graphics output on guests like OpenSuse 15.4 and Oracle Linux 9 which don't have a compatible VSVGA3 device driver, bugref:10386

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