diff --git a/repos/ports/run/vbox4_ubuntu_14_04_32.run b/repos/ports/run/vbox4_ubuntu_14_04_32.run
new file mode 100644
index 000000000..4d9835dfb
--- /dev/null
+++ b/repos/ports/run/vbox4_ubuntu_14_04_32.run
@@ -0,0 +1,22 @@
+#
+# Ubuntu 14.04 32bit in VBox 4
+#
+
+set flavor "ubuntu_14_04_32"
+
+set use_vbox4 1
+set use_vbox5 0
+
+set use_rumpfs 1
+# Write overlay only into ram
+set use_ram_fs 1
+# However read initial overlay from disk
+set use_overlay_from_disk 1
+
+set use_usb 1
+set use_ps2 [have_spec ps2]
+
+set use_vms 1
+set use_cpu_load 1
+
+source ${genode_dir}/repos/ports/run/vbox_win.inc
diff --git a/repos/ports/run/vbox4_ubuntu_64.run b/repos/ports/run/vbox4_ubuntu_14_04_64.run
similarity index 83%
rename from repos/ports/run/vbox4_ubuntu_64.run
rename to repos/ports/run/vbox4_ubuntu_14_04_64.run
index 53665cc1a..7bd5edf7a 100644
--- a/repos/ports/run/vbox4_ubuntu_64.run
+++ b/repos/ports/run/vbox4_ubuntu_14_04_64.run
@@ -1,10 +1,10 @@
#
-# Ubuntu 64bit in VirtualBox
+# Ubuntu 14.04 64bit in VBox 4
#
assert_spec 64bit
-set flavor "ubuntu_64"
+set flavor "ubuntu_14_04_64"
set use_vbox4 1
set use_vbox5 0
diff --git a/repos/ports/run/vbox4_ubuntu_16_04_32.run b/repos/ports/run/vbox4_ubuntu_16_04_32.run
new file mode 100644
index 000000000..6595dadb7
--- /dev/null
+++ b/repos/ports/run/vbox4_ubuntu_16_04_32.run
@@ -0,0 +1,22 @@
+#
+# Ubuntu 16.04 32bit in VBox 4
+#
+
+set flavor "ubuntu_16_04_32"
+
+set use_vbox4 1
+set use_vbox5 0
+
+set use_rumpfs 1
+# Write overlay only into ram
+set use_ram_fs 1
+# However read initial overlay from disk
+set use_overlay_from_disk 1
+
+set use_usb 1
+set use_ps2 [have_spec ps2]
+
+set use_vms 1
+set use_cpu_load 1
+
+source ${genode_dir}/repos/ports/run/vbox_win.inc
diff --git a/repos/ports/run/vbox4_ubuntu_16_04_64.run b/repos/ports/run/vbox4_ubuntu_16_04_64.run
new file mode 100644
index 000000000..4081b2e10
--- /dev/null
+++ b/repos/ports/run/vbox4_ubuntu_16_04_64.run
@@ -0,0 +1,24 @@
+#
+# Ubuntu 16.04 64bit in VBox 4
+#
+
+assert_spec 64bit
+
+set flavor "ubuntu_16_04_64"
+
+set use_vbox4 1
+set use_vbox5 0
+
+set use_rumpfs 1
+# Write overlay only into ram
+set use_ram_fs 1
+# However read initial overlay from disk
+set use_overlay_from_disk 1
+
+set use_usb 1
+set use_ps2 [have_spec ps2]
+
+set use_vms 1
+set use_cpu_load 1
+
+source ${genode_dir}/repos/ports/run/vbox_win.inc
diff --git a/repos/ports/run/vbox5_ubuntu_14_04_32.run b/repos/ports/run/vbox5_ubuntu_14_04_32.run
new file mode 100644
index 000000000..c9700f7f5
--- /dev/null
+++ b/repos/ports/run/vbox5_ubuntu_14_04_32.run
@@ -0,0 +1,22 @@
+#
+# Ubuntu 14.04 32bit in VBox 5
+#
+
+set flavor "ubuntu_14_04_32"
+
+set use_vbox4 0
+set use_vbox5 1
+
+set use_rumpfs 1
+# Write overlay only into ram
+set use_ram_fs 1
+# However read initial overlay from disk
+set use_overlay_from_disk 1
+
+set use_usb 1
+set use_ps2 [have_spec ps2]
+
+set use_vms 1
+set use_cpu_load 1
+
+source ${genode_dir}/repos/ports/run/vbox_win.inc
diff --git a/repos/ports/run/vbox5_ubuntu_64.run b/repos/ports/run/vbox5_ubuntu_14_04_64.run
similarity index 83%
rename from repos/ports/run/vbox5_ubuntu_64.run
rename to repos/ports/run/vbox5_ubuntu_14_04_64.run
index 5b29a24ee..03419ea16 100644
--- a/repos/ports/run/vbox5_ubuntu_64.run
+++ b/repos/ports/run/vbox5_ubuntu_14_04_64.run
@@ -1,10 +1,10 @@
#
-# Ubuntu 64bit in VirtualBox
+# Ubuntu 14.04 64bit in VBox 5
#
assert_spec 64bit
-set flavor "ubuntu_64"
+set flavor "ubuntu_14_04_64"
set use_vbox4 0
set use_vbox5 1
diff --git a/repos/ports/run/vbox5_ubuntu_16_04_32.run b/repos/ports/run/vbox5_ubuntu_16_04_32.run
new file mode 100644
index 000000000..81807c4fc
--- /dev/null
+++ b/repos/ports/run/vbox5_ubuntu_16_04_32.run
@@ -0,0 +1,22 @@
+#
+# Ubuntu 16.04 32bit in VBox 5
+#
+
+set flavor "ubuntu_16_04_32"
+
+set use_vbox4 0
+set use_vbox5 1
+
+set use_rumpfs 1
+# Write overlay only into ram
+set use_ram_fs 1
+# However read initial overlay from disk
+set use_overlay_from_disk 1
+
+set use_usb 1
+set use_ps2 [have_spec ps2]
+
+set use_vms 1
+set use_cpu_load 1
+
+source ${genode_dir}/repos/ports/run/vbox_win.inc
diff --git a/repos/ports/run/vbox5_ubuntu_16_04_64.run b/repos/ports/run/vbox5_ubuntu_16_04_64.run
new file mode 100644
index 000000000..95893abc7
--- /dev/null
+++ b/repos/ports/run/vbox5_ubuntu_16_04_64.run
@@ -0,0 +1,24 @@
+#
+# Ubuntu 16.04 64bit in VBox 5
+#
+
+assert_spec 64bit
+
+set flavor "ubuntu_16_04_64"
+
+set use_vbox4 0
+set use_vbox5 1
+
+set use_rumpfs 1
+# Write overlay only into ram
+set use_ram_fs 1
+# However read initial overlay from disk
+set use_overlay_from_disk 1
+
+set use_usb 1
+set use_ps2 [have_spec ps2]
+
+set use_vms 1
+set use_cpu_load 1
+
+source ${genode_dir}/repos/ports/run/vbox_win.inc
diff --git a/repos/ports/run/vbox_win.inc b/repos/ports/run/vbox_win.inc
index 7ca5b0154..2e867668f 100644
--- a/repos/ports/run/vbox_win.inc
+++ b/repos/ports/run/vbox_win.inc
@@ -328,7 +328,11 @@ run_genode_until {\[init -\> vbox.*].*Guest Additions capability report:.*seamle
if {$use_rumpfs} {
set wait_timeout 170
for { set i 1 } { $i <= $use_vms } { incr i } {
- run_genode_until {\[init -\> vbox.*].*Guest Additions capability report:.*seamless: yes, hostWindowMapping: no, graphics: yes} $wait_timeout [output_spawn_id]
+ if { [string match "ubuntu*" $flavor] } {
+ run_genode_until {\[init -\> vbox.*].*Guest Additions capability report:.*seamless: yes, hostWindowMapping: no, graphics: no} $wait_timeout [output_spawn_id]
+ } else {
+ run_genode_until {\[init -\> vbox.*].*Guest Additions capability report:.*seamless: yes, hostWindowMapping: no, graphics: yes} $wait_timeout [output_spawn_id]
+ }
}
} else {
run_genode_until {\[init\] child "vbox1" exited with exit value 0} 60 [output_spawn_id]
diff --git a/repos/ports/run/vm_ubuntu_14_04_32.vbox b/repos/ports/run/vm_ubuntu_14_04_32.vbox
new file mode 100644
index 000000000..9b181f220
--- /dev/null
+++ b/repos/ports/run/vm_ubuntu_14_04_32.vbox
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/repos/ports/run/vm_ubuntu_64.vbox b/repos/ports/run/vm_ubuntu_14_04_64.vbox
similarity index 81%
rename from repos/ports/run/vm_ubuntu_64.vbox
rename to repos/ports/run/vm_ubuntu_14_04_64.vbox
index e2e56ae23..7e70bb52b 100644
--- a/repos/ports/run/vm_ubuntu_64.vbox
+++ b/repos/ports/run/vm_ubuntu_14_04_64.vbox
@@ -6,33 +6,30 @@
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
-
+
-
-
+
+
-
-
-
-
+
-
+
-
+
@@ -93,7 +90,7 @@
-
+
diff --git a/repos/ports/run/vm_ubuntu_16_04_32.vbox b/repos/ports/run/vm_ubuntu_16_04_32.vbox
new file mode 100644
index 000000000..a88380470
--- /dev/null
+++ b/repos/ports/run/vm_ubuntu_16_04_32.vbox
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/repos/ports/run/vm_ubuntu_16_04_64.vbox b/repos/ports/run/vm_ubuntu_16_04_64.vbox
new file mode 100644
index 000000000..dee5e940a
--- /dev/null
+++ b/repos/ports/run/vm_ubuntu_16_04_64.vbox
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tool/autopilot.list b/tool/autopilot.list
index 9fa04a779..b6ebb20cc 100644
--- a/tool/autopilot.list
+++ b/tool/autopilot.list
@@ -47,7 +47,10 @@ blk_cache
rump_ext2
thread
pthread
-vbox4_ubuntu_64
+vbox4_ubuntu_14_04_32
+vbox4_ubuntu_14_04_64
+vbox4_ubuntu_16_04_32
+vbox4_ubuntu_16_04_64
vbox4_win7_32
vbox4_win7_64
vbox4_win7_64_raw
@@ -55,7 +58,10 @@ vbox4_win7_32_share
vbox4_win7_64_multiple
vbox4_win81_64
vbox4_win10_64
-vbox5_ubuntu_64
+vbox5_ubuntu_14_04_32
+vbox5_ubuntu_14_04_64
+vbox5_ubuntu_16_04_32
+vbox5_ubuntu_16_04_64
vbox5_win7_32
vbox5_win7_64
vbox5_win7_64_share