VirtualBox

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

Last change on this file since 86692 was 85993, checked in by vboxsync, 4 years ago

Main/VirtualBox-settings.xsd: 32 -> 64 VCpus (to match VMM_MAX_CPU_COUNT).

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