1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
5
This file is autogenerated from drvvbox.html.in
6
Do not edit this file. Changes will be lost.
9
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
10
<link rel="stylesheet" type="text/css" href="main.css" />
11
<link rel="SHORTCUT ICON" href="32favicon.png" />
12
<title>libvirt: VirtualBox hypervisor driver</title>
13
<meta name="description" content="libvirt, virtualization, virtualization API" />
17
<div id="headerLogo"></div>
18
<div id="headerSearch">
19
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
20
<input id="query" name="query" type="text" size="12" value="" />
21
<input id="submit" name="submit" type="submit" value="Search" />
29
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
33
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
37
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
41
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
44
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
48
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
52
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
56
<a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a>
59
<a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a>
63
<a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a>
67
<a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a>
71
<a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a>
75
<a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a>
79
<a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a>
83
<a title="Driver for the User Mode Linux technology" class="inactive" href="drvuml.html">UML</a>
87
<a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a>
91
<span class="active">VirtualBox</span>
97
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
101
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
107
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
111
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
115
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
119
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
123
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
127
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
132
<h1>VirtualBox hypervisor driver</h1>
134
The libvirt VirtualBox driver can manage any VirtualBox version
135
from version 2.2 onwards.
137
<h2>Connections to VirtualBox driver</h2>
139
The libvirt VirtualBox driver provides per-user drivers (the "session" instance).
140
The uri of the driver protocol is "vbox". Some example connection URIs for the driver are:
143
vbox:///session (local access to per-user instance)
144
vbox+unix:///session (local access to per-user instance)
145
vbox+tcp://user@example.com/session (remote access, SASl/Kerberos)
146
vbox+ssh://user@example.com/session (remote access, SSH tunnelled)
149
<a name="xmlconfig" id="xmlconfig">Example domain XML config</a>
152
<domain type='vbox'>
153
<name>vbox</name>
154
<uuid>4dab22b31d52d8f32516782e98ab3fa0</uuid>
157
<type>hvm</type>
158
<boot dev='cdrom'/>
159
<boot dev='hd'/>
160
<boot dev='fd'/>
161
<boot dev='network'/>
164
<memory>654321</memory>
165
<vcpu>1</vcpu>
174
<disk type='file' device='cdrom'>
175
<source file='/home/user/Downloads/slax-6.0.9.iso'/>
176
<target dev='hdc'/>
180
<disk type='file' device='disk'>
181
<source file='/home/user/tmp/vbox.vdi'/>
182
<target dev='hdd'/>
185
<disk type='file' device='floppy'>
186
<source file='/home/user/tmp/WIN98C.IMG'/>
187
<target dev='fda'/>
191
<interface type='bridge'>
192
<source bridge='eth0'/>
193
<mac address='00:16:3e:5d:c7:9e'/>
194
<model type='am79c973'/>
198
<interface type='user'>
199
<mac address='56:16:3e:5d:c7:9e'/>
200
<model type='82540eM'/>
203
<sound model='sb16'/>
205
<parallel type='dev'>
206
<source path='/dev/pts/1'/>
207
<target port='0'/>
210
<parallel type='dev'>
211
<source path='/dev/pts/2'/>
212
<target port='1'/>
215
<serial type="dev">
216
<source path="/dev/ttyS0"/>
217
<target port="0"/>
220
<serial type="pipe">
221
<source path="/tmp/serial.txt"/>
222
<target port="1"/>
225
<hostdev mode='subsystem' type='usb'>
227
<vendor id='0x1234'/>
228
<product id='0xbeef'/>
232
<hostdev mode='subsystem' type='usb'>
234
<vendor id='0x4321'/>
235
<product id='0xfeeb'/>
247
Sponsored by:<br /><a href="http://et.redhat.com/"><img src="et.png" alt="Project sponsored by Red Hat Emerging Technology" /></a></p>