VirtualBox

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

Last change on this file since 58059 was 55259, checked in by vboxsync, 10 years ago

Main/Serial+Devices/Serial: new TCP backend for serial port. Contributed by Alexey Eromenko. Thanks!
Frontends/VirtualBox+VBoxManage: adapted accordingly

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