VirtualBox

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

Last change on this file since 42838 was 42838, checked in by vboxsync, 12 years ago

Main/EncodeAndVideoRecording Module and API implementation: Integrating an independent encoding and video recording module that will serve all the frontends.
Introducing settings settings and API implementation for accessing and modifying video recording parameters:
->target video capture file
->video capture width
->video capture height
->enable video capturing

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 34.6 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-2012 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-2010 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="TUInt32Hex">
81 <xsd:restriction base="xsd:string">
82 <xsd:pattern value="0x[A-Fa-f0-9]{1,8}"/>
83 </xsd:restriction>
84</xsd:simpleType>
85
86<xsd:simpleType name="TUInt64Hex">
87 <xsd:restriction base="xsd:string">
88 <xsd:pattern value="0x[A-Fa-f0-9]{1,16}"/>
89 </xsd:restriction>
90</xsd:simpleType>
91
92<xsd:simpleType name="TLocalFile">
93 <xsd:restriction base="xsd:string">
94 <xsd:pattern value=".+"/>
95 </xsd:restriction>
96</xsd:simpleType>
97
98<xsd:simpleType name="TDiskType">
99 <xsd:restriction base="xsd:token">
100 <xsd:enumeration value="HD"/>
101 <xsd:enumeration value="DVD"/>
102 <xsd:enumeration value="FD"/>
103 </xsd:restriction>
104</xsd:simpleType>
105
106<xsd:simpleType name="TDeviceType">
107 <xsd:restriction base="xsd:token">
108 <xsd:enumeration value="None"/>
109 <xsd:enumeration value="Floppy"/>
110 <xsd:enumeration value="DVD"/>
111 <xsd:enumeration value="HardDisk"/>
112 <xsd:enumeration value="Network"/>
113 </xsd:restriction>
114</xsd:simpleType>
115
116<xsd:simpleType name="TUSBDeviceFilterAction">
117 <xsd:restriction base="xsd:token">
118 <xsd:enumeration value="Ignore"/>
119 <xsd:enumeration value="Hold"/>
120 </xsd:restriction>
121</xsd:simpleType>
122
123<xsd:simpleType name="TNonEmptyString">
124 <xsd:restriction base="xsd:string">
125 <xsd:pattern value=".+"/>
126 </xsd:restriction>
127</xsd:simpleType>
128
129<xsd:simpleType name="TPresentDateTimeUTC">
130 <xsd:restriction base="xsd:dateTime">
131 <xsd:minInclusive value="1900-01-01T00:00:00Z"/>
132 <xsd:maxInclusive value="199999999-12-31T23:59:59Z"/>
133 <xsd:pattern value=".+-.+-.+T.+:.+:[0-9]{2}Z"/>
134 </xsd:restriction>
135</xsd:simpleType>
136
137
138<xsd:simpleType name="TAuthType">
139 <xsd:restriction base="xsd:string">
140 <xsd:enumeration value="Null"/>
141 <xsd:enumeration value="Guest"/>
142 <xsd:enumeration value="External"/>
143 </xsd:restriction>
144</xsd:simpleType>
145
146<xsd:simpleType name="TNetworkAdapterType">
147 <xsd:restriction base="xsd:string">
148 <xsd:enumeration value="Am79C970A"/>
149 <xsd:enumeration value="Am79C973"/>
150 <xsd:enumeration value="82540EM"/>
151 <xsd:enumeration value="82543GC"/>
152 <xsd:enumeration value="82545EM"/>
153 <xsd:enumeration value="virtio"/>
154 </xsd:restriction>
155</xsd:simpleType>
156
157<xsd:simpleType name="TTriStateBoolType">
158 <xsd:restriction base="xsd:string">
159 <xsd:enumeration value="false"/>
160 <xsd:enumeration value="true"/>
161 <xsd:enumeration value="default"/>
162 </xsd:restriction>
163</xsd:simpleType>
164
165<xsd:simpleType name="TBIOSBootMenuModeType">
166 <xsd:restriction base="xsd:string">
167 <xsd:enumeration value="Disabled"/>
168 <xsd:enumeration value="MenuOnly"/>
169 <xsd:enumeration value="MessageAndMenu"/>
170 </xsd:restriction>
171</xsd:simpleType>
172
173<xsd:simpleType name="TClipboardMode">
174 <xsd:restriction base="xsd:string">
175 <xsd:enumeration value="Disabled"/>
176 <xsd:enumeration value="HostToGuest"/>
177 <xsd:enumeration value="GuestToHost"/>
178 <xsd:enumeration value="Bidirectional"/>
179 </xsd:restriction>
180</xsd:simpleType>
181
182<xsd:simpleType name="TDragAndDropMode">
183 <xsd:restriction base="xsd:string">
184 <xsd:enumeration value="Disabled"/>
185 <xsd:enumeration value="HostToGuest"/>
186 <xsd:enumeration value="GuestToHost"/>
187 <xsd:enumeration value="Bidirectional"/>
188 </xsd:restriction>
189</xsd:simpleType>
190
191<xsd:simpleType name="TPortMode">
192 <xsd:restriction base="xsd:string">
193 <xsd:enumeration value="Disconnected"/>
194 <xsd:enumeration value="RawFile"/>
195 <xsd:enumeration value="HostPipe"/>
196 <xsd:enumeration value="HostDevice"/>
197 </xsd:restriction>
198</xsd:simpleType>
199
200<!--
201// Complex types
202/////////////////////////////////////////////////////////////////////////
203-->
204<xsd:complexType name="TDHCPServer">
205 <xsd:attribute name="networkName" type="xsd:string" use="required"/>
206 <xsd:attribute name="lowerIP" type="xsd:string" use="required"/>
207 <xsd:attribute name="upperIP" type="xsd:string" use="required"/>
208 <xsd:attribute name="IPAddress" type="xsd:string" use="required"/>
209 <xsd:attribute name="networkMask" type="xsd:string" use="required"/>
210 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
211</xsd:complexType>
212
213<xsd:complexType name="THardDiskBase">
214 <xsd:sequence>
215 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
216 <xsd:element name="Property" minOccurs="0" maxOccurs="unbounded">
217 <xsd:complexType>
218 <xsd:attribute name="name" type="xsd:token" use="required"/>
219 <xsd:attribute name="value" type="xsd:string" use="required"/>
220 </xsd:complexType>
221 </xsd:element>
222 <xsd:element name="HardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
223 </xsd:sequence>
224 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
225 <xsd:attribute name="location" type="TLocalFile" use="required"/>
226 <xsd:attribute name="format" type="TNonEmptyString" use="required"/>
227</xsd:complexType>
228
229<xsd:complexType name="TDiffHardDisk">
230 <xsd:complexContent>
231 <xsd:extension base="THardDiskBase">
232 <xsd:attribute name="autoReset" type="xsd:boolean" default="false"/>
233 </xsd:extension>
234 </xsd:complexContent>
235</xsd:complexType>
236
237<xsd:complexType name="THardDisk">
238 <xsd:complexContent>
239 <xsd:extension base="THardDiskBase">
240 <xsd:attribute name="type" use="required">
241 <xsd:simpleType>
242 <xsd:restriction base="xsd:string">
243 <xsd:enumeration value="Normal"/>
244 <xsd:enumeration value="Immutable"/>
245 <xsd:enumeration value="Writethrough"/>
246 <xsd:enumeration value="Shareable"/>
247 <xsd:enumeration value="Readonly"/>
248 <xsd:enumeration value="MultiAttach"/>
249 </xsd:restriction>
250 </xsd:simpleType>
251 </xsd:attribute>
252 </xsd:extension>
253 </xsd:complexContent>
254</xsd:complexType>
255
256<xsd:complexType name="TImage2">
257 <xsd:sequence>
258 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
259 </xsd:sequence>
260 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
261 <xsd:attribute name="location" type="TLocalFile" use="required"/>
262</xsd:complexType>
263
264<xsd:complexType name="TImageRef">
265 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
266</xsd:complexType>
267
268<xsd:complexType name="THostDrive">
269 <xsd:attribute name="src" type="TLocalFile" use="required"/>
270</xsd:complexType>
271
272<xsd:complexType name="TUSBDeviceFilter">
273 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
274 <xsd:attribute name="active" type="xsd:boolean" use="required"/>
275 <xsd:attribute name="vendorId" type="xsd:token"/>
276 <xsd:attribute name="productId" type="xsd:token"/>
277 <xsd:attribute name="revision" type="xsd:token"/>
278 <xsd:attribute name="manufacturer" type="xsd:token"/>
279 <xsd:attribute name="product" type="xsd:token"/>
280 <xsd:attribute name="serialNumber" type="xsd:token"/>
281 <xsd:attribute name="port" type="xsd:token"/>
282 <xsd:attribute name="remote" type="xsd:token"/>
283 <xsd:attribute name="maskedInterfaces" type="xsd:unsignedInt" default="0"/>
284</xsd:complexType>
285
286<xsd:complexType name="THostUSBDeviceFilter">
287 <xsd:complexContent>
288 <xsd:extension base="TUSBDeviceFilter">
289 <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
290 </xsd:extension>
291 </xsd:complexContent>
292</xsd:complexType>
293
294<xsd:complexType name="TSystemProperties">
295 <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
296 <xsd:attribute name="defaultHardDiskFolder" type="TLocalFile"/>
297 <xsd:attribute name="defaultHardDiskFormat" type="TNonEmptyString"/>
298 <xsd:attribute name="VRDEAuthLibrary" type="TLocalFile"/>
299 <xsd:attribute name="webServiceAuthLibrary" type="TLocalFile"/>
300 <xsd:attribute name="defaultVRDELibrary" type="TLocalFile"/>
301 <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
302 <xsd:attribute name="LogHistoryCount" type="xsd:unsignedInt" default="3"/>
303</xsd:complexType>
304
305<xsd:complexType name="TExtraData">
306 <xsd:sequence>
307 <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
308 <xsd:complexType>
309 <xsd:attribute name="name" type="xsd:token" use="required"/>
310 <xsd:attribute name="value" type="xsd:string" use="required"/>
311 </xsd:complexType>
312 </xsd:element>
313 </xsd:sequence>
314</xsd:complexType>
315
316<xsd:complexType name="TGlobal">
317 <xsd:all>
318 <xsd:element name="MachineRegistry">
319 <xsd:complexType>
320 <xsd:sequence>
321 <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
322 <xsd:complexType>
323 <xsd:attribute name="src" type="TLocalFile" use="required"/>
324 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
325 </xsd:complexType>
326 </xsd:element>
327 </xsd:sequence>
328 </xsd:complexType>
329 </xsd:element>
330 <xsd:element name="MediaRegistry">
331 <xsd:complexType>
332 <xsd:all>
333 <xsd:element name="HardDisks" minOccurs="0">
334 <xsd:complexType>
335 <xsd:sequence>
336 <xsd:element name="HardDisk" type="THardDisk" minOccurs="0" maxOccurs="unbounded"/>
337 </xsd:sequence>
338 </xsd:complexType>
339 </xsd:element>
340 <xsd:element name="DVDImages" minOccurs="0">
341 <xsd:complexType>
342 <xsd:sequence>
343 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
344 </xsd:sequence>
345 </xsd:complexType>
346 </xsd:element>
347 <xsd:element name="FloppyImages" minOccurs="0">
348 <xsd:complexType>
349 <xsd:sequence>
350 <xsd:element name="Image" type="TImage2" minOccurs="0" maxOccurs="unbounded"/>
351 </xsd:sequence>
352 </xsd:complexType>
353 </xsd:element>
354 </xsd:all>
355 </xsd:complexType>
356 </xsd:element>
357 <xsd:element name="NetserviceRegistry" minOccurs="0" maxOccurs="1">
358 <xsd:complexType>
359 <xsd:all>
360 <xsd:element name="DHCPServers" minOccurs="0">
361 <xsd:complexType>
362 <xsd:sequence>
363 <xsd:element name="DHCPServer" type="TDHCPServer" minOccurs="0" maxOccurs="unbounded"/>
364 </xsd:sequence>
365 </xsd:complexType>
366 </xsd:element>
367 </xsd:all>
368 </xsd:complexType>
369 </xsd:element>
370 <xsd:element name="USBDeviceFilters">
371 <xsd:complexType>
372 <xsd:sequence>
373 <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
374 minOccurs="0" maxOccurs="unbounded"/>
375 </xsd:sequence>
376 </xsd:complexType>
377 </xsd:element>
378 <xsd:element name="SystemProperties" type="TSystemProperties"/>
379 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
380 </xsd:all>
381</xsd:complexType>
382
383<xsd:complexType name="THWVirtExType">
384 <xsd:attribute name="enabled" type="TTriStateBoolType"/>
385 <xsd:attribute name="exclusive" type="xsd:boolean"/>
386</xsd:complexType>
387
388<xsd:complexType name="THWVirtExNestedPagingType">
389 <xsd:attribute name="enabled" type="xsd:boolean"/>
390</xsd:complexType>
391
392<xsd:complexType name="THWVirtExVPIDType">
393 <xsd:attribute name="enabled" type="xsd:boolean"/>
394</xsd:complexType>
395
396<xsd:complexType name="TSyntheticCpuType">
397 <xsd:attribute name="enabled" type="xsd:boolean"/>
398</xsd:complexType>
399
400<xsd:complexType name="TPAEType">
401 <xsd:attribute name="enabled" type="xsd:boolean"/>
402</xsd:complexType>
403
404<xsd:simpleType name="TCPUCount">
405 <xsd:restriction base="xsd:unsignedInt">
406 <xsd:minInclusive value="1"/>
407 <xsd:maxInclusive value="32"/>
408 </xsd:restriction>
409</xsd:simpleType>
410
411<xsd:complexType name="TCpuIdLeaf">
412 <xsd:attribute name="id" type="TUInt32Hex" use="required"/>
413 <xsd:attribute name="eax" type="TUInt32Hex" use="required"/>
414 <xsd:attribute name="ebx" type="TUInt32Hex" use="required"/>
415 <xsd:attribute name="ecx" type="TUInt32Hex" use="required"/>
416 <xsd:attribute name="edx" type="TUInt32Hex" use="required"/>
417</xsd:complexType>
418
419<xsd:complexType name="TCpuIdTree">
420 <xsd:sequence>
421 <xsd:element name="CpuIdLeaf" type="TCpuIdLeaf"
422 minOccurs="0" maxOccurs="unbounded"/>
423 </xsd:sequence>
424</xsd:complexType>
425
426<xsd:complexType name="TCPU">
427 <xsd:sequence>
428 <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
429 <xsd:element name="HardwareVirtExNestedPaging" type="THWVirtExNestedPagingType" minOccurs="0"/>
430 <xsd:element name="HardwareVirtExVPID" type="THWVirtExVPIDType" minOccurs="0"/>
431 <xsd:element name="PAE" type="TPAEType" minOccurs="0"/>
432 <xsd:element name="SyntheticCpu" type="TSyntheticCpuType" minOccurs="0"/>
433 <xsd:element name="CpuIdTree" type="TCpuIdTree" minOccurs="0">
434 <xsd:unique name="TCPU-CpuIdTree-CpuIdLeaf">
435 <xsd:selector xpath="vb:CpuIdLeaf"/>
436 <xsd:field xpath="@id"/>
437 </xsd:unique>
438 </xsd:element>
439 </xsd:sequence>
440 <xsd:attribute name="count" type="TCPUCount" default="1"/>
441</xsd:complexType>
442
443<xsd:complexType name="TBoot">
444 <xsd:sequence>
445 <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
446 <xsd:complexType>
447 <xsd:attribute name="position" use="required">
448 <xsd:simpleType>
449 <xsd:restriction base="xsd:unsignedInt">
450 <xsd:minInclusive value="1"/>
451 <xsd:maxInclusive value="4"/>
452 </xsd:restriction>
453 </xsd:simpleType>
454 </xsd:attribute>
455 <xsd:attribute name="device" type="TDeviceType" use="required"/>
456 </xsd:complexType>
457 </xsd:element>
458 </xsd:sequence>
459</xsd:complexType>
460
461<xsd:complexType name="TDisplay">
462 <xsd:element name="VideoRecording">
463 <xsd:complexType>
464 <xsd:attribute name="enabled" type="xsd:boolean"/>
465 <xsd:attribute name="file" type="xsd:string"/>
466 <xsd:attribute name="horzRes" use="required">
467 <xsd:simpleType>
468 <xsd:restriction base="xsd:unsignedInt">
469 <xsd:minInclusive value="4"/>
470 <xsd:maxInclusive value="2097152"/>
471 </xsd:restriction>
472 </xsd:simpleType>
473 </xsd:attribute>
474 <xsd:attribute name="vertRes" type="xsd:unsignedInt"/>
475 </xsd:complexType>
476 </xsd:element>
477 <xsd:attribute name="VRAMSize" use="required">
478 <xsd:simpleType>
479 <xsd:restriction base="xsd:unsignedInt">
480 <xsd:minInclusive value="1"/>
481 <xsd:maxInclusive value="256"/>
482 </xsd:restriction>
483 </xsd:simpleType>
484 </xsd:attribute>
485 <xsd:attribute name="monitorCount" default="1">
486 <xsd:simpleType>
487 <xsd:restriction base="xsd:unsignedInt">
488 <xsd:maxInclusive value="8"/>
489 </xsd:restriction>
490 </xsd:simpleType>
491 </xsd:attribute>
492 <xsd:attribute name="accelerate3D" type="xsd:boolean" default="false"/>
493 <xsd:attribute name="accelerate2DVideo" type="xsd:boolean" default="false"/>
494</xsd:complexType>
495
496<xsd:complexType name="TRemoteDisplay">
497 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
498 <xsd:attribute name="authType" type="TAuthType" default="Null"/>
499 <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
500 <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
501 <xsd:attribute name="reuseSingleConnection" type="xsd:boolean" default="false"/>
502</xsd:complexType>
503
504<xsd:complexType name="TBIOS">
505 <xsd:all>
506 <xsd:element name="ACPI">
507 <xsd:complexType>
508 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
509 </xsd:complexType>
510 </xsd:element>
511 <xsd:element name="IOAPIC" minOccurs="0">
512 <xsd:complexType>
513 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
514 </xsd:complexType>
515 </xsd:element>
516 <xsd:element name="Logo" minOccurs="0">
517 <xsd:complexType>
518 <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
519 <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
520 <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
521 <xsd:attribute name="imagePath" type="TLocalFile"/>
522 </xsd:complexType>
523 </xsd:element>
524 <xsd:element name="BootMenu" minOccurs="0">
525 <xsd:complexType>
526 <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="MessageAndMenu"/>
527 </xsd:complexType>
528 </xsd:element>
529 <xsd:element name="TimeOffset" minOccurs="0">
530 <xsd:complexType>
531 <xsd:attribute name="value" type="xsd:integer" default="0"/>
532 </xsd:complexType>
533 </xsd:element>
534 <xsd:element name="PXEDebug" minOccurs="0">
535 <xsd:complexType>
536 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
537 </xsd:complexType>
538 </xsd:element>
539 </xsd:all>
540</xsd:complexType>
541
542<xsd:complexType name="TStorageControllerDevice">
543 <xsd:choice minOccurs="0">
544 <xsd:element name="Image" type="TImageRef"/>
545 <xsd:element name="HostDrive" type="THostDrive"/>
546 </xsd:choice>
547 <xsd:attribute name="type" use="required">
548 <xsd:simpleType>
549 <xsd:restriction base="xsd:token">
550 <xsd:enumeration value="HardDisk"/>
551 <xsd:enumeration value="CD/DVD"/>
552 </xsd:restriction>
553 </xsd:simpleType>
554 </xsd:attribute>
555 <xsd:attribute name="port" type="xsd:unsignedInt" use="required"/>
556 <xsd:attribute name="device" type="xsd:unsignedInt" default="0"/>
557</xsd:complexType>
558
559<xsd:complexType name="TStorageController">
560 <xsd:sequence>
561 <xsd:element name="AttachedDevice" type="TStorageControllerDevice"
562 minOccurs="0" maxOccurs="unbounded"/>
563 </xsd:sequence>
564 <xsd:attribute name="name" type="xsd:string" use="required"/>
565 <xsd:attribute name="type" use="required">
566 <xsd:simpleType>
567 <xsd:restriction base="xsd:token">
568 <xsd:enumeration value="AHCI"/>
569 <xsd:enumeration value="LsiLogic"/>
570 <xsd:enumeration value="BusLogic"/>
571 <xsd:enumeration value="PIIX3"/>
572 <xsd:enumeration value="PIIX4"/>
573 <xsd:enumeration value="ICH6"/>
574 <xsd:enumeration value="LsiLogicSas"/>
575 </xsd:restriction>
576 </xsd:simpleType>
577 </xsd:attribute>
578 <xsd:attribute name="PortCount" type="xsd:unsignedInt" use="required"/>
579 <xsd:attribute name="bootable" type="xsd:boolean" use="optional"/>
580 <xsd:attribute name="PCIBus" type="xsd:unsignedInt" use="optional"/>
581 <xsd:attribute name="PCIDevice" type="xsd:unsignedInt" use="optional"/>
582 <xsd:attribute name="PCIFunction" type="xsd:unsignedInt" use="optional"/>
583 <xsd:attribute name="IDE0MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
584 <xsd:attribute name="IDE0SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
585 <xsd:attribute name="IDE1MasterEmulationPort" type="xsd:unsignedInt" use="optional"/>
586 <xsd:attribute name="IDE1SlaveEmulationPort" type="xsd:unsignedInt" use="optional"/>
587</xsd:complexType>
588
589<xsd:complexType name="TStorageControllers">
590 <xsd:sequence>
591 <xsd:element name="StorageController" type="TStorageController"
592 minOccurs="0" maxOccurs="unbounded"/>
593 </xsd:sequence>
594</xsd:complexType>
595
596<xsd:complexType name="TDVDDrive">
597 <xsd:choice minOccurs="0">
598 <xsd:element name="Image" type="TImageRef"/>
599 <xsd:element name="HostDrive" type="THostDrive"/>
600 </xsd:choice>
601 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
602</xsd:complexType>
603
604<xsd:complexType name="TFloppyDrive">
605 <xsd:choice minOccurs="0">
606 <xsd:element name="Image" type="TImageRef"/>
607 <xsd:element name="HostDrive" type="THostDrive"/>
608 </xsd:choice>
609 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
610</xsd:complexType>
611
612<xsd:complexType name="TUSBController">
613 <xsd:sequence>
614 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
615 minOccurs="0" maxOccurs="unbounded"/>
616 </xsd:sequence>
617 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
618 <xsd:attribute name="enabledEhci" type="xsd:boolean" default="false"/>
619</xsd:complexType>
620
621<xsd:complexType name="TAudioAdapterBase">
622 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
623 <xsd:attribute name="controller" default="AC97">
624 <xsd:simpleType>
625 <xsd:restriction base="xsd:token">
626 <xsd:enumeration value="AC97"/>
627 <xsd:enumeration value="SB16"/>
628 </xsd:restriction>
629 </xsd:simpleType>
630 </xsd:attribute>
631</xsd:complexType>
632
633<xsd:complexType name="TNetworkAdapter">
634 <xsd:choice minOccurs="0">
635 <xsd:element name="NAT">
636 <xsd:complexType>
637 <xsd:attribute name="network" type="xsd:string"/>
638 </xsd:complexType>
639 <xsd:complexType>
640 <xsd:attribute name="hostip" type="xsd:string"/>
641 </xsd:complexType>
642 <xsd:complexType>
643 <xsd:attribute name="mtu" type="xsd:unsignedInt"/>
644 </xsd:complexType>
645 <xsd:complexType>
646 <xsd:attribute name="sockrcv" type="xsd:unsignedInt"/>
647 </xsd:complexType>
648 <xsd:complexType>
649 <xsd:attribute name="socksnd" type="xsd:unsignedInt"/>
650 </xsd:complexType>
651 <xsd:complexType>
652 <xsd:attribute name="tcprcv" type="xsd:unsignedInt"/>
653 </xsd:complexType>
654 <xsd:complexType>
655 <xsd:attribute name="tcpsnd" type="xsd:unsignedInt"/>
656 </xsd:complexType>
657 <xsd:element name="DNS">
658 <xsd:complexType>
659 <xsd:attribute name="pass-domain" type="xsd:boolean"/>
660 </xsd:complexType>
661 <xsd:complexType>
662 <xsd:attribute name="use-proxy" type="xsd:boolean"/>
663 </xsd:complexType>
664 <xsd:complexType>
665 <xsd:attribute name="use-host-resolver" type="xsd:boolean"/>
666 </xsd:complexType>
667 </xsd:element>
668 <xsd:element name="TFTP">
669 <xsd:complexType>
670 <xsd:attribute name="prefix" type="xsd:string"/>
671 </xsd:complexType>
672 <xsd:complexType>
673 <xsd:attribute name="boot-file" type="xsd:string"/>
674 </xsd:complexType>
675 <xsd:complexType>
676 <xsd:attribute name="next-server" type="xsd:string"/>
677 </xsd:complexType>
678 </xsd:element>
679 <xsd:element name="Forwarding">
680 <xsd:complexType>
681 <xsd:attribute name="name" type="xsd:string"/>
682 </xsd:complexType>
683 <xsd:complexType>
684 <xsd:attribute name="proto" type="xsd:unsignedInt"/>
685 </xsd:complexType>
686 <xsd:complexType>
687 <xsd:attribute name="hostip" type="xsd:string"/>
688 </xsd:complexType>
689 <xsd:complexType>
690 <xsd:attribute name="hostport" type="xsd:unsignedInt"/>
691 </xsd:complexType>
692 <xsd:complexType>
693 <xsd:attribute name="guestip" type="xsd:string"/>
694 </xsd:complexType>
695 <xsd:complexType>
696 <xsd:attribute name="guestport" type="xsd:unsignedInt"/>
697 </xsd:complexType>
698 </xsd:element>
699 </xsd:element>
700 <xsd:element name="HostInterface">
701 <xsd:complexType>
702 <xsd:attribute name="name" type="xsd:string" use="required"/>
703 </xsd:complexType>
704 </xsd:element>
705 <xsd:element name="BridgedInterface">
706 <xsd:complexType>
707 <xsd:attribute name="name" type="xsd:string" use="required"/>
708 </xsd:complexType>
709 </xsd:element>
710 <xsd:element name="InternalNetwork">
711 <xsd:complexType>
712 <xsd:attribute name="name" type="xsd:string" use="required"/>
713 </xsd:complexType>
714 </xsd:element>
715 <xsd:element name="HostOnlyInterface">
716 <xsd:complexType>
717 <xsd:attribute name="name" type="xsd:string" use="required"/>
718 </xsd:complexType>
719 </xsd:element>
720 <xsd:element name="Generic">
721 <xsd:complexType>
722 <xsd:attribute name="driver" type="xsd:string" use="required"/>
723 </xsd:complexType>
724 <xsd:element name="Property" minOccurs="0" maxOccurs="unbounded">
725 <xsd:complexType>
726 <xsd:attribute name="name" type="xsd:token" use="required"/>
727 <xsd:attribute name="value" type="xsd:string" use="required"/>
728 </xsd:complexType>
729 </xsd:element>
730 </xsd:element>
731 <!-- The DisabledModes tag is not part of this XSD file right now. -->
732 </xsd:choice>
733 <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
734 <xsd:attribute name="slot" type="xsd:unsignedInt" use="required"/>
735 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
736 <xsd:attribute name="MACAddress">
737 <xsd:simpleType>
738 <xsd:restriction base="xsd:hexBinary">
739 <xsd:pattern value="[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}"/>
740 </xsd:restriction>
741 </xsd:simpleType>
742 </xsd:attribute>
743 <xsd:attribute name="cable" type="xsd:boolean" use="required"/>
744 <xsd:attribute name="speed" type="xsd:unsignedInt" default="1000000"/>
745 <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
746 <xsd:attribute name="tracefile" type="xsd:string"/>
747 <xsd:attribute name="bandwidthGroup" type="xsd:string"/>
748</xsd:complexType>
749
750<xsd:complexType name="TNetwork">
751 <xsd:sequence>
752 <xsd:element name="Adapter" type="TNetworkAdapter"
753 minOccurs="0" maxOccurs="unbounded"/>
754 </xsd:sequence>
755</xsd:complexType>
756
757<xsd:complexType name="TUARTPort">
758 <xsd:attribute name="slot" use="required">
759 <xsd:simpleType>
760 <xsd:restriction base="xsd:unsignedInt">
761 <xsd:minInclusive value="0"/>
762 <xsd:maxExclusive value="2"/>
763 </xsd:restriction>
764 </xsd:simpleType>
765 </xsd:attribute>
766 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
767 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
768 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
769 <xsd:attribute name="hostMode" type="TPortMode" use="required"/>
770 <xsd:attribute name="path" type="TLocalFile"/>
771 <xsd:attribute name="server" type="xsd:boolean" default="false"/>
772</xsd:complexType>
773
774<xsd:complexType name="TUART">
775 <xsd:sequence>
776 <xsd:element name="Port" type="TUARTPort"
777 minOccurs="0" maxOccurs="unbounded"/>
778 </xsd:sequence>
779</xsd:complexType>
780
781<xsd:complexType name="TLPTPort">
782 <xsd:attribute name="slot" use="required">
783 <xsd:simpleType>
784 <xsd:restriction base="xsd:unsignedInt">
785 <xsd:minInclusive value="0"/>
786 <xsd:maxExclusive value="2"/>
787 </xsd:restriction>
788 </xsd:simpleType>
789 </xsd:attribute>
790 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
791 <xsd:attribute name="IRQ" type="TUInt8" use="required"/>
792 <xsd:attribute name="IOBase" type="TUInt16" use="required"/>
793 <xsd:attribute name="path" type="TLocalFile"/>
794</xsd:complexType>
795
796<xsd:complexType name="TLPT">
797 <xsd:sequence>
798 <xsd:element name="Port" type="TLPTPort"
799 minOccurs="0" maxOccurs="unbounded"/>
800 </xsd:sequence>
801</xsd:complexType>
802
803<xsd:complexType name="TSharedFolder">
804 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
805 <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
806 <xsd:attribute name="writable" type="xsd:boolean" default="true"/>
807</xsd:complexType>
808
809<xsd:complexType name="TSharedFolders">
810 <xsd:sequence>
811 <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
812 </xsd:sequence>
813</xsd:complexType>
814
815<xsd:complexType name="TClipboard">
816 <xsd:attribute name="mode" type="TClipboardMode" use="required"/>
817</xsd:complexType>
818
819<xsd:complexType name="TDragAndDrop">
820 <xsd:attribute name="mode" type="TDragAndDropMode" use="required"/>
821</xsd:complexType>
822
823<xsd:complexType name="TGuest">
824 <xsd:attribute name="memoryBalloonSize" type="xsd:unsignedInt" default="0"/>
825 <xsd:attribute name="statisticsUpdateInterval" type="xsd:unsignedInt" default="0"/>
826</xsd:complexType>
827
828<xsd:complexType name="TGuestProperty">
829 <xsd:attribute name="name" type="xsd:string" use="required"/>
830 <xsd:attribute name="value" type="xsd:string" use="required"/>
831 <xsd:attribute name="timestamp" type="xsd:unsignedLong" default="0"/>
832 <xsd:attribute name="flags" type="xsd:string" default=""/>
833</xsd:complexType>
834
835<xsd:complexType name="TGuestProperties">
836 <xsd:sequence>
837 <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
838 </xsd:sequence>
839 <xsd:attribute name="notificationPatterns" type="xsd:string" default=""/>
840</xsd:complexType>
841
842<xsd:complexType name="TMemory">
843 <xsd:attribute name="RAMSize" use="required">
844 <xsd:simpleType>
845 <xsd:restriction base="xsd:unsignedInt">
846 <xsd:minInclusive value="4"/>
847 <xsd:maxInclusive value="2097152"/>
848 </xsd:restriction>
849 </xsd:simpleType>
850 </xsd:attribute>
851</xsd:complexType>
852
853<xsd:complexType name="THardware">
854 <xsd:all>
855 <xsd:element name="CPU" type="TCPU" minOccurs="0"/>
856 <xsd:element name="Memory" type="TMemory"/>
857 <xsd:element name="Boot" type="TBoot">
858 <xsd:unique name="THardware-Boot-Order">
859 <xsd:selector xpath="vb:Order"/>
860 <xsd:field xpath="@position"/>
861 </xsd:unique>
862 </xsd:element>
863 <xsd:element name="Display" type="TDisplay"/>
864 <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
865 <xsd:element name="BIOS" type="TBIOS"/>
866 <xsd:element name="DVDDrive" type="TDVDDrive"/>
867 <xsd:element name="FloppyDrive" type="TFloppyDrive"/>
868 <xsd:element name="USBController" type="TUSBController"/>
869 <xsd:element name="Network" type="TNetwork">
870 <xsd:unique name="THardware-Network-Adapter">
871 <xsd:selector xpath="vb:Adapter"/>
872 <xsd:field xpath="@slot"/>
873 </xsd:unique>
874 </xsd:element>
875 <xsd:element name="UART" type="TUART">
876 <xsd:unique name="THardware-UART-Port">
877 <xsd:selector xpath="vb:Port"/>
878 <xsd:field xpath="@slot"/>
879 </xsd:unique>
880 </xsd:element>
881 <xsd:element name="LPT" type="TLPT">
882 <xsd:unique name="THardware-LPT-Port">
883 <xsd:selector xpath="vb:Port"/>
884 <xsd:field xpath="@slot"/>
885 </xsd:unique>
886 </xsd:element>
887 <xsd:element name="AudioAdapter" type="TAudioAdapter"/>
888 <xsd:element name="SharedFolders" type="TSharedFolders">
889 <xsd:unique name="THardware-SharedFolders-SharedFolder">
890 <xsd:selector xpath="vb:SharedFolder"/>
891 <xsd:field xpath="@name"/>
892 </xsd:unique>
893 </xsd:element>
894 <xsd:element name="Clipboard" type="TClipboard"/>
895 <xsd:element name="DragAndDrop" type="TDragAndDrop"/>
896 <xsd:element name="Guest" type="TGuest"/>
897 <xsd:element name="GuestProperties" type="TGuestProperties" minOccurs="0">
898 <xsd:unique name="THardware-GuestProperties-GuestProperty">
899 <xsd:selector xpath="vb:GuestProperty"/>
900 <xsd:field xpath="@name"/>
901 </xsd:unique>
902 </xsd:element>
903 </xsd:all>
904 <xsd:attribute name="version" type="xsd:string" default="2"/>
905</xsd:complexType>
906
907<xsd:complexType name="TMachine">
908 <xsd:all>
909 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
910 <xsd:element name="Hardware" type="THardware"/>
911 <xsd:element name="StorageControllers" type="TStorageControllers"/>
912 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
913 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
914 </xsd:all>
915 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
916 <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
917 <xsd:attribute name="OSType" type="TNonEmptyString" use="required"/>
918 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
919 <xsd:attribute name="stateFile" type="TLocalFile"/>
920 <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
921 <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
922 <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
923 <xsd:attribute name="aborted" type="xsd:boolean" default="false"/>
924 <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
925</xsd:complexType>
926
927<xsd:complexType name="TSnapshot">
928 <xsd:all>
929 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
930 <xsd:element name="Hardware" type="THardware"/>
931 <xsd:element name="StorageControllers" type="TStorageControllers"/>
932 <xsd:element name="Snapshots" minOccurs="0">
933 <xsd:complexType>
934 <xsd:sequence>
935 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
936 </xsd:sequence>
937 </xsd:complexType>
938 </xsd:element>
939 </xsd:all>
940 <xsd:attribute name="name" type="xsd:token" use="required"/>
941 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
942 <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
943 <xsd:attribute name="stateFile" type="TLocalFile"/>
944</xsd:complexType>
945
946<xsd:complexType name="TVirtualBox" abstract="true">
947 <xsd:choice>
948 <xsd:element name="Global" type="TGlobal"/>
949 <xsd:element name="Machine" type="TMachine">
950 <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
951 <xsd:key name="snapshot">
952 <xsd:selector xpath=".//vb:Snapshot"/>
953 <xsd:field xpath="@uuid"/>
954 </xsd:key>
955 <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
956 <xsd:selector xpath="."/>
957 <xsd:field xpath="@currentSnapshot"/>
958 </xsd:keyref>
959 </xsd:element>
960 </xsd:choice>
961</xsd:complexType>
962
963</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