]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Update vbox driver documentation.
authorDawid Zamirski <dzamirski@datto.com>
Tue, 7 Nov 2017 21:36:47 +0000 (16:36 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 7 Nov 2017 22:50:15 +0000 (17:50 -0500)
* libvirt no longer supports vbox <= 3.x
* update XML definition sample to show how to attach disks to VBOX's SAS
  controller and how to change IDE controller model.
* update XML to show how to create RDP display with autoport.

docs/drvvbox.html.in

index 63f166b24a5e1933ff693b8f06c42be2e6452f7f..c97dc0f049c68da563d9b84d7316de9f4ec84273 100644 (file)
@@ -5,7 +5,8 @@
         <h1>VirtualBox hypervisor driver</h1>
         <p>
         The libvirt VirtualBox driver can manage any VirtualBox version
-        from version 2.2 onwards.
+        from version 4.0 onwards
+        (<span class="since">since libvirt 3.0.0</span>).
     </p>
 
     <h2><a id="project">Project Links</a></h2>
@@ -68,6 +69,14 @@ vbox+ssh://user@example.com/session  (remote access, SSH tunnelled)
   &lt;/features&gt;
 
   &lt;devices&gt;
+    &lt;!--Set IDE controller model to PIIX4 (default PIIX3)--&gt;
+    &lt;controller type='ide' model='piix4'/&gt;
+
+    &lt;controller type='scsi' index='0'/&gt;
+
+    &lt;!--VirtualBox SAS Controller--&gt;
+    &lt;controller type='scsi' index='1' model='lsisas1068'/&gt;
+
     &lt;disk type='file' device='cdrom'&gt;
       &lt;source file='/home/user/Downloads/slax-6.0.9.iso'/&gt;
       &lt;target dev='hdc'/&gt;
@@ -79,6 +88,19 @@ vbox+ssh://user@example.com/session  (remote access, SSH tunnelled)
       &lt;target dev='hdd'/&gt;
     &lt;/disk&gt;
 
+    &lt;!--Attach to the SCSI controller (index=0, default)--&gt;
+    &lt;disk type='file' device='disk'&gt;
+      &lt;source file='/home/user/tmp/vbox2.vdi'/&gt;
+      &lt;target dev='sda' bus='scsi'/&gt;
+    &lt;/disk&gt;
+
+    &lt;!--Attach to the SAS controller (index=1)--&gt;
+    &lt;disk type='file' device='disk'&gt;
+      &lt;source file='/home/user/tmp/vbox3.vdi'/&gt;
+      &lt;target dev='sda' bus='scsi'/&gt;
+      &lt;address type='drive' controller='1' bus='0' target='0' unit='0'/&gt;
+    &lt;/disk&gt;
+
     &lt;disk type='file' device='floppy'&gt;
       &lt;source file='/home/user/tmp/WIN98C.IMG'/&gt;
       &lt;target dev='fda'/&gt;
@@ -102,6 +124,11 @@ vbox+ssh://user@example.com/session  (remote access, SSH tunnelled)
       &lt;model type='82540eM'/&gt;
     &lt;/interface&gt;
 
+    &lt;graphics type='desktop'/&gt;
+
+    &lt;!--Activate the VRDE server with a port in 3389-3689 range--&gt;
+    &lt;graphics type='rdp' autoport='yes' multiUser='yes'/&gt;
+
     &lt;sound model='sb16'/&gt;
 
     &lt;parallel type='dev'&gt;