VirtualBox

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

Last change on this file since 78376 was 77910, checked in by vboxsync, 6 years ago

Main: bugref:7929: Added ability to change the priority of the VM process

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